Browse Source

fix

master
liuxinxin 1 year ago
parent
commit
ea4ccc8072
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      pmapi/src/main/java/com/ningdatech/pmapi/user/controller/UserAuthController.java

+ 2
- 5
pmapi/src/main/java/com/ningdatech/pmapi/user/controller/UserAuthController.java View File

@@ -40,12 +40,9 @@ public class UserAuthController {
@ApiOperation(value = "账号密码的登陆方式")
@ApiImplicitParams({
@ApiImplicitParam(name = "username", value = "用户名", required = true, paramType = "form", dataType = "String"),
@ApiImplicitParam(name = "password", value = "密码", required = true, paramType = "form", dataType = "String"),
@ApiImplicitParam(name = "loginPlatform", value = "PC_PLATFORM PC 端,DRIVER_PLATFORM 驾驶员端,ENTERPRISE_PLATFORM 企业端"
, required = true, paramType = "form", dataType = "String")})
@ApiImplicitParam(name = "password", value = "密码", required = true, paramType = "form", dataType = "String")})
public void loginByUsernameAndPassword(@RequestParam("username") String username,
@RequestParam("password") String password,
@RequestParam("loginPlatform") String loginPlatform) {
@RequestParam("password") String password) {
// 不实现任何内容,只是为了出api文档
}



Loading…
Cancel
Save