432888威尼斯

[0] InvalidArgumentException in Container.php line 480

方法参数错误:code

  1. } elseif (1 == $type && !empty($vars)) {
  2. $args[] = array_shift($vars);
  3. } elseif (0 == $type && isset($vars[$name])) {
  4. $args[] = $vars[$name];
  5. } elseif (0 == $type && isset($vars[$lowerName])) {
  6. $args[] = $vars[$lowerName];
  7. } elseif ($param->isDefaultValueAvailable()) {
  8. $args[] = $param->getDefaultValue();
  9. } else {
  10. throw new InvalidArgumentException('method param miss:' . $name);
  11. }
  12. }
  13. return $args;
  14. }
  15. /**
  16. * 获取对象类型的参数值
  17. * @access protected

Call Stack

  1. in Container.php line 480
  2. at Container->bindParams(object(ReflectionMethod), ['convert' => false]) in Container.php line 393
  3. at Container->invokeReflectMethod(object(Cases), object(ReflectionMethod), ['convert' => false]) in Module.php line 132
  4. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  5. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  6. at Middleware->think\{closure}(object(Request))
  7. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  8. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  9. at Module->exec() in Dispatch.php line 168
  10. at Dispatch->run() in App.php line 432
  11. at App->think\{closure}(object(Request), object(Closure), null)
  12. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  13. at Middleware->think\{closure}(object(Request))
  14. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  15. at Middleware->dispatch(object(Request)) in App.php line 435
  16. at App->run() in index.php line 47

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID t2mhdds82010ac1pugua28rk6j
Sessionempty
Server/Request Data
USER www-data
HOME /home/www-data
HTTP_COOKIE PHPSESSID=t2mhdds82010ac1pugua28rk6j
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.itmato.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
REDIRECT_STATUS 200
SERVER_NAME itmato.com
SERVER_PORT 80
SERVER_ADDR 172.18.114.243
REMOTE_PORT 40082
REMOTE_ADDR 136.0.216.34
SERVER_SOFTWARE nginx/1.16.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /web/itmatogw/public
DOCUMENT_URI /index.php
REQUEST_URI /case/code/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/case/code/
SCRIPT_FILENAME /web/itmatogw/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1664943333.8343
REQUEST_TIME 1664943333
Environment Variablesempty
ThinkPHP Constants
SITE_URL
APP_PATH /web/itmatogw/public/../application
INSUCCESS { "code": 200, "msg": "\u6e29\u99a8\u63d0\u793a:\u63d0\u4ea4\u6210\u529f\u3002" }
INERROR { "code": 400, "msg": "\u6e29\u99a8\u63d0\u793a:\u63d0\u4ea4\u5931\u8d25\u3002" }
UPSUCCESS { "code": 200, "msg": "\u6e29\u99a8\u63d0\u793a:\u66f4\u65b0\u6210\u529f\u3002" }
UPERROR { "code": 400, "msg": "\u6e29\u99a8\u63d0\u793a:\u66f4\u65b0\u5931\u8d25\u3002" }
DELSUCCESS { "code": 200, "msg": "\u6e29\u99a8\u63d0\u793a:\u5220\u9664\u6210\u529f\u3002" }
DELERROR { "code": 400, "msg": "\u6e29\u99a8\u63d0\u793a:\u5220\u9664\u5931\u8d25\u3002" }
ERROR { "code": 400, "msg": "\u6e29\u99a8\u63d0\u793a:\u8bf7\u6c42\u5931\u8d25\u3002" }
PARAM_ERROR { "code": 400, "msg": "\u6e29\u99a8\u63d0\u793a\uff1a\u53c2\u6570\u6709\u8bef\u3002" }
ACTIVATE_SUCCESS { "code": 200, "msg": "\u6e29\u99a8\u63d0\u793a:\u64cd\u4f5c\u6210\u529f\u3002" }
ACTIVATE_ERROR { "code": 400, "msg": "\u6e29\u99a8\u63d0\u793a:\u64cd\u4f5c\u5931\u8d25\u3002" }
RESET_SUCCESS { "code": 200, "msg": "\u6e29\u99a8\u63d0\u793a:\u91cd\u7f6e\u5bc6\u7801\u4e3a\uff1a123456" }
RESET_ERROR { "code": 400, "msg": "\u6e29\u99a8\u63d0\u793a:\u5bc6\u7801\u521d\u59cb\u5316\u5931\u8d25\u3002" }
LOGIN_ERROR { "code": 400, "msg": "\u6e29\u99a8\u63d0\u793a:\u767b\u5f55\u5931\u8d25\u3002" }
VERCODE_ERROR { "code": 400, "msg": "\u6e29\u99a8\u63d0\u793a:\u9a8c\u8bc1\u7801\u9519\u8bef\u3002" }