Merge branch 'zyh' into zyj

This commit is contained in:
小久哥
2022-05-26 15:14:41 +08:00
14 changed files with 80 additions and 36 deletions
@@ -21,16 +21,18 @@ public class WxCpConfigure {
private String farmSecret;
@Bean
@Scope("singleton")
@Scope("prototype")
public WxCpService wxCpService(){
log.info("333:{}",corpId);
WxCpDefaultConfigImpl config = new WxCpDefaultConfigImpl();
config.setCorpId("wwb9f9734e8e124761");
config.setAgentId(1000033);
config.setCorpSecret("UDSKsn0_LAPYqSwjH9E-AfY_X40lq0sormfe1yV_6Gc");
// config.setCorpId("wwb9f9734e8e124761");
// config.setCorpSecret("B2bdszjVvby6jfbZf-TQOGeslpOEzLFUYWHldYxtkWA");
config.setCorpId("ww17f8d10783494584");
config.setCorpSecret("i5t-rh8bXeNCgihcYPrG9ZPpWkivzPJ69sv570osk6I");
config.setAgentId(1000036);
WxCpServiceImpl wxCpService = new WxCpServiceImpl();
wxCpService.setWxCpConfigStorage(config);