|
@@ -285,6 +285,7 @@ class Goodup
|
|
|
// $data['exclusive'] = makeExcluse($data['is_exclusive']);
|
|
|
$unit = Db::name("unit")->where(["id" => $data['good_unit']])->find();
|
|
|
$data['unit'] = isset($unit['unit']) ? $unit['unit'] : '';
|
|
|
+ $data['cat_info'] = made($data['cat_id'], []);
|
|
|
$data['yz_cat_info'] = made_youzan($data['yz_cat_id'], []);
|
|
|
$spec = Db::name("good_spec")->where(["spuCode" => $data['spuCode'], "is_del" => 0])->select()->toArray();
|
|
|
$supplier = Db::name("supplier")->where(["code" => $data['supplierNo']])->find();
|