fix
This commit is contained in:
@@ -44,8 +44,6 @@ public class WxCommonController {
|
|||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private ISysAdministrativeAreaDictInfoService areaDictInfoService;
|
private ISysAdministrativeAreaDictInfoService areaDictInfoService;
|
||||||
|
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
WxAccessTokenService wxAccessTokenService;
|
WxAccessTokenService wxAccessTokenService;
|
||||||
@Resource
|
@Resource
|
||||||
|
|||||||
@@ -73,6 +73,11 @@ public class WxOauthService {
|
|||||||
clerkUserInfoService.create(entity);
|
clerkUserInfoService.create(entity);
|
||||||
return entity.getId();
|
return entity.getId();
|
||||||
} else {
|
} else {
|
||||||
|
PlayClerkUserInfoEntity entity = new PlayClerkUserInfoEntity();
|
||||||
|
entity.setId(item.getId());
|
||||||
|
entity.setAvatar(userInfo.getHeadImgUrl());
|
||||||
|
entity.setWeiChatAvatar(userInfo.getHeadImgUrl());
|
||||||
|
clerkUserInfoService.updateById(entity);
|
||||||
return item.getId();
|
return item.getId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user