审计代码优化
This commit is contained in:
parent
c0b425737f
commit
f2a83a6414
|
|
@ -15,6 +15,7 @@ import com.bonus.sgzb.system.api.RemoteUserService;
|
|||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.bonus.sgzb.auth.service.SysLoginService;
|
||||
import com.bonus.sgzb.common.core.domain.R;
|
||||
|
|
@ -36,7 +37,8 @@ import java.util.Map;
|
|||
@Slf4j
|
||||
public class TokenController {
|
||||
|
||||
private final String USER_PASSWORD = "NwCc@2024*";
|
||||
@Value("${userPassword}")
|
||||
private String USER_PASSWORD;
|
||||
|
||||
private final String privateKey = "MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEAqhHyZfSsYourNxaY7Nt+PrgrxkiA50efORdI5U5lsW79MmFnusUA355oaSXcLhu5xxB38SMSyP2KvuKNPuH3owIDAQABAkAfoiLyL+Z4lf4Myxk6xUDgLaWGximj20CUf+5BKKnlrK+Ed8gAkM0HqoTt2UZwA5E2MzS4EI2gjfQhz5X28uqxAiEA3wNFxfrCZlSZHb0gn2zDpWowcSxQAgiCstxGUoOqlW8CIQDDOerGKH5OmCJ4Z21v+F25WaHYPxCFMvwxpcw99EcvDQIgIdhDTIqD2jfYjPTY8Jj3EDGPbH2HHuffvflECt3Ek60CIQCFRlCkHpi7hthhYhovyloRYsM+IS9h/0BzlEAuO0ktMQIgSPT3aFAgJYwKpqRYKlLDVcflZFCKY7u3UP8iWi1Qw0Y=";
|
||||
|
||||
|
|
|
|||
|
|
@ -29,12 +29,12 @@ public class RegisterForms extends BaseEntity {
|
|||
* 登录密码
|
||||
*/
|
||||
@ApiModelProperty(name = "userPassword", value = "登录密码")
|
||||
private String userPassword;
|
||||
private transient String userPassword;
|
||||
/**
|
||||
* 确认密码
|
||||
*/
|
||||
@ApiModelProperty(name = "againPassword", value = "确认密码")
|
||||
private String againPassword;
|
||||
private transient String againPassword;
|
||||
/**
|
||||
* 手机号码
|
||||
*/
|
||||
|
|
@ -83,13 +83,13 @@ public class RegisterForms extends BaseEntity {
|
|||
/**
|
||||
* 是否原有用户
|
||||
*/
|
||||
@ApiModelProperty(name = "isOriginalUser",value = "是否原有用户")
|
||||
@ApiModelProperty(name = "isOriginalUser", value = "是否原有用户")
|
||||
private Integer isOriginalUser;
|
||||
|
||||
/**
|
||||
* 南网 外部关联Id(集成平台联调Id)
|
||||
*/
|
||||
@ApiModelProperty(name = "externalId",value = "南网外部关联Id(集成平台联调Id)")
|
||||
@ApiModelProperty(name = "externalId", value = "南网外部关联Id(集成平台联调Id)")
|
||||
private String externalId;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ public class UserAccount extends BaseEntity {
|
|||
/**
|
||||
* 密码
|
||||
*/
|
||||
private String password;
|
||||
private transient String password;
|
||||
/**
|
||||
* 电话
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue