From eb0e0847f4030ec96d18ab0e632aa1668ff6126d Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 24 六月 2021 16:55:48 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/test_esay_photo' into test_esay_photo --- springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/UserApi.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/UserApi.java b/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/UserApi.java index de3fc67..97c3079 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/UserApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/UserApi.java @@ -80,9 +80,11 @@ } if(StringUtils.isNotEmpty(userInfoAppDTO.getImagesUrl())){ loginUserInfo.setImageUrl(userInfoAppDTO.getImagesUrl()); + loginUserInfo.setNickName(null); } if(StringUtils.isNotEmpty(userInfoAppDTO.getNickName())){ loginUserInfo.setNickName(userInfoAppDTO.getNickName()); + loginUserInfo.setImageUrl(null); } return userService.putUser(loginUserInfo); } -- Gitblit v1.7.1