基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-03-28 20:19:27 HTTP/1.1 GET : www.manualagent.com/product/camcorder
- 运行时间 : 0.045462s [ 吞吐率:22.00req/s ] 内存消耗:3,540.50kb 文件加载:51
- 查询信息 : 7 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/application/index/model/BrandProduct.php ( 0.92 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 => 'productBrands',
),
'convert' => false,
)
- [ HEADER ] array (
'host' => 'www.manualagent.com',
'connection' => 'Keep-Alive',
'accept-encoding' => 'gzip, br',
'x-forwarded-for' => '18.232.88.17',
'cf-ray' => '86b7919638d782a8-IAD',
'x-forwarded-proto' => 'https',
'cf-visitor' => '{"scheme":"https"}',
'accept' => '*/*',
'user-agent' => 'claudebot',
'referer' => 'https://www.manualguru.com/product/camcorder',
'cf-connecting-ip' => '18.232.88.17',
'cdn-loop' => 'cloudflare',
'cf-ipcountry' => 'US',
)
- [ PARAM ] array (
'productslug' => 'camcorder',
'page' => 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 productBrands ] {
@@ /home/manuala/public_html/application/index/controller/Product.php 92 - 171
}
- [ DB ] CONNECT:[ UseTime:0.000629s ] mysql:dbname=manuala_agent;host=localhost;port=3306;charset=utf8
- [ SQL ] SHOW COLUMNS FROM `mg_brand` [ RunTime:0.000752s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_brand` LIMIT 1 [ RunTime:0.000202s ]
- [ SQL ] SHOW COLUMNS FROM `mg_detail` [ RunTime:0.000396s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_detail` LIMIT 1 [ RunTime:0.000115s ]
- [ SQL ] SHOW COLUMNS FROM `mg_models` [ RunTime:0.000386s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `mg_models` LIMIT 1 [ RunTime:0.000127s ]
- [ SQL ] SHOW COLUMNS FROM `mg_product` [ RunTime:0.000388s ]
- [ SQL ] SELECT `id`,`name`,`slug` FROM `mg_product` WHERE ( slug = 'camcorder' ) LIMIT 1 [ RunTime:0.000288s ]
- [ SQL ] SHOW COLUMNS FROM `mg_brand_product` [ RunTime:0.000519s ]
- [ SQL ] SELECT `brand_id` FROM `mg_brand_product` WHERE ( product_id = 162 ) [ RunTime:0.002852s ]
- [ SQL ] SELECT `id`,`name`,`slug`,`first` FROM `mg_brand` WHERE ( id in(5,8,12,13,15,17,19,20,27,32,40,41,43,45,47,57,58,60,61,65,76,77,79,85,91,94,104,110,112,126,128,140,148,200,205,227,229,236,247,281,308,340,346,350,358,382,399,408,421,433,445,456,457,463,473,479,480,489,492,504,513,524,549,568,570,571,579,585,587,590,612,628,633,642,646,648,660,669,671,690,693,694,700,723,747,763,788,790,793,799,818,820,875,888,900,916,919,931,946,952,970,986,1008,1011,1020,1035,1045,1048,1059,1076,1081,1101,1111,1117,1119,1125,1133,1145,1158,1167,1221,1248,1289,1296,1507,1562,1563,1608,1665,1669,1765,1773,1774,1837,2069,2225,2228,2289,2305,2323,2382,2391,2397,2448,2461,2467,2546,2556,2607,2625,2628,2639,2711,2747,2752,2764,2774,2799,2961,3058,3082,3092,3099,3134,3209,3320,3355,3398,3419,3564,3599,3642,3788,3817,3848,3878,3910,3925,3991,4003,4017,4172,4184,4245,4246,4270,4318,4383,4389,4402,4423,4434,4539,4543,4605,4637,4668,4722,4731,4781,4796,4811,4866,4913,4985,5012,5020,5105,5108,5123,5196,5220,5251,5298,5312,5314,5318,5330,5382,5417,5418,5419,5420,5421,5425,5426,5427,5431,5432,5433,5436,1000001) ) [ RunTime:0.003610s ]
- [ SQL ] SHOW COLUMNS FROM `mg_category` [ RunTime:0.000591s ]
- [ SQL ] SELECT `name`,`slug` FROM `mg_category` ORDER BY first ASC [ RunTime:0.000233s ]
0.046513s