|
@@ -117,52 +117,37 @@ public class ZskkConfig extends JFinalConfig {
|
|
|
* 2:false采用明文模式,同时也支持混合模式
|
|
|
*/
|
|
|
ac_zskk.setEncryptMessage(Boolean.FALSE);
|
|
|
+ ApiConfigKit.putApiConfig(ac_zskk);
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 多个公众号时,重复调用ApiConfigKit.putApiConfig(ac)依次添加即可,第一个添加的是默认。
|
|
|
*/
|
|
|
// 黑龙江省电子胶片平台
|
|
|
- ApiConfigKit.putApiConfig(ac_zskk);
|
|
|
- ApiConfig ac_hlj = new ApiConfig();
|
|
|
- ac_hlj.setToken(PropKit.get("token_hlj"));
|
|
|
- ac_hlj.setAppId(PropKit.get("appId_hlj"));
|
|
|
- ac_hlj.setAppSecret(PropKit.get("appSecret_hlj"));
|
|
|
- ac_hlj.setEncryptMessage(Boolean.FALSE);
|
|
|
- ApiConfigKit.putApiConfig(ac_hlj);
|
|
|
+// ApiConfigKit.putApiConfig(ac_zskk);
|
|
|
+// ApiConfig ac_hlj = new ApiConfig();
|
|
|
+// ac_hlj.setToken(PropKit.get("token_hlj"));
|
|
|
+// ac_hlj.setAppId(PropKit.get("appId_hlj"));
|
|
|
+// ac_hlj.setAppSecret(PropKit.get("appSecret_hlj"));
|
|
|
+// ac_hlj.setEncryptMessage(Boolean.FALSE);
|
|
|
+// ApiConfigKit.putApiConfig(ac_hlj);
|
|
|
|
|
|
- ApiConfigKit.putApiConfig(ac_zskk);
|
|
|
-
|
|
|
- // guanying
|
|
|
- ApiConfig ac_zskk2 = new ApiConfig();
|
|
|
- ac_zskk2.setToken(PropKit.get("token_zskk2"));
|
|
|
- ac_zskk2.setAppId(PropKit.get("appId_zskk2"));
|
|
|
- ac_zskk2.setAppSecret(PropKit.get("appSecret_zskk2"));
|
|
|
- ac_zskk2.setEncryptMessage(Boolean.FALSE);
|
|
|
- ApiConfigKit.putApiConfig(ac_zskk2);
|
|
|
|
|
|
// 辽宁省电子胶片平台
|
|
|
- ApiConfig ac_ln = new ApiConfig();
|
|
|
- ac_ln.setToken(PropKit.get("token_ln"));
|
|
|
- ac_ln.setAppId(PropKit.get("appId_ln"));
|
|
|
- ac_ln.setAppSecret(PropKit.get("appSecret_ln"));
|
|
|
- ac_ln.setEncryptMessage(Boolean.FALSE);
|
|
|
- ApiConfigKit.putApiConfig(ac_ln);
|
|
|
+// ApiConfig ac_ln = new ApiConfig();
|
|
|
+// ac_ln.setToken(PropKit.get("token_ln"));
|
|
|
+// ac_ln.setAppId(PropKit.get("appId_ln"));
|
|
|
+// ac_ln.setAppSecret(PropKit.get("appSecret_ln"));
|
|
|
+// ac_ln.setEncryptMessage(Boolean.FALSE);
|
|
|
+// ApiConfigKit.putApiConfig(ac_ln);
|
|
|
|
|
|
// 河南省电子胶片平台
|
|
|
- ApiConfig ac_hn = new ApiConfig();
|
|
|
- ac_hn.setToken(PropKit.get("token_hn"));
|
|
|
- ac_hn.setAppId(PropKit.get("appId_hn"));
|
|
|
- ac_hn.setAppSecret(PropKit.get("appSecret_hn"));
|
|
|
- ac_hn.setEncryptMessage(Boolean.FALSE);
|
|
|
- ApiConfigKit.putApiConfig(ac_hn);
|
|
|
-
|
|
|
- // ceshi
|
|
|
-// ApiConfig ac_cs = new ApiConfig();
|
|
|
-// ac_cs.setToken(PropKit.get("token_cs"));
|
|
|
-// ac_cs.setAppId(PropKit.get("appId_cs"));
|
|
|
-// ac_cs.setAppSecret(PropKit.get("appSecret_cs"));
|
|
|
-// ac_ln.setEncryptMessage(Boolean.FALSE);
|
|
|
-// ApiConfigKit.putApiConfig(ac_cs);
|
|
|
+// ApiConfig ac_hn = new ApiConfig();
|
|
|
+// ac_hn.setToken(PropKit.get("token_hn"));
|
|
|
+// ac_hn.setAppId(PropKit.get("appId_hn"));
|
|
|
+// ac_hn.setAppSecret(PropKit.get("appSecret_hn"));
|
|
|
+// ac_hn.setEncryptMessage(Boolean.FALSE);
|
|
|
+// ApiConfigKit.putApiConfig(ac_hn);
|
|
|
|
|
|
/**
|
|
|
* 1.9 新增LocalTestTokenCache用于本地和线上同时使用一套appId时避免本地将线上AccessToken冲掉
|