修改返回消息提示
This commit is contained in:
@ -121,7 +121,7 @@ class GoodsController extends BaseAdminController
|
|||||||
if ($result !== true) {
|
if ($result !== true) {
|
||||||
return $this->fail('添加失败:' . $result);
|
return $this->fail('添加失败:' . $result);
|
||||||
}
|
}
|
||||||
return $this->success('添加成功');
|
return $this->success('添加成功', [], 1, 1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -209,7 +209,7 @@ class GoodsController extends BaseAdminController
|
|||||||
if ($result !== true) {
|
if ($result !== true) {
|
||||||
return $this->fail('添加失败:' . $result);
|
return $this->fail('添加失败:' . $result);
|
||||||
}
|
}
|
||||||
return $this->success('修改成功');
|
return $this->success('修改成功', [], 1, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user