Browse Source

接参方式

lizhen_gitee 3 months ago
parent
commit
b585998c06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      thinkphp/helper.php

+ 1 - 1
thinkphp/helper.php

@@ -153,7 +153,7 @@ if (!function_exists('input_post')) {
      */
     function input_post($key = '', $default = null, $filter = '')
     {
-        return Request::instance()->request($key, $default, $filter);
+        return Request::instance()->param($key, $default, $filter);
     }
 }