From 6f6c946b2d0ebd50c8d3d9881cf1e1f4727d95e9 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 17 Sep 2020 18:04:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=85=8D=E9=80=81=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/data/controller/ShopTruckRegion.php | 45 +++++++++++++++ app/data/view/shop_truck_company/index.html | 3 - app/data/view/shop_truck_region/index.html | 60 ++++++++++++++++++++ app/data/view/shop_truck_template/index.html | 3 - 4 files changed, 105 insertions(+), 6 deletions(-) create mode 100644 app/data/controller/ShopTruckRegion.php create mode 100644 app/data/view/shop_truck_region/index.html diff --git a/app/data/controller/ShopTruckRegion.php b/app/data/controller/ShopTruckRegion.php new file mode 100644 index 000000000..7847ad2c6 --- /dev/null +++ b/app/data/controller/ShopTruckRegion.php @@ -0,0 +1,45 @@ +title = '配送区域管理'; + $query = $this->_query($this->table); + $query->field('id,pid,name')->page(false); + } + + /** + * 数据列表处理 + * @param $data + */ + protected function _page_filter(&$data) + { + $data = DataExtend::arr2tree($data); + } + +} \ No newline at end of file diff --git a/app/data/view/shop_truck_company/index.html b/app/data/view/shop_truck_company/index.html index 26aa1a1a9..bd937f702 100644 --- a/app/data/view/shop_truck_company/index.html +++ b/app/data/view/shop_truck_company/index.html @@ -19,9 +19,6 @@ {/block} {block name="content"} -
- 注意:快递公司配置不能随意修改或删除,会影响到物流路径查询!如需添加新快递请联系客服! -