lrf 2 سال پیش
والد
کامیت
eb3f72fb41
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      app/service/business/payOrder.js

+ 0 - 3
app/service/business/payOrder.js

@@ -138,7 +138,6 @@ class PayOrderService extends CrudService {
   // 二维码扫码回调
   // 二维码扫码回调
   async nativeReturn(body) {
   async nativeReturn(body) {
     const result = _.get(body, 'result');
     const result = _.get(body, 'result');
-    console.log(result);
     if (!result) throw new BusinessError(ErrorCode.BADPARAM, '参数错误');
     if (!result) throw new BusinessError(ErrorCode.BADPARAM, '参数错误');
     const { out_trade_no: order_no, trade_state, payer } = result;
     const { out_trade_no: order_no, trade_state, payer } = result;
     const obj = {};
     const obj = {};
@@ -164,8 +163,6 @@ class PayOrderService extends CrudService {
         }
         }
       }
       }
     }
     }
-    console.log(order_no);
-    console.log(obj);
     await this.model.updateOne({ order_no }, obj);
     await this.model.updateOne({ order_no }, obj);
   }
   }
 }
 }