shawenguan 2 лет назад
Родитель
Сommit
2ebbbbaf58
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Scripts/jhsh/jhshHelper.js

+ 2 - 2
Scripts/jhsh/jhshHelper.js

@@ -79,7 +79,7 @@ function checkHandleRequest() {
         if(queryParams['txcode']){
             txcode = queryParams['txcode'];
         }
-        if('clp_service' == optType){
+        if('clp_service' == queryOptType){
             switch(txcode){
                 case 'autoLogin':
                     let DeviceId = $request.headers['DeviceId'] || $request.headers['Deviceid'] || $request.headers['deviceid'];
@@ -102,7 +102,7 @@ function checkHandleRequest() {
                 default:
                     break;
             }
-        }else if('clp_coupon' == optType){
+        }else if('clp_coupon' == queryOptType){
             let MID = $request.headers['MID'] || $request.headers['Mid'] || $request.headers['mid'];
             let obj = JSON.parse(body);
             obj['MID'] = MID;