接口完善

main
cheney 11 months ago
parent 7e2f7b8e25
commit bd900855ca
  1. 2
      nakadai/src/main/java/com/huoran/nakadai/entity/PlatformTeamClassification.java
  2. 2
      nakadai/src/main/java/com/huoran/nakadai/entity/req/TeamInfo.java
  3. 4
      users/src/main/java/com/huoran/users/service/impl/HrUserAccountServiceImpl.java

@ -52,7 +52,7 @@ public class PlatformTeamClassification implements Serializable {
private String splicingLevel;
@ApiModelProperty(value = "logo_url")
private String logo_url;
private String logoUrl;
@ApiModelProperty(value = "地址")
private String address;

@ -15,7 +15,7 @@ public class TeamInfo {
private String classificationName;
@ApiModelProperty(value = "logo_url")
private String logo_url;
private String logoUrl;
@ApiModelProperty(value = "地址")
private String address;

@ -440,10 +440,10 @@ public class HrUserAccountServiceImpl extends ServiceImpl<HrUserAccountMapper, H
.eq("app_open_id", openId));
//查询用户信息
HrUserInfo hrUserInfo = hrUserInfoMapper.selectByUserId(userAccountList.get(0).getUserId());
if (hrUserInfo.getUserAvatars()!=null){
if (StringUtils.isNotBlank(url)){
hrUserInfo.setUserAvatars(url);
}
if (userName!=null){
if (StringUtils.isNotBlank(userName)){
hrUserInfo.setUserName(userName);
}
int update = hrUserInfoMapper.updateById(hrUserInfo);

Loading…
Cancel
Save