Browse Source

医生主页访问BUG修复

半月无霜 4 years ago
parent
commit
381d693cfd

+ 1 - 1
ymall/src/main/java/com/liangjian11/ymall/controller/common/WechatController.java

@@ -152,7 +152,7 @@ public class WechatController {
 //    }
 
     if (identity.equals(0)) {  //用户授权
-      if (StringUtils.isBlank(userAccount.getNickname())) {
+      if (StringUtils.isNotBlank(userAccount.getNickname())) {
         response.sendRedirect(redirectPathSource.getRedirectPath(redirectCode, userAccount, id));
         return;
       }