|
@@ -69,9 +69,9 @@ public class WxaUserApiController extends WxaController {
|
|
|
if (doctorsWechatfind == null) {
|
|
|
DoctorsWechat doctorsWechat = new DoctorsWechat();
|
|
|
doctorsWechat.setWxaOpenid(apiResult.getStr("openid"));
|
|
|
- if (!StrKit.isBlank(apiResult.getStr("unionid"))) {
|
|
|
- doctorsWechat.setUnionid(apiResult.getStr("unionid"));
|
|
|
- }
|
|
|
+// if (!StrKit.isBlank(apiResult.getStr("unionid"))) {
|
|
|
+ doctorsWechat.setUnionid(apiResult.getStr("unionid")+"a");
|
|
|
+// }
|
|
|
doctorsWechat.setCreateAt(new Date());
|
|
|
doctorsWechat.setUpdateAt(new Date());
|
|
|
doctorsWechat.save();
|