Browse Source

1、分佣明细包含提现记录;

Lawsun_M 10 months ago
parent
commit
f402ce41ac
1 changed files with 0 additions and 2 deletions
  1. 0 2
      app/controller/home/user.js

+ 0 - 2
app/controller/home/user.js

@@ -445,7 +445,6 @@ module.exports = class UserController extends shopController {
    */
   async userCommissionLog() {
     const that = this;
-    const seq = that.app.Sequelize;
     try {
       const data = await that.ctx.validate(that.userMoneyValidate, await that.ctx.getParse());
       const selectBean = await that.app.comoBean.instance(data, {
@@ -454,7 +453,6 @@ module.exports = class UserController extends shopController {
         order: [ [ 'log_id', 'desc' ] ],
         include: [ {
           model: that.app.model.Orders,
-          where: { order_status: { [seq.Op.in]: [ 1, 2, 3, 4 ] } },
           attributes: [ 'order_id', 'order_status', 'order_amount', ],
           as: 'order'
         } ],