魏超 6 anni fa
parent
commit
719697928f

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/controller/UserController.java Vedi File

@@ -61,7 +61,7 @@ public class UserController {
61 61
     }
62 62
     @ApiOperation(value = "修改手机号", notes = "修改手机号")
63 63
     @ApiImplicitParams({
64
-            @ApiImplicitParam(paramType = "body",dataType = "String",name = "phone",value = "phone:登陆(手机号),code:(手机验证码)"),
64
+            @ApiImplicitParam(paramType = "body",dataType = "String",name = "paramets",value = "phone:登陆(手机号),code:(手机验证码)"),
65 65
 
66 66
             @ApiImplicitParam(paramType = "header",dataType = "String",name = "X-Auth-Token",value = "Token"),
67 67
     })

+ 1
- 4
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java Vedi File

@@ -200,10 +200,7 @@ public class SocialServiceImpl implements SocialServiceI {
200 200
             return responseBean;
201 201
         }
202 202
 
203
-        if (Constant.EFFECTIVE.equals(taUser.getStatus())
204
-                && (Constant.RELATION.equals(sysRole.getRoleName()))
205
-                || Constant.TENANT.equals(sysRole.getRoleName())
206
-                || Constant.OWNER.equals(sysRole.getRoleName())){
203
+        if (Constant.EFFECTIVE.equals(taUser.getStatus()) && (Constant.RELATION.equals(sysRole.getRoleName()) || Constant.TENANT.equals(sysRole.getRoleName()) || Constant.OWNER.equals(sysRole.getRoleName()))){
207 204
             return insertActivitySignUp(tpActivity, communityId, userId);
208 205
         }
209 206
         responseBean.addError("9995", "无法确认您的身份,请联系物业");

+ 2
- 2
CODE/smart-community/community-common/src/main/java/com/community/commom/constant/Constant.java Vedi File

@@ -58,10 +58,10 @@ public class Constant {
58 58
     public static final String BANNER = "banner";
59 59
 
60 60
     /**有效状态**/
61
-    public static final Integer EFFECTIVE = 1;
61
+    public static final String EFFECTIVE = "1";
62 62
 
63 63
     /**无效状态**/
64
-    public static final Integer INVALID = 0;
64
+    public static final String INVALID = "0";
65 65
 
66 66
     /**业主角色**/
67 67
     public static final String OWNER = "OWNER";

BIN
CODE/smart-community/community-common/target/classes/com/community/commom/constant/Constant.class Vedi File