@@ -48,6 +48,7 @@ class User extends Controller
public function setInfo(): Json
{
$model = new UserModel;
+ var_dump($this->postForm());
if (!$result = $model->saveInfo($this->postForm()??[])) {
return $this->renderSuccess($model->getError() ?: '保存失败');
}