|
|
|
@@ -116,8 +116,9 @@ public class WeappController { |
|
|
|
return AjaxResult.error("WeChatUserInfo解析错误"); |
|
|
|
} |
|
|
|
|
|
|
|
log.info("微信用户信息:{}", userInfo); |
|
|
|
R<SysEnterpriseStaff> staff = tenantService.existStaff(userInfo.getPhoneNumber(), SecurityConstants.INNER); |
|
|
|
log.info("微信用户信息:{}, phone:{}", userInfo, userInfo.getPurePhoneNumber()); |
|
|
|
R<SysEnterpriseStaff> staff = tenantService.existStaff(userInfo.getPurePhoneNumber(), SecurityConstants.INNER); |
|
|
|
log.info("微信对应用户 staff:{}", staff); |
|
|
|
String phone = null; |
|
|
|
if (staff.getData() == null) { |
|
|
|
SysEnterpriseStaff staff1 = new SysEnterpriseStaff(); |
|
|
|
|