Przeglądaj źródła

Wesmiler 校企小程序源代码部署

wesmiler 3 lat temu
rodzic
commit
b040ce25fa
1 zmienionych plików z 1 dodań i 0 usunięć
  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() ?: '保存失败');
         }