Commit 47aa0b68 by 翁国栋 Committed by 284718418@qq.com

运营后台--

保险列表
parent ed9f902d
...@@ -37,7 +37,7 @@ public class SuperLoginController { ...@@ -37,7 +37,7 @@ public class SuperLoginController {
@Autowired @Autowired
private RedisUtil redisUtil; private RedisUtil redisUtil;
@PostMapping(value = "/adminLogin") @PostMapping(value = "/adminLogin")
@ApiOperation(value = "运营后台登录", httpMethod = "POST", notes = "接口发布说明") @ApiOperation(value = "运营后台登录", httpMethod = "Post", notes = "接口发布说明")
public Result<Object> adminLogin(@RequestBody EntRegisterDto entRegisterDto, HttpServletRequest request){ public Result<Object> adminLogin(@RequestBody EntRegisterDto entRegisterDto, HttpServletRequest request){
String ip = UserIp.getIpAddr(request); String ip = UserIp.getIpAddr(request);
AdminAccount adminAccount = AdminAccount.builder().build().selectOne(new QueryWrapper<AdminAccount>().lambda() AdminAccount adminAccount = AdminAccount.builder().build().selectOne(new QueryWrapper<AdminAccount>().lambda()
...@@ -53,7 +53,7 @@ public class SuperLoginController { ...@@ -53,7 +53,7 @@ public class SuperLoginController {
return ResultUtil.data(adminAccount); return ResultUtil.data(adminAccount);
}; };
@PostMapping(value = "/adminOutLogin") @PostMapping(value = "/adminOutLogin")
@ApiOperation(value = "运营后台退出", httpMethod = "POST", notes = "接口发布说明") @ApiOperation(value = "运营后台退出", httpMethod = "Post", notes = "接口发布说明")
public Result<String> adminOutLogin(HttpServletRequest request){ public Result<String> adminOutLogin(HttpServletRequest request){
//session= request.getSession(); //session= request.getSession();
// session.removeAttribute("ai"); // session.removeAttribute("ai");
......
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