chengjie месяцев назад: 6
Родитель
Сommit
aeb34456cc
1 измененных файлов с 2 добавлено и 0 удалено
  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
 function getAppIDAndSecret(ProgramID){
291
 function getAppIDAndSecret(ProgramID){
292
     let appid = '', secret = '';
292
     let appid = '', secret = '';
293
+    if (!ProgramID)
294
+        ProgramID=166;
293
     switch (ProgramID.toString()) {
295
     switch (ProgramID.toString()) {
294
         case '99':
296
         case '99':
295
             appid = config.wx.phonics_appid;
297
             appid = config.wx.phonics_appid;