dingxin 6 vuotta sitten
vanhempi
commit
76981eade5

+ 1
- 2
CODE/smart-community/app-api/src/main/java/com/community/huiju/controller/UserController.java Näytä tiedosto

41
 
41
 
42
     @ApiOperation(value = "登录", notes = "根据登录名和验证码")
42
     @ApiOperation(value = "登录", notes = "根据登录名和验证码")
43
     @ApiImplicitParams({
43
     @ApiImplicitParams({
44
-            @ApiImplicitParam(paramType = "path",dataType = "String",name = "communityId",value = "小区"),
45
             @ApiImplicitParam(paramType = "body",dataType = "String",name = "parameter",value = "loginName(登陆名(手机号)) code(验证码)"),
44
             @ApiImplicitParam(paramType = "body",dataType = "String",name = "parameter",value = "loginName(登陆名(手机号)) code(验证码)"),
46
             @ApiImplicitParam(paramType = "header", dataTypeClass = String.class, name = "Login-Type", value = "值为 app"),
45
             @ApiImplicitParam(paramType = "header", dataTypeClass = String.class, name = "Login-Type", value = "值为 app"),
47
     })
46
     })
50
                               @PathVariable(value = "communityId") String communityId,
49
                               @PathVariable(value = "communityId") String communityId,
51
                               HttpSession session){
50
                               HttpSession session){
52
         JSONObject jsonObject = JSONObject.parseObject(parameter);
51
         JSONObject jsonObject = JSONObject.parseObject(parameter);
53
-        ResponseBean responseBean = iTaUserService.login(jsonObject.getString("loginName"),communityId, jsonObject.getString("code"));
52
+        ResponseBean responseBean = iTaUserService.login(jsonObject.getString("loginName"),jsonObject.getString("code"));
54
         TaUserVO userVO = (TaUserVO) responseBean.getData();
53
         TaUserVO userVO = (TaUserVO) responseBean.getData();
55
 
54
 
56
         if (null != userVO) {
55
         if (null != userVO) {

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserServiceImpl.java Näytä tiedosto

115
         checkVerifyStatusUser(currentUser);
115
         checkVerifyStatusUser(currentUser);
116
 
116
 
117
         // 查询房产
117
         // 查询房产
118
-        
118
+
119
 
119
 
120
         TaUserVO taUserVO = new TaUserVO();
120
         TaUserVO taUserVO = new TaUserVO();
121
         BeanUtils.copyProperties(currentUser, taUserVO);
121
         BeanUtils.copyProperties(currentUser, taUserVO);