传参调整

pull/1/head
limu 12 months ago
parent 4d5cff2662
commit 2905ca262d
  1. 2
      app/api/controller/User.php

@ -142,7 +142,7 @@ class User extends Controller
public function addGoodsSource(): Json
{
$model = new GoodsSourceModel();
if (!$model->addSource($this->postForm())) {
if (!$model->addSource($this->request->param())) {
return $this->renderSuccess($model->getError() ?: '操作失败');
}
return $this->renderSuccess('提交成功,请耐心等待');

Loading…
Cancel
Save