|
@@ -413,6 +413,10 @@ public class LoginAction implements IMINAction {
|
|
|
String userId = response2.getUserId();
|
|
|
res.set("openId", userId);
|
|
|
res.set("headImgurl", avatar);
|
|
|
+ if(CommonUtil.isEmpty(nickName)){
|
|
|
+ String perName = Service.lookup(IMINDataBaseService.class).getMybatisMapper(SequenceMapper.class).getSequence("VM_PERSON_INF_NAME");
|
|
|
+ nickName = "用户".concat(perName);
|
|
|
+ }
|
|
|
res.set("nickName", nickName);
|
|
|
}
|
|
|
|