Commit f84729a3 authored by 罗可心's avatar 罗可心 😕

修改登录返回信息细节

parent 65f36c39
......@@ -129,7 +129,7 @@ public class CyWxMiniServiceImpl implements CyWxMiniService {
List<UserDto> sysUsers = repositorys.selectByOpenidWx(wxOpenid);
if (CollectionUtils.isNotEmpty(sysUsers)){
if(!sysUsers.get(0).getUserType().equals(userType)){
String errMsg = sysUsers.get(0).getUserType().equals("0")? "该手机号内部员工账号" : "该手机号为外部访客账号";
String errMsg = sysUsers.get(0).getUserType().equals("0")? "该手机号内部员工账号" : "该手机号为外部访客账号";
throw new CyServiceException(500,errMsg);
}
// 2.1.2 微信登录,数据库已绑定 openId --->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment