|
|
@@ -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;
|