he2802 преди 4 години
родител
ревизия
104856aaa0
променени са 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("您尚未注册,请前往小程序注册");
+            throw new CustomException("您尚未注册,请前往小程序注册"+unionId);
         }
         if(!Validator.isNotNull(user.getGzhOpenId())){
             user.setGzhOpenId(openId);