chengjie 4 달 전
부모
커밋
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 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;