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;