mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-24 10:22:32 +08:00
Update ShopGoods.php
This commit is contained in:
parent
bd811f19d3
commit
60835b8219
@ -153,7 +153,7 @@ class ShopGoods extends Controller
|
|||||||
$data['code'] = CodeExtend::uniqidNumber(12, 'G');
|
$data['code'] = CodeExtend::uniqidNumber(12, 'G');
|
||||||
}
|
}
|
||||||
if ($this->request->isGet()) {
|
if ($this->request->isGet()) {
|
||||||
$data['mark'] = mark_string_array($data['mark']);
|
$data['mark'] = mark_string_array($data['mark'] ?? '');
|
||||||
$this->marks = GoodsService::instance()->getMarkList();
|
$this->marks = GoodsService::instance()->getMarkList();
|
||||||
$this->cates = GoodsService::instance()->getCateList('arr2table');
|
$this->cates = GoodsService::instance()->getCateList('arr2table');
|
||||||
$fields = 'goods_sku `sku`,goods_code,goods_spec `key`,price_selling `selling`,price_market `market`,number_virtual `virtual`,number_express `express`,status';
|
$fields = 'goods_sku `sku`,goods_code,goods_spec `key`,price_selling `selling`,price_market `market`,number_virtual `virtual`,number_express `express`,status';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user