dingxin 6 years ago
parent
commit
76981eade5

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

@@ -41,7 +41,6 @@ public class UserController extends BaseController {
41 41
 
42 42
     @ApiOperation(value = "登录", notes = "根据登录名和验证码")
43 43
     @ApiImplicitParams({
44
-            @ApiImplicitParam(paramType = "path",dataType = "String",name = "communityId",value = "小区"),
45 44
             @ApiImplicitParam(paramType = "body",dataType = "String",name = "parameter",value = "loginName(登陆名(手机号)) code(验证码)"),
46 45
             @ApiImplicitParam(paramType = "header", dataTypeClass = String.class, name = "Login-Type", value = "值为 app"),
47 46
     })
@@ -50,7 +49,7 @@ public class UserController extends BaseController {
50 49
                               @PathVariable(value = "communityId") String communityId,
51 50
                               HttpSession session){
52 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 53
         TaUserVO userVO = (TaUserVO) responseBean.getData();
55 54
 
56 55
         if (null != userVO) {

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TaUserServiceImpl.java View File

@@ -115,7 +115,7 @@ public class TaUserServiceImpl implements ITaUserService {
115 115
         checkVerifyStatusUser(currentUser);
116 116
 
117 117
         // 查询房产
118
-        
118
+
119 119
 
120 120
         TaUserVO taUserVO = new TaUserVO();
121 121
         BeanUtils.copyProperties(currentUser, taUserVO);