bianjunhui 13 jam lalu
induk
melakukan
d3d2bf999b

+ 1 - 1
application/api/controller/Index.php

@@ -33,7 +33,7 @@ class Index extends Api
         unset($where);
         $where['fid']=$list['id'];
         $where['status']='normal';
-        $list['details']=Db::name('functional_del')->where($where)->select();
+        $list['details']=Db::name('functional_del')->where($where)->order('weigh desc')->select();
         $this->success('请求成功',$list);
     }
 }

+ 0 - 1
public/assets/js/backend/functional/deal.js

@@ -31,7 +31,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {checkbox: true},
                         {field: 'id', title: __('Id')},
                         {field: 'name', title: __('名称'), operate: 'LIKE'},
-                        {field: 'location', title: __('位置'), operate: 'LIKE'},
                         {field: 'product_ids', title: __('适用产品'), operate: false},
                         {field: 'url', title: __('Url'), operate: 'LIKE', formatter: Table.api.formatter.url},
                         {field: 'image', title: __('PC端图片'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},