1.提交缺失的东西

This commit is contained in:
2025-05-23 15:19:58 +08:00
parent 3ebe49a3b6
commit 24084db2bf

View File

@ -51,7 +51,8 @@ class GoodsController extends BaseAdminController
*/ */
public function add() public function add()
{ {
$params = (new GoodsValidate())->post()->goCheck('add'); // $params = (new GoodsValidate())->post()->goCheck('add');
$params = $this->request->param();
$result = GoodsLogic::add($params); $result = GoodsLogic::add($params);
if (true === $result) { if (true === $result) {
return $this->success('添加成功', [], 1, 1); return $this->success('添加成功', [], 1, 1);