您的位置:首页技术文章
文章详情页

URL访问有问题啊

【字号: 日期:2022-06-07 09:58:45浏览:26作者:猪猪

问题描述

url:"{:url('index/user/insert')}",

报错啊

[8192] ErrorException in Url.php line 144strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behaviorparse_str($info['query'], $params);$vars = array_merge($params, $vars); }}// 检测URL绑定if (!$this->bindCheck) { $bind = $this->app['route']->getBind(); if (0 === strpos($url, $bind)) {$url = substr($url, strlen($bind) + 1); }}// 还原URL分隔符$depr = $this->app['config']->get('pathinfo_depr');$url = str_replace('/', $depr, $url);// URL后缀

问题解答

回答1:

有没有大神 朱老师 呢

相关文章: