在fastadmin5的表单提交的时候出现:variable type error:array 的错误
出错代码如下:
$images = $this->request->post('images');
解决方法1:亲测可用
$images = $this->request->post('images/a');
解决方法2:亲测可用
$post = $this->request->post();
$images = $post['images'];
在fastadmin5的表单提交的时候出现:variable type error:array 的错误
出错代码如下:
$images = $this->request->post('images');
解决方法1:亲测可用
$images = $this->request->post('images/a');
解决方法2:亲测可用
$post = $this->request->post();
$images = $post['images'];