MAGAPP
V1.0.0
MAGAPP-X
MAGAPP
点击下面链接下载客户端,查看更多精彩内容!!!
查看二维码
MAGAPP-X
扫描二维码下载
基本
文件
流程
错误
SQL
调试
- 请求信息 : 2021-04-17 22:38:32 HTTP/1.1 GET : quan.elinzhou.com/
- 运行时间 : 1.125000s [ 吞吐率:0.89req/s ] 内存消耗:5,042.45kb 文件加载:116
- 查询信息 : 2 queries 0 writes
- 缓存信息 : 3 reads,0 writes
- 配置加载 : 67
- 会话信息 : SESSION_ID=e4an1k2rb93t9pdeoo8h0epmk4
- [ CACHE ] INIT File
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => 'think',
'type' => '',
)
- [ BEHAVIOR ] Run app\core\AppInit @app_init [ RunTime:0.046875s ]
- [ LANG ] D:\wwwroot\quan\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/)',
'if-modified-since' => 'Sun, 24 Jan 2021 12:42:47 GMT',
'host' => 'quan.elinzhou.com',
'accept-language' => 'en-US,en;q=0.5',
'accept-encoding' => 'br,gzip',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'content-length' => '0',
'connection' => 'Keep-Alive',
'content-type' => '',
)
- [ PARAM ] array (
)
- [ RUN ] Class [ <user> class app\index\controller\IndexController extends app\core\base\BaseController ] {
@@ D:\wwwroot\quan\app\index\controller\IndexController.php 23-92
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [6] {
Property [ <default> private $updateService ]
Property [ <default> protected $view ]
Property [ <default> protected $request ]
Property [ <default> protected $failException ]
Property [ <default> protected $batchValidate ]
Property [ <default> protected $beforeActionList ]
}
- Methods [18] {
Method [ <user> public method _initialize ] {
@@ D:\wwwroot\quan\app\index\controller\IndexController.php 28 - 30
}
Method [ <user> public method index ] {
@@ D:\wwwroot\quan\app\index\controller\IndexController.php 32 - 74
}
/**
* 根据客户端的请求跳转安卓或者IOS下载地址
*/
Method [ <user> public method appDownload ] {
@@ D:\wwwroot\quan\app\index\controller\IndexController.php 79 - 89
}
/**
* 架构函数
* @param Request $request Request对象
* @access public
*/
Method [ <user, inherits app\core\base\BaseController, ctor> public method __construct ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\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 ] {
@@ D:\wwwroot\quan\thinkphp\library\traits\controller\Jump.php 152 - 156
}
}
}
- [ RUN ] Method [ <user> public method index ] {
@@ D:\wwwroot\quan\app\index\controller\IndexController.php 32 - 74
}
- [ DB ] INIT mysql
- [ VIEW ] D:\wwwroot\quan/app/index\view\index\download.html [ array (
0 => 'app_ico',
1 => 'info',
) ]
- [8]Undefined index: version[D:\wwwroot\quan\app\mag\MagApp.php:38]
- [8]Undefined index: version[D:\wwwroot\quan\app\mag\MagApp.php:38]
- [ DB ] CONNECT:[ UseTime:1.046875s ] mysql:dbname=magapp_x;host=localhost;port=3306;charset=utf8
- [ SQL ] SHOW COLUMNS FROM `mag_update_record` [ RunTime:0.000000s ]
- [ SQL ] SELECT * FROM `mag_update_record` WHERE `type` = 1 ORDER BY create_time desc LIMIT 0,1 [ RunTime:0.000000s ]
- [ SQL ] SELECT * FROM `mag_update_record` WHERE `type` = 2 ORDER BY create_time desc LIMIT 0,1 [ RunTime:0.000000s ]

1.125000s