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