Forráskód Böngészése

重置服务号appSecret

lighter 1 éve
szülő
commit
0ea4da8a61

+ 1 - 1
pom.xml

@@ -10,7 +10,7 @@
     </parent>
     <groupId>thyyxxk</groupId>
     <artifactId>wxservice-server</artifactId>
-    <version>11.4</version>
+    <version>11.5</version>
     <name>wxservice-server</name>
     <description>server for wxservice-web</description>
 

+ 1 - 1
src/main/java/thyyxxk/wxservice_server/scheduled/GetWeChatAccessTokenTask.java

@@ -68,7 +68,7 @@ public class GetWeChatAccessTokenTask {
         return ResultVoUtil.success();
     }
 
-    @Scheduled(fixedRate = 3580 * 1000)
+    @Scheduled(fixedRate = 6900 * 1000)
     public void getAccessToken() {
         if (canScheduleRun && production) {
             RestTemplate restTemplate = new RestTemplate();

+ 5 - 3
src/main/resources/weChatOfficialAccounts.properties

@@ -3,7 +3,7 @@ access_token=
 ticket=
 
 appId=wxbde6b16acad84204
-appSecret=57026648f9a5771f2a5deb34ef5212dc
+appSecret=923225c842f72c6cfa2c2530031db70f
 mchId=1574204121
 mchKey=lilaiwflzIOLJI2320JLZL2Llisd02ak
 mchApiV3Key=zxkkOIL9Z909lkjl2lzczi2KLsol2wct
@@ -16,8 +16,10 @@ qywxCorpId=wwf0b23c8b36012b34
 qywxSecret=wpHuNePfiDyotmpXjy5hUYGF0w8Ks5OPHSQp22z8oBk
 qywxToken=
 
-appletAppId=wxb36274d68249fa33
-appletAppSecret=e1063b25d70639115b7a22549c81f817
+#appletAppId=wxb36274d68249fa33
+#appletAppSecret=e1063b25d70639115b7a22549c81f817
+appletAppId=wx8b231cd4c8e3ed95
+appletAppSecret=aacfee40027de8b4f4ea99dda3b4367f
 
 appletMallAppId=wx5c6d5108df7917ff
 appletMallAppSecret=d2b4749aa2aef905e2134c64df5b22b2