|
|
@@ -12,7 +12,7 @@ class ShopCouponService extends BaseService
|
|
|
|
|
|
public static function getCouponList($where)
|
|
|
{
|
|
|
- $data = ShopCouponClass::getList('*', $where, 'addTime ASC');
|
|
|
+ $data = ShopCouponClass::getList('*', $where, 'addTime DESC');
|
|
|
$list = isset($data['list']) && !empty($data['list']) ? $data['list'] : [];
|
|
|
if (empty($list)) {
|
|
|
return $data;
|