From 38772e9f135f872b43244fccaa3798eeb986f017 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Fri, 29 Mar 2019 00:22:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=86=E7=B1=BB=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/controller/Goodscategory.php | 3 +++ .../view/default/goodscategory/index.html | 23 +++++++++++++++++- application/service/GoodsService.php | 6 +++++ public/static/common/js/common.js | 24 ++++++++++++++++++- 4 files changed, 54 insertions(+), 2 deletions(-) diff --git a/application/admin/controller/Goodscategory.php b/application/admin/controller/Goodscategory.php index adcfb7e9f..83fdf6aa4 100755 --- a/application/admin/controller/Goodscategory.php +++ b/application/admin/controller/Goodscategory.php @@ -55,6 +55,9 @@ class GoodsCategory extends Common // 是否 $this->assign('common_is_text_list', lang('common_is_text_list')); + // 商品分类 + $this->assign('goods_category_list', GoodsService::GoodsCategory()); + // 编辑器文件存放地址 $this->assign('editor_path_type', 'goods_category'); diff --git a/application/admin/view/default/goodscategory/index.html b/application/admin/view/default/goodscategory/index.html index cbb38ff2e..9e6508a7b 100755 --- a/application/admin/view/default/goodscategory/index.html +++ b/application/admin/view/default/goodscategory/index.html @@ -19,6 +19,28 @@