mirror of
https://gitee.com/freshday/radar.git
synced 2024-12-02 03:47:44 +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>
|
</parent>
|
||||||
<groupId>com.pgmmers</groupId>
|
<groupId>com.pgmmers</groupId>
|
||||||
<artifactId>radar</artifactId>
|
<artifactId>radar</artifactId>
|
||||||
<version>1.0.6-SNAPSHOT</version>
|
<version>1.0.7-SNAPSHOT</version>
|
||||||
<name>radar</name>
|
<name>radar</name>
|
||||||
<description>Demo project for Spring Boot</description>
|
<description>Demo project for Spring Boot</description>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
@ -55,7 +55,7 @@ public class SysLoginApiController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private CacheService cacheService;
|
private CacheService cacheService;
|
||||||
|
|
||||||
@PostMapping("/merchant/login")
|
@PostMapping("/user/login")
|
||||||
public CommonResult login(String loginName, String passwd, String captcha) {
|
public CommonResult login(String loginName, String passwd, String captcha) {
|
||||||
CommonResult ret = new CommonResult();
|
CommonResult ret = new CommonResult();
|
||||||
ret.setSuccess(false);
|
ret.setSuccess(false);
|
||||||
@ -94,7 +94,7 @@ public class SysLoginApiController {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/merchant/logout")
|
@GetMapping("/user/logout")
|
||||||
public CommonResult logout(HttpServletRequest request) {
|
public CommonResult logout(HttpServletRequest request) {
|
||||||
CommonResult ret = new CommonResult();
|
CommonResult ret = new CommonResult();
|
||||||
String accessToken = contextHolder.getAttributeByType("x-auth-token", String.class);
|
String accessToken = contextHolder.getAttributeByType("x-auth-token", String.class);
|
||||||
@ -109,7 +109,7 @@ public class SysLoginApiController {
|
|||||||
* @return
|
* @return
|
||||||
* @author xushuai
|
* @author xushuai
|
||||||
*/
|
*/
|
||||||
@PostMapping("/merchant/regist")
|
@PostMapping("/user/regist")
|
||||||
public CommonResult regist(String loginName, String passwd, String verifyPasswd, String captcha, String giteeAccount) {
|
public CommonResult regist(String loginName, String passwd, String verifyPasswd, String captcha, String giteeAccount) {
|
||||||
CommonResult result = new CommonResult();
|
CommonResult result = new CommonResult();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user