Browse Source

卡号去指定数字

gorden 3 months ago
parent
commit
d326c5418f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/coupon/CardController.php

+ 1 - 1
app/admin/controller/coupon/CardController.php

@@ -114,7 +114,7 @@ class CardController extends Curd
             }
         }
         if ($field) {
-            $model = $model->orderBy($field, $order);
+            $model = $model->orderBy($field, $order)->orderByDesc('card_id');
         }
         return $model;
     }