Browse Source

时间选择

shish 4 năm trước cách đây
mục cha
commit
a7ddedc32a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      biz/shop/services/ShopCouponService.php

+ 1 - 1
biz/shop/services/ShopCouponService.php

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