|
@@ -36,6 +36,7 @@ class ItemClassController extends BaseController
|
|
|
{
|
|
{
|
|
|
$post = Yii::$app->request->post();
|
|
$post = Yii::$app->request->post();
|
|
|
$post['adminId'] = $this->adminId;
|
|
$post['adminId'] = $this->adminId;
|
|
|
|
|
+ $post['mainId'] = $this->mainId ?? 0;
|
|
|
ItemClassClass::addGhsItemClass($this->mainId, $post);
|
|
ItemClassClass::addGhsItemClass($this->mainId, $post);
|
|
|
util::complete('添加成功');
|
|
util::complete('添加成功');
|
|
|
}
|
|
}
|