基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-10-11 00:37:11 HTTP/1.1 GET : www.manualagent.com/products
- 运行时间 : 0.066839s [ 吞吐率:14.96req/s ] 内存消耗:3,457.43kb 文件加载:51
- 查询信息 : 28 queries 0 writes
- 缓存信息 : 0 reads,0 writes
- 配置加载 : 60
- /home/manuala/public_html/index.php ( 1.30 KB )
- /home/manuala/public_html/thinkphp/start.php ( 0.71 KB )
- /home/manuala/public_html/thinkphp/base.php ( 2.60 KB )
- /home/manuala/public_html/thinkphp/library/think/Loader.php ( 18.25 KB )
- /home/manuala/public_html/vendor/composer/autoload_namespaces.php ( 0.15 KB )
- /home/manuala/public_html/vendor/composer/autoload_psr4.php ( 0.35 KB )
- /home/manuala/public_html/vendor/composer/autoload_classmap.php ( 0.14 KB )
- /home/manuala/public_html/vendor/composer/autoload_files.php ( 0.24 KB )
- /home/manuala/public_html/vendor/topthink/think-captcha/src/helper.php ( 1.59 KB )
- /home/manuala/public_html/thinkphp/library/think/Route.php ( 54.61 KB )
- /home/manuala/public_html/thinkphp/library/think/Config.php ( 5.82 KB )
- /home/manuala/public_html/thinkphp/library/think/Validate.php ( 36.66 KB )
- /home/manuala/public_html/thinkphp/library/think/Error.php ( 3.47 KB )
- /home/manuala/public_html/thinkphp/convention.php ( 9.10 KB )
- /home/manuala/public_html/thinkphp/library/think/App.php ( 19.73 KB )
- /home/manuala/public_html/thinkphp/library/think/Request.php ( 45.27 KB )
- /home/manuala/public_html/application/config.php ( 9.67 KB )
- /home/manuala/public_html/application/database.php ( 1.84 KB )
- /home/manuala/public_html/application/common.php ( 4.17 KB )
- /home/manuala/public_html/thinkphp/library/think/Env.php ( 1.05 KB )
- /home/manuala/public_html/thinkphp/helper.php ( 15.97 KB )
- /home/manuala/public_html/thinkphp/library/think/Hook.php ( 3.72 KB )
- /home/manuala/public_html/thinkphp/library/think/Lang.php ( 6.77 KB )
- /home/manuala/public_html/thinkphp/library/think/Log.php ( 5.22 KB )
- /home/manuala/public_html/thinkphp/lang/zh-cn.php ( 3.61 KB )
- /home/manuala/public_html/application/route.php ( 1.37 KB )
- /home/manuala/public_html/application/index/controller/Product.php ( 10.76 KB )
- /home/manuala/public_html/application/index/controller/Base.php ( 2.24 KB )
- /home/manuala/public_html/thinkphp/library/think/Controller.php ( 5.95 KB )
- /home/manuala/public_html/thinkphp/library/traits/controller/Jump.php ( 4.68 KB )
- /home/manuala/public_html/thinkphp/library/think/View.php ( 5.56 KB )
- /home/manuala/public_html/thinkphp/library/think/view/driver/Think.php ( 5.06 KB )
- /home/manuala/public_html/thinkphp/library/think/Template.php ( 45.01 KB )
- /home/manuala/public_html/thinkphp/library/think/template/driver/File.php ( 2.17 KB )
- /home/manuala/public_html/application/index/model/Brand.php ( 2.47 KB )
- /home/manuala/public_html/thinkphp/library/think/Model.php ( 43.09 KB )
- /home/manuala/public_html/thinkphp/library/think/Db.php ( 6.18 KB )
- /home/manuala/public_html/thinkphp/library/think/db/connector/Mysql.php ( 3.90 KB )
- /home/manuala/public_html/thinkphp/library/think/db/Connection.php ( 25.64 KB )
- /home/manuala/public_html/thinkphp/library/think/db/Query.php ( 70.52 KB )
- /home/manuala/public_html/application/index/model/Detail.php ( 3.34 KB )
- /home/manuala/public_html/application/index/model/Product.php ( 1.60 KB )
- /home/manuala/public_html/application/index/model/Models.php ( 0.46 KB )
- /home/manuala/public_html/application/index/model/Type.php ( 0.20 KB )
- /home/manuala/public_html/thinkphp/library/think/db/builder/Mysql.php ( 1.88 KB )
- /home/manuala/public_html/thinkphp/library/think/db/Builder.php ( 26.15 KB )
- /home/manuala/public_html/thinkphp/library/think/Debug.php ( 6.88 KB )
- /home/manuala/public_html/application/index/model/Category.php ( 0.76 KB )
- /home/manuala/public_html/runtime/temp/aa8058386cc4cbdbf2a99caad9b7a3ef.php ( 8.01 KB )
- /home/manuala/public_html/thinkphp/library/think/Response.php ( 7.99 KB )
- /home/manuala/public_html/thinkphp/library/think/debug/Html.php ( 4.16 KB )
- /home/manuala/public_html/thinkphp/library/think/Cache.php ( 5.74 KB )
- [ LANG ] /home/manuala/public_html/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => NULL,
1 => 'Product',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'host' => 'www.manualagent.com',
'connection' => 'Keep-Alive',
'accept-encoding' => 'gzip, br',
'x-forwarded-for' => '38.11.140.200',
'cf-ray' => '8d08089f7f8f1fb5-EWR',
'x-forwarded-proto' => 'https',
'cf-visitor' => '{"scheme":"https"}',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'upgrade-insecure-requests' => '1',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36',
'accept-language' => 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',
'cf-connecting-ip' => '38.11.140.200',
'cdn-loop' => 'cloudflare; loops=1',
'cf-ipcountry' => 'HK',
)
- [ PARAM ] array (
'first' => NULL,
)
- [ RUN ] Class [ <user> class app\index\controller\Product extends app\index\controller\Base ] {
@@ /home/manuala/public_html/application/index/controller/Product.php 9-248
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [12] {
Property [ <default> protected $brand ]
Property [ <default> protected $detail ]
Property [ <default> protected $product ]
Property [ <default> protected $models ]
Property [ <default> protected $type ]
Property [ <default> protected $rootPath ]
Property [ <default> protected $webDomain ]
Property [ <default> protected $view ]
Property [ <default> protected $request ]
Property [ <default> protected $failException ]
Property [ <default> protected $batchValidate ]
Property [ <default> protected $beforeActionList ]
}
- Methods [20] {
Method [ <user, overwrites app\index\controller\Base, ctor> public method __construct ] {
@@ /home/manuala/public_html/application/index/controller/Product.php 10 - 13
}
Method [ <user> public method index ] {
@@ /home/manuala/public_html/application/index/controller/Product.php 15 - 28
}
Method [ <user> public method brandproducts ] {
@@ /home/manuala/public_html/application/index/controller/Product.php 29 - 90
}
Method [ <user> public method productBrands ] {
@@ /home/manuala/public_html/application/index/controller/Product.php 92 - 171
}
Method [ <user> public method productCategory ] {
@@ /home/manuala/public_html/application/index/controller/Product.php 172 - 247
- Parameters [2] {
Parameter #0 [ <required> $categorySlug ]
Parameter #1 [ <required> $pages ]
}
}
Method [ <user, inherits app\index\controller\Base> public method baseInfo ] {
@@ /home/manuala/public_html/application/index/controller/Base.php 43 - 54
}
Method [ <user, inherits app\index\controller\Base> public method errorPage ] {
@@ /home/manuala/public_html/application/index/controller/Base.php 56 - 65
}
Method [ <user, inherits think\Controller> protected method _initialize ] {
@@ /home/manuala/public_html/thinkphp/library/think/Controller.php 66 - 68
}
/**
* 前置操作
* @access protected
* @param string $method 前置操作方法名
* @param array $options 调用参数 ['only'=>[...]] 或者['except'=>[...]]
*/
Method [ <user, inherits think\Controller> protected method beforeAction ] {
@@ /home/manuala/public_html/thinkphp/library/think/Controller.php 76 - 95
- Parameters [2] {
Parameter #0 [ <required> $method ]
Parameter #1 [ <optional> $options = Array ]
}
}
/**
* 加载模板输出
* @access protected
* @param string $template 模板文件名
* @param array $vars 模板输出变量
* @param array $replace 模板替换
* @param array $config 模板参数
* @return mixed
*/
Method [ <user, inherits think\Controller> protected method fetch ] {
@@ /home/manuala/public_html/thinkphp/library/think/Controller.php 106 - 109
- Parameters [4] {
Parameter #0 [ <optional> $template = '' ]
Parameter #1 [ <optional> $vars = Array ]
Parameter #2 [ <optional> $replace = Array ]
Parameter #3 [ <optional> $config = Array ]
}
}
/**
* 渲染内容输出
* @access protected
* @param string $content 模板内容
* @param array $vars 模板输出变量
* @param array $replace 替换内容
* @param array $config 模板参数
* @return mixed
*/
Method [ <user, inherits think\Controller> protected method display ] {
@@ /home/manuala/public_html/thinkphp/library/think/Controller.php 120 - 123
- Parameters [4] {
Parameter #0 [ <optional> $content = '' ]
Parameter #1 [ <optional> $vars = Array ]
Parameter #2 [ <optional> $replace = Array ]
Parameter #3 [ <optional> $config = Array ]
}
}
/**
* 模板变量赋值
* @access protected
* @param mixed $name 要显示的模板变量
* @param mixed $value 变量的值
* @return void
*/
Method [ <user, inherits think\Controller> protected method assign ] {
@@ /home/manuala/public_html/thinkphp/library/think/Controller.php 132 - 135
- Parameters [2] {
Parameter #0 [ <required> $name ]
Parameter #1 [ <optional> $value = '' ]
}
}
/**
* 初始化模板引擎
* @access protected
* @param array|string $engine 引擎参数
* @return void
*/
Method [ <user, inherits think\Controller> protected method engine ] {
@@ /home/manuala/public_html/thinkphp/library/think/Controller.php 143 - 146
- Parameters [1] {
Parameter #0 [ <required> $engine ]
}
}
/**
* 设置验证失败后是否抛出异常
* @access protected
* @param bool $fail 是否抛出异常
* @return $this
*/
Method [ <user, inherits think\Controller> protected method validateFailException ] {
@@ /home/manuala/public_html/thinkphp/library/think/Controller.php 154 - 158
- Parameters [1] {
Parameter #0 [ <optional> $fail = true ]
}
}
/**
* 验证数据
* @access protected
* @param array $data 数据
* @param string|array $validate 验证器名或者验证规则数组
* @param array $message 提示信息
* @param bool $batch 是否批量验证
* @param mixed $callback 回调方法(闭包)
* @return array|string|true
* @throws ValidateException
*/
Method [ <user, inherits think\Controller> protected method validate ] {
@@ /home/manuala/public_html/thinkphp/library/think/Controller.php 171 - 208
- Parameters [5] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <required> $validate ]
Parameter #2 [ <optional> $message = Array ]
Parameter #3 [ <optional> $batch = false ]
Parameter #4 [ <optional> $callback = NULL ]
}
}
/**
* 操作成功跳转的快捷方法
* @access protected
* @param mixed $msg 提示信息
* @param string $url 跳转的URL地址
* @param mixed $data 返回的数据
* @param integer $wait 跳转等待时间
* @param array $header 发送的Header信息
* @return void
*/
Method [ <user, inherits think\Controller> protected method success ] {
@@ /home/manuala/public_html/thinkphp/library/traits/controller/Jump.php 37 - 64
- Parameters [5] {
Parameter #0 [ <optional> $msg = '' ]
Parameter #1 [ <optional> $url = NULL ]
Parameter #2 [ <optional> $data = '' ]
Parameter #3 [ <optional> $wait = 3 ]
Parameter #4 [ <optional> array $header = Array ]
}
}
/**
* 操作错误跳转的快捷方法
* @access protected
* @param mixed $msg 提示信息
* @param string $url 跳转的URL地址
* @param mixed $data 返回的数据
* @param integer $wait 跳转等待时间
* @param array $header 发送的Header信息
* @return void
*/
Method [ <user, inherits think\Controller> protected method error ] {
@@ /home/manuala/public_html/thinkphp/library/traits/controller/Jump.php 76 - 103
- Parameters [5] {
Parameter #0 [ <optional> $msg = '' ]
Parameter #1 [ <optional> $url = NULL ]
Parameter #2 [ <optional> $data = '' ]
Parameter #3 [ <optional> $wait = 3 ]
Parameter #4 [ <optional> array $header = Array ]
}
}
/**
* 返回封装后的API数据到客户端
* @access protected
* @param mixed $data 要返回的数据
* @param integer $code 返回的code
* @param mixed $msg 提示信息
* @param string $type 返回数据格式
* @param array $header 发送的Header信息
* @return void
*/
Method [ <user, inherits think\Controller> protected method result ] {
@@ /home/manuala/public_html/thinkphp/library/traits/controller/Jump.php 115 - 126
- Parameters [5] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <optional> $code = 0 ]
Parameter #2 [ <optional> $msg = '' ]
Parameter #3 [ <optional> $type = '' ]
Parameter #4 [ <optional> array $header = Array ]
}
}
/**
* URL重定向
* @access protected
* @param string $url 跳转的URL表达式
* @param array|integer $params 其它URL参数
* @param integer $code http code
* @return void
*/
Method [ <user, inherits think\Controller> protected method redirect ] {
@@ /home/manuala/public_html/thinkphp/library/traits/controller/Jump.php 136 - 145
- Parameters [3] {
Parameter #0 [ <required> $url ]
Parameter #1 [ <optional> $params = Array ]
Parameter #2 [ <optional> $code = 302 ]
}
}
/**
* 获取当前的response 输出类型
* @access protected
* @return string
*/
Method [ <user, inherits think\Controller> protected method getResponseType ] {
@@ /home/manuala/public_html/thinkphp/library/traits/controller/Jump.php 152 - 156
}
}
}
- [ DB ] INIT mysql
- [ RUN ] Method [ <user> public method index ] {
@@ /home/manuala/public_html/application/index/controller/Product.php 15 - 28
}
- [ VIEW ] /home/manuala/public_html/application/index/view/product/index.html [ array (
0 => 'baseInfo',
1 => 'rootPath',
2 => 'isSearch',
3 => 'ips',
4 => 'productsClass',
5 => 'productLists',
6 => 'title',
7 => 'description',
8 => 'keywords',
) ]
- [ DB ] CONNECT:[ UseTime:0.001079s ] mysql:dbname=manuala_agent;host=localhost;port=3306;charset=utf8
- [ SQL ] SHOW COLUMNS FROM `mg_brand` [ RunTime:0.000825s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_brand` LIMIT 1 [ RunTime:0.000236s ]
- [ SQL ] SHOW COLUMNS FROM `mg_detail` [ RunTime:0.000485s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_detail` LIMIT 1 [ RunTime:0.000130s ]
- [ SQL ] SHOW COLUMNS FROM `mg_models` [ RunTime:0.000424s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_models` LIMIT 1 [ RunTime:0.000159s ]
- [ SQL ] SHOW COLUMNS FROM `mg_category` [ RunTime:0.000875s ]
- [ SQL ] SELECT `id`,`name`,`slug` FROM `mg_category` ORDER BY name asc [ RunTime:0.000412s ]
- [ SQL ] SHOW COLUMNS FROM `mg_product` [ RunTime:0.000534s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 21 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000731s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 15 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000674s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 13 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000652s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 17 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000636s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 4 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000669s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 14 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000748s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 24 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000676s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 23 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000664s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 9 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000683s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 16 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000675s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 2 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000715s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 1 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000695s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 11 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000640s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 5 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000717s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 19 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000697s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 18 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000705s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 8 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000701s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 7 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000684s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 10 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000677s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 12 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000681s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 6 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000743s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 22 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000651s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 3 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000664s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_product` WHERE ( category_id = 20 ) ORDER BY name asc LIMIT 3 [ RunTime:0.000630s ]
0.068060s