修改auth中的request
parent
6e2167a7f0
commit
116459d543
1
pom.xml
1
pom.xml
|
@ -57,6 +57,7 @@
|
|||
<dependency>
|
||||
<groupId>com.four</groupId>
|
||||
<artifactId>four-common-duck</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 邮箱依赖 -->
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.four.auth.controller;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import com.four.common.duck.request.RegistrationInformationRequest;
|
||||
import com.four.auth.service.SysMailService;
|
||||
import com.four.common.duck.request.RequestRegistrationInformation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
@ -25,6 +25,7 @@ import com.four.system.api.model.LoginUser;
|
|||
@RestController
|
||||
@SuppressWarnings("all")
|
||||
public class TokenController {
|
||||
|
||||
@Autowired
|
||||
private TokenService tokenService;
|
||||
|
||||
|
@ -60,7 +61,7 @@ public class TokenController {
|
|||
|
||||
return R.ok(tokenService.createToken(loginUser));
|
||||
}
|
||||
/**4
|
||||
/**
|
||||
* 用户名密码登录
|
||||
* @param form
|
||||
* @return
|
||||
|
@ -112,7 +113,6 @@ public class TokenController {
|
|||
|
||||
/**
|
||||
* 医生注册
|
||||
*
|
||||
* @param healthRegisterBody
|
||||
* @return
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue