@@ -60,6 +60,7 @@ class GoodsController extends BaseController
$data = Yii::$app->request->post();
$data['sjId'] = $this->sjId;
$data['mainId'] = $this->mainId;
+ $data['shopId'] = $this->shopId ?? 0;
$data['property'] = 0;
$data['flower'] = 1;
unset($data['stock']);