!46 修正优惠券列表显示不正确

Merge pull request !46 from 深林孤鹰/N/A
This commit is contained in:
吴昊天 2022-02-10 02:21:22 +00:00 committed by Gitee
commit 716058ec39
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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');