基本
文件
流程
错误
SQL
调试
- 请求信息 : 2023-10-03 01:06:18 HTTP/1.1 GET : snlife.com/
- 运行时间 : 0.057874s [ 吞吐率:17.28req/s ] 内存消耗:4,337.79kb 文件加载:199
- 查询信息 : 0 queries 0 writes
- 缓存信息 : 5 reads,0 writes
- 配置加载 : 68
- 会话信息 : SESSION_ID=2ud8bjkjgq2g64o084ic8gg9e5
- [ CACHE ] INIT redis
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => 'think',
'type' => '',
)
- [ BEHAVIOR ] Run app\core\AppInit @app_init [ RunTime:0.035671s ]
- [ LANG ] /www/wwwroot/app.snlife.com/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => '',
1 => NULL,
2 => NULL,
),
)
- [ HEADER ] array (
'user-agent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'accept-language' => 'en-US,en;q=0.5',
'accept-encoding' => 'br,gzip',
'host' => 'snlife.com',
'connection' => 'Keep-Alive',
'content-type' => '',
'content-length' => '',
)
- [ PARAM ] array (
)
- [ RUN ] Class [ <user> class app\index\controller\IndexController extends app\core\base\BaseController ] {
@@ /www/wwwroot/app.snlife.com/app/index/controller/IndexController.php 27-152
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [7] {
Property [ <default> private $updateService ]
Property [ <default> private $pcService ]
Property [ <default> protected $view ]
Property [ <default> protected $request ]
Property [ <default> protected $failException ]
Property [ <default> protected $batchValidate ]
Property [ <default> protected $beforeActionList ]
}
- Methods [19] {
Method [ <user> public method _initialize ] {
@@ /www/wwwroot/app.snlife.com/app/index/controller/IndexController.php 37 - 40
}
Method [ <user> public method index ] {
@@ /www/wwwroot/app.snlife.com/app/index/controller/IndexController.php 42 - 121
}
/**
* 根据客户端的请求跳转安卓或者IOS下载地址
*/
Method [ <user> public method appDownload ] {
@@ /www/wwwroot/app.snlife.com/app/index/controller/IndexController.php 126 - 136
}
/**
* 跳转登录页面
* @return \think\response\View
*/
Method [ <user> public method login ] {
@@ /www/wwwroot/app.snlife.com/app/index/controller/IndexController.php 142 - 151
}
/**
* 架构函数
* @param Request $request Request对象
* @access public
*/
Method [ <user, inherits app\core\base\BaseController, ctor> public method __construct ] {
@@ /www/wwwroot/app.snlife.com/app/core/base/BaseController.php 21 - 24
- Parameters [1] {
Parameter #0 [ <required> think\Request $request ]
}
}
/**
* 获取参数数组
*/
Method [ <user, inherits app\core\base\BaseController> protected method getArgs ] {
@@ /www/wwwroot/app.snlife.com/app/core/base/BaseController.php 30 - 32
- Parameters [2] {
Parameter #0 [ <required> $method ]
Parameter #1 [ <required> $args ]
}
}
/**
* 获取不为空的参数数组
* @param $method
* @param $args
* @return array
*/
Method [ <user, inherits app\core\base\BaseController> protected method getArgsNotNull ] {
@@ /www/wwwroot/app.snlife.com/app/core/base/BaseController.php 40 - 48
- Parameters [2] {
Parameter #0 [ <required> $method ]
Parameter #1 [ <required> $args ]
}
}
/**
* 前置操作
* @access protected
* @param string $method 前置操作方法名
* @param array $options 调用参数 ['only'=>[...]] 或者['except'=>[...]]
*/
Method [ <user, inherits think\Controller> protected method beforeAction ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/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 ] {
@@ /www/wwwroot/app.snlife.com/thinkphp/library/traits/controller/Jump.php 152 - 156
}
}
}
- [ RUN ] Method [ <user> public method index ] {
@@ /www/wwwroot/app.snlife.com/app/index/controller/IndexController.php 42 - 121
}
- [ VIEW ] /www/wwwroot/app.snlife.com/app/index/view/index/download.html [ array (
0 => 'app_name',
1 => 'login_background_pic_url',
2 => 'app_ico',
3 => 'info',
) ]
- [8]Undefined index: version[/www/wwwroot/app.snlife.com/app/mag/MagApp.php:43]
- [8]Undefined index: version[/www/wwwroot/app.snlife.com/app/mag/MagApp.php:43]
- [8]未定义数组索引: site[/www/wwwroot/app.snlife.com/app/common.php:582]
- [8]未定义数组下标: 61[/www/wwwroot/app.snlife.com/vendor/endroid/qrcode/src/QrCode.php:1169]

0.077594s