Commit 2ef2bfd1 by 段启岩

修改用户密码认证路径

parent b7bbf7e7
...@@ -35,8 +35,8 @@ public class AuthenticationApi { ...@@ -35,8 +35,8 @@ public class AuthenticationApi {
} }
@Anonymous @Anonymous
@ApiOperation(value = "本地认证") @ApiOperation(value = "账号密码认证")
@PostMapping("/local") @PostMapping("/password")
public Response<AuthenticationResult> localAuth(@RequestBody @Valid @ApiParam("本地认证表单") LocalAuthFrom localAuthFrom) { public Response<AuthenticationResult> localAuth(@RequestBody @Valid @ApiParam("本地认证表单") LocalAuthFrom localAuthFrom) {
AuthenticationResult authenticationResult = null; AuthenticationResult authenticationResult = null;
try { try {
......
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