springboot未授权访问漏洞修改
This commit is contained in:
parent
255dc9285d
commit
dedb979f63
|
|
@ -158,12 +158,12 @@ public class Constants
|
||||||
/**
|
/**
|
||||||
* 解密私钥
|
* 解密私钥
|
||||||
*/
|
*/
|
||||||
public static String privateKey;
|
public static String privateKey = "MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEAqhHyZfSsYourNxaY7Nt+PrgrxkiA50efORdI5U5lsW79MmFnusUA355oaSXcLhu5xxB38SMSyP2KvuKNPuH3owIDAQABAkAfoiLyL+Z4lf4Myxk6xUDgLaWGximj20CUf+5BKKnlrK+Ed8gAkM0HqoTt2UZwA5E2MzS4EI2gjfQhz5X28uqxAiEA3wNFxfrCZlSZHb0gn2zDpWowcSxQAgiCstxGUoOqlW8CIQDDOerGKH5OmCJ4Z21v+F25WaHYPxCFMvwxpcw99EcvDQIgIdhDTIqD2jfYjPTY8Jj3EDGPbH2HHuffvflECt3Ek60CIQCFRlCkHpi7hthhYhovyloRYsM+IS9h/0BzlEAuO0ktMQIgSPT3aFAgJYwKpqRYKlLDVcflZFCKY7u3UP8iWi1Qw0Y=";
|
||||||
|
|
||||||
@Value("${sgzb.system.privateKey}")
|
// @Value("${sgzb.system.privateKey}")
|
||||||
public void setServerPort(String privateKey){
|
// public void setServerPort(String privateKey){
|
||||||
this.privateKey= privateKey;
|
// this.privateKey= privateKey;
|
||||||
}
|
// }
|
||||||
|
|
||||||
public static final String INNER_PROTOCAL = "1"; //内部单位协议
|
public static final String INNER_PROTOCAL = "1"; //内部单位协议
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue