解决办法有三个:
第一种:【验证可行】
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>第二种:【验证可行】
讲post提交过来的数据 只取需要的字段。
第三种:接受参数指定post(),不用param()
UserModel::create($request->post());