调整文章录入

This commit is contained in:
luofei 2023-07-21 11:07:59 +08:00
parent 22793d8ec3
commit 7155cc3c69

View File

@ -45,7 +45,7 @@ class ArticleLogic extends BaseLogic
'cid' => $params['cid'],
'is_show' => $params['is_show'],
'content' => $params['content'] ?? '',
'admin_id' => request()->adminInfo['id'] ?? 0,
'admin_id' => request()->adminInfo['admin_id'] ?? 0,
'company_id' => request()->adminInfo['company_id'] ?? 0,
]);
}