mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-06 16:21:54 +08:00
商品参数模板新增商品分类关联
This commit is contained in:
@ -12,6 +12,7 @@ namespace app\admin\controller;
|
||||
|
||||
use app\admin\controller\Base;
|
||||
use app\service\ApiService;
|
||||
use app\service\GoodsService;
|
||||
use app\service\GoodsParamsService;
|
||||
|
||||
/**
|
||||
@ -85,6 +86,9 @@ class GoodsParamsTemplate extends Base
|
||||
|
||||
// 参数配置
|
||||
'parameters' => empty($data['config_data']) ? [] : $data['config_data'],
|
||||
|
||||
// 商品分类
|
||||
'goods_category_list' => GoodsService::GoodsCategoryList(['where'=>[['pid', '=', 0]]]),
|
||||
];
|
||||
|
||||
// 编辑页面钩子
|
||||
|
||||
Reference in New Issue
Block a user