1.提交缺失的东西
This commit is contained in:
@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user