Commit 5f0a983e authored by 李成龙's avatar 李成龙

修改:屏蔽废弃的小程序登记接口。

parent 9dd26bd2
...@@ -90,16 +90,16 @@ public class TzsAppController { ...@@ -90,16 +90,16 @@ public class TzsAppController {
return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode)); return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode));
} }
/** // /**
* 登录 // * 登录
* @return // * @return
*/ // */
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false) // @TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@PostMapping(value = "/mobile/login") // @PostMapping(value = "/mobile/login")
@ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录") // @ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录")
public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) { // public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) {
return ResponseHelper.buildResponse(appService.login(param)); // return ResponseHelper.buildResponse(appService.login(param));
} // }
/** /**
* 小程序企业详情 * 小程序企业详情
......
...@@ -90,16 +90,16 @@ public class TzsAppController { ...@@ -90,16 +90,16 @@ public class TzsAppController {
return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode)); return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode));
} }
/** // /**
* 登录 // * 登录
* @return // * @return
*/ // */
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false) // @TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@PostMapping(value = "/mobile/login") // @PostMapping(value = "/mobile/login")
@ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录") // @ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录")
public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) { // public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) {
return ResponseHelper.buildResponse(appService.login(param)); // return ResponseHelper.buildResponse(appService.login(param));
} // }
/** /**
* 小程序企业详情 * 小程序企业详情
......
...@@ -90,16 +90,16 @@ public class TzsAppController { ...@@ -90,16 +90,16 @@ public class TzsAppController {
return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode)); return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode));
} }
/** // /**
* 登录 // * 登录
* @return // * @return
*/ // */
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false) // @TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@PostMapping(value = "/mobile/login") // @PostMapping(value = "/mobile/login")
@ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录") // @ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录")
public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) { // public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) {
return ResponseHelper.buildResponse(appService.login(param)); // return ResponseHelper.buildResponse(appService.login(param));
} // }
/** /**
* 小程序企业详情 * 小程序企业详情
......
...@@ -90,16 +90,16 @@ public class TzsAppController { ...@@ -90,16 +90,16 @@ public class TzsAppController {
return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode)); return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode));
} }
/** // /**
* 登录 // * 登录
* @return // * @return
*/ // */
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false) // @TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@PostMapping(value = "/mobile/login") // @PostMapping(value = "/mobile/login")
@ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录") // @ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录")
public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) { // public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) {
return ResponseHelper.buildResponse(appService.login(param)); // return ResponseHelper.buildResponse(appService.login(param));
} // }
/** /**
* 小程序企业详情 * 小程序企业详情
......
...@@ -90,16 +90,16 @@ public class TzsAppController { ...@@ -90,16 +90,16 @@ public class TzsAppController {
return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode)); return ResponseHelper.buildResponse(appService.getEquipInfoBySuperviseCode(supervisoryCode));
} }
/** // /**
* 登录 // * 登录
* @return // * @return
*/ // */
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false) // @TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@PostMapping(value = "/mobile/login") // @PostMapping(value = "/mobile/login")
@ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录") // @ApiOperation(httpMethod = "POST", value = "小程序登录", notes = "小程序登录")
public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) { // public ResponseModel<Map<String, Object>> login(@RequestBody MobileLoginParam param) {
return ResponseHelper.buildResponse(appService.login(param)); // return ResponseHelper.buildResponse(appService.login(param));
} // }
/** /**
* 小程序企业详情 * 小程序企业详情
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment