lrf 2 tahun lalu
induk
melakukan
f056776f28
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  1. 0 1
      app/service/user/cashBack.js

+ 0 - 1
app/service/user/cashBack.js

@@ -15,7 +15,6 @@ class CashBackService extends CrudService {
   async computedTotal({ customer }) {
     assert(customer, '缺少用户信息');
     const res = await this.model.find({ inviter: customer });
-    console.log(res);
     const total = res.reduce((p, n) => {
       let money = n.money;
       if (!(n.source === '0' || n.source === '1')) money = -money;