shawenguan 2 년 전
부모
커밋
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;