This commit is contained in:
huchuansai
2025-06-16 11:53:21 +08:00
parent d3fcd31510
commit 4935207277
2 changed files with 5 additions and 2 deletions

View File

@@ -44,8 +44,6 @@ public class WxCommonController {
@Resource @Resource
private ISysAdministrativeAreaDictInfoService areaDictInfoService; private ISysAdministrativeAreaDictInfoService areaDictInfoService;
@Resource @Resource
WxAccessTokenService wxAccessTokenService; WxAccessTokenService wxAccessTokenService;
@Resource @Resource

View File

@@ -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();
} }
} }