chengjie 4 months ago
parent
commit
aeb34456cc
1 changed files with 2 additions and 0 deletions
  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;