wxcp配置
This commit is contained in:
+3
-1
@@ -13,9 +13,11 @@ import org.springframework.context.annotation.Scope;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
public class WxCpConfigure {
|
public class WxCpConfigure {
|
||||||
|
|
||||||
@Value("${corpId}")
|
@Value("${wxcp.corpId}")
|
||||||
private String corpId;
|
private String corpId;
|
||||||
|
@Value("${wxcp.farmAppid}")
|
||||||
private String farmAppid;
|
private String farmAppid;
|
||||||
|
@Value("${wxcp.farmSecret}")
|
||||||
private String farmSecret;
|
private String farmSecret;
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
|||||||
+1
-1
@@ -67,7 +67,7 @@ public class AuthController {
|
|||||||
private WxCpService wxCpService;
|
private WxCpService wxCpService;
|
||||||
|
|
||||||
|
|
||||||
@Value("${farm_secret}")
|
@Value("${wxcp.farmSecret}")
|
||||||
private String farmSecret;
|
private String farmSecret;
|
||||||
|
|
||||||
@PostMapping("/login")
|
@PostMapping("/login")
|
||||||
|
|||||||
@@ -144,4 +144,9 @@ bxg:
|
|||||||
|
|
||||||
# sm.ms 图床的 token
|
# sm.ms 图床的 token
|
||||||
smms:
|
smms:
|
||||||
token: 1oOP3ykFDI0K6ifmtvU7c8Y1eTWZSlyl
|
token: 1oOP3ykFDI0K6ifmtvU7c8Y1eTWZSlyl
|
||||||
|
|
||||||
|
wxcp:
|
||||||
|
corpId: wwb9f9734e8e124761
|
||||||
|
farmAppid: 1000033
|
||||||
|
farmSecret: UDSKsn0_LAPYqSwjH9E-AfY_X40lq0sormfe1yV_6Gc
|
||||||
Reference in New Issue
Block a user