NOTICE: PHP message: PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
解决方案:
1 修改php.ini 中的 max_input_vars 项
2 将form输入改为json输入,后端使用file_get_contents(‘php://input’);
3 将前端参数json化,放一个参数传入后端
; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 1000