|
@@ -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) {
|