|
@@ -40,12 +40,9 @@ public class UserAuthController { |
|
|
@ApiOperation(value = "账号密码的登陆方式") |
|
|
@ApiOperation(value = "账号密码的登陆方式") |
|
|
@ApiImplicitParams({ |
|
|
@ApiImplicitParams({ |
|
|
@ApiImplicitParam(name = "username", value = "用户名", required = true, paramType = "form", dataType = "String"), |
|
|
@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, |
|
|
public void loginByUsernameAndPassword(@RequestParam("username") String username, |
|
|
@RequestParam("password") String password, |
|
|
|
|
|
@RequestParam("loginPlatform") String loginPlatform) { |
|
|
|
|
|
|
|
|
@RequestParam("password") String password) { |
|
|
// 不实现任何内容,只是为了出api文档 |
|
|
// 不实现任何内容,只是为了出api文档 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|