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