Commit 7920cab0 by wuwenlong

computer order price service dev;

parent 055953c1
...@@ -43,7 +43,7 @@ public class LoginController { ...@@ -43,7 +43,7 @@ public class LoginController {
/** /**
* 手机号登录接口 * 手机号登录接口
*/ */
@ApiOperation(value = "手机号登录接口") // @ApiOperation(value = "手机号登录接口")
@RequestMapping(value = "/login/mobile", method = RequestMethod.POST) @RequestMapping(value = "/login/mobile", method = RequestMethod.POST)
public R<LoginResponse> phoneLogin(@RequestBody @Validated LoginMobileRequest loginRequest) { public R<LoginResponse> phoneLogin(@RequestBody @Validated LoginMobileRequest loginRequest) {
if("1".equals(redisUtil.frontInOutLogSwitch())) { if("1".equals(redisUtil.frontInOutLogSwitch())) {
...@@ -60,7 +60,7 @@ public class LoginController { ...@@ -60,7 +60,7 @@ public class LoginController {
/** /**
* 账号密码登录 * 账号密码登录
*/ */
@ApiOperation(value = "账号密码登录") // @ApiOperation(value = "账号密码登录")
@RequestMapping(value = "/login", method = RequestMethod.POST) @RequestMapping(value = "/login", method = RequestMethod.POST)
public R<LoginResponse> login(@RequestBody @Validated LoginRequest loginRequest) { public R<LoginResponse> login(@RequestBody @Validated LoginRequest loginRequest) {
if("1".equals(redisUtil.frontInOutLogSwitch())) { if("1".equals(redisUtil.frontInOutLogSwitch())) {
...@@ -77,7 +77,7 @@ public class LoginController { ...@@ -77,7 +77,7 @@ public class LoginController {
/** /**
* 退出登录 * 退出登录
*/ */
@ApiOperation(value = "退出") // @ApiOperation(value = "退出")
@RequestMapping(value = "/logout", method = RequestMethod.GET) @RequestMapping(value = "/logout", method = RequestMethod.GET)
public R<String> loginOut(HttpServletRequest request){ public R<String> loginOut(HttpServletRequest request){
loginService.loginOut(request); loginService.loginOut(request);
......
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