chengjie 4 kuukautta sitten
vanhempi
commit
aeb34456cc
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/api/common/commonController.js

+ 2 - 0
src/api/common/commonController.js

@@ -290,6 +290,8 @@ export const MsgSecCheck2 = async (ctx) => {
290 290
 
291 291
 function getAppIDAndSecret(ProgramID){
292 292
     let appid = '', secret = '';
293
+    if (!ProgramID)
294
+        ProgramID=166;
293 295
     switch (ProgramID.toString()) {
294 296
         case '99':
295 297
             appid = config.wx.phonics_appid;