lrf 2 tahun lalu
induk
melakukan
df9b58dc94
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app/service/business/payOrder.js

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

@@ -24,6 +24,7 @@ class PayOrderService extends CrudService {
   }
 
   async beforeCreate(data) {
+    console.log(data);
     if (!_.get(data, 'order_no')) data.order_no = this.getOrderNo();
     const { data: nd, next } = await this.checkSurplus(data);
     if (!next) throw new BusinessError(0, '扣除余额成功', nd);