소스 검색

fix 余额

he2802 4 년 전
부모
커밋
652ff73c2d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxLoginService.java

+ 1 - 1
zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxLoginService.java

@@ -201,7 +201,7 @@ public class WxLoginService
         String unionId = String.valueOf(jsonObject1.get("unionid"));
         User user = iUserService.queryByUnionId(unionId);
         if(user==null){
-            throw new CustomException("您尚未注册,请前往小程序注册"+unionId);
+            throw new CustomException(openId+"您尚未注册,请前往小程序注册"+unionId);
         }
         if(!Validator.isNotNull(user.getGzhOpenId())){
             user.setGzhOpenId(openId);