lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
f056776f28
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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;