mirror of
https://gitee.com/freshday/radar.git
synced 2024-11-29 18:37:42 +08:00
opts: update path.
feihu wang
This commit is contained in:
parent
ae5e78e50e
commit
06406df998
2
pom.xml
2
pom.xml
@ -20,7 +20,7 @@
|
||||
</parent>
|
||||
<groupId>com.pgmmers</groupId>
|
||||
<artifactId>radar</artifactId>
|
||||
<version>1.0.6-SNAPSHOT</version>
|
||||
<version>1.0.7-SNAPSHOT</version>
|
||||
<name>radar</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
<packaging>pom</packaging>
|
||||
|
@ -55,7 +55,7 @@ public class SysLoginApiController {
|
||||
@Autowired
|
||||
private CacheService cacheService;
|
||||
|
||||
@PostMapping("/merchant/login")
|
||||
@PostMapping("/user/login")
|
||||
public CommonResult login(String loginName, String passwd, String captcha) {
|
||||
CommonResult ret = new CommonResult();
|
||||
ret.setSuccess(false);
|
||||
@ -94,7 +94,7 @@ public class SysLoginApiController {
|
||||
return ret;
|
||||
}
|
||||
|
||||
@GetMapping("/merchant/logout")
|
||||
@GetMapping("/user/logout")
|
||||
public CommonResult logout(HttpServletRequest request) {
|
||||
CommonResult ret = new CommonResult();
|
||||
String accessToken = contextHolder.getAttributeByType("x-auth-token", String.class);
|
||||
@ -109,7 +109,7 @@ public class SysLoginApiController {
|
||||
* @return
|
||||
* @author xushuai
|
||||
*/
|
||||
@PostMapping("/merchant/regist")
|
||||
@PostMapping("/user/regist")
|
||||
public CommonResult regist(String loginName, String passwd, String verifyPasswd, String captcha, String giteeAccount) {
|
||||
CommonResult result = new CommonResult();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user