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