jason 5 месяцев назад
Родитель
Сommit
9b4e12b3bc
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/api/controller/Inventory.php

+ 1 - 0
app/api/controller/Inventory.php

@@ -67,6 +67,7 @@ class Inventory extends Base
                 ->where($where)
                 //->whereTime('a.createtime', '-2 days')
                 ->field('a.*,b.title')
+                ->order('a.id desc')
                 ->select();
         $this->success('ok', $list);
     }