Browse Source

!46 修正优惠券列表显示不正确
Merge pull request !46 from 深林孤鹰/N/A

吴昊天 3 years atrás
parent
commit
716058ec39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      crmeb/app/services/coupon/StoreCouponUserServices.php

+ 1 - 1
crmeb/app/services/coupon/StoreCouponUserServices.php

@@ -301,7 +301,7 @@ class StoreCouponUserServices extends BaseServices
                 break;
         }
         [$page, $limit] = $this->getPageValue();
-        $list = $this->dao->getCouponListByOrder($where, 'status ASC,add_time DESC', $page, $limit);
+        $list = $this->dao->getCouponListByOrder($where, 'id ASC,add_time DESC', $page, $limit);
         /** @var StoreCategoryServices $categoryServices */
         $categoryServices = app()->make(StoreCategoryServices::class);
         $category = $categoryServices->getColumn([], 'pid,cate_name', 'id');