wxcp配置

This commit is contained in:
小久哥
2022-05-24 11:40:33 +08:00
parent 70623c5712
commit 04bed3ba3d
3 changed files with 10 additions and 3 deletions
@@ -13,9 +13,11 @@ import org.springframework.context.annotation.Scope;
@Slf4j
public class WxCpConfigure {
@Value("${corpId}")
@Value("${wxcp.corpId}")
private String corpId;
@Value("${wxcp.farmAppid}")
private String farmAppid;
@Value("${wxcp.farmSecret}")
private String farmSecret;
@Bean