修改第三方登录 修改企业微信小程序登录

This commit is contained in:
2022-05-24 18:50:16 +08:00
parent 04bed3ba3d
commit 2d23f468df
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);