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

This commit is contained in:
深林孤鹰 2022-02-07 04:02:12 +00:00 committed by Gitee
parent ec68235a77
commit 2656962f5d
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');