Explorar o código

Wesmiler 校企小程序源代码部署

wesmiler %!s(int64=3) %!d(string=hai) anos
pai
achega
b040ce25fa
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/api/controller/User.php

+ 1 - 0
app/api/controller/User.php

@@ -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() ?: '保存失败');
         }