shawenguan 1 년 전
부모
커밋
d253893f0c
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      Scripts/pingan/pinganIkea.js

+ 1 - 4
Scripts/pingan/pinganIkea.js

@@ -795,13 +795,10 @@ function seekWidgets(widgets, namePaths, layer = 0) {
 
 async function doGrabCoupon(activityCode, activityValue) {
     let result = await queryCustomerActivityStatus(activityCode, activityValue);
-    magicJS.logger.info(`doGrabCoupon test#0`);
     if (result) {
-        result.responseCode == '000000';
-        magicJS.logger.info(`doGrabCoupon test#1`);
+        result.responseCode = '000000';
     }
     if (result && result.responseCode == '000000') {
-        magicJS.logger.info(`doGrabCoupon test#2`);
         result = await sendCustomerOffer(activityCode, activityValue);
     }
     return result;