liuhairui 6 сар өмнө
parent
commit
b4e28799d1

+ 3 - 2
application/admin/controller/QcodeProduct.php

@@ -8,7 +8,7 @@ use app\common\controller\Backend;
 use \think\Session;
 
 /**
- * 
+ *
  *
  * @icon fa fa-circle-o
  */
@@ -125,7 +125,8 @@ class QcodeProduct extends Backend
             }
             $total = $this->model->where($where)->count();
             $list = $this->model->where($where)
-                ->order($sort,$order)
+//                ->order($sort,$order)
+                    ->order('oid_id','desc')
                 ->limit($limit)
                 ->skip($offset)
                 ->select();