作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

接口对接测试

要显示太多修改。

为保证性能只显示 22 of 22+ 个文件。

---------------------------------------------------------------
[ 2018-12-03T16:51:50+08:00 ] 127.0.0.1 127.0.0.1 GET /api/
[ info ] maifuzi.com/api/ [运行时间:0.081000s][吞吐率:12.35req/s] [内存消耗:2,331.85kb] [文件加载:67]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => '',
1 => NULL,
2 => NULL,
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] api\home\controller\IndexController->index[ D:\PHPTutorial\WWW\xinmeiti\api\home\controller\IndexController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T16:51:52+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.075000s][吞吐率:13.33req/s] [内存消耗:2,839.23kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T16:51:54+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.078000s][吞吐率:12.82req/s] [内存消耗:2,696.73kb] [文件加载:73]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.042000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.031000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T16:51:54+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.131000s][吞吐率:7.63req/s] [内存消耗:2,879.47kb] [文件加载:77]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.055000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.035000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T16:51:56+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/info?name=api\home\controller\IndexController::index
[ info ] maifuzi.com/api/doc/info?name=api\home\controller\IndexController::index [运行时间:0.163000s][吞吐率:6.13req/s] [内存消耗:2,932.47kb] [文件加载:77]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.065000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getInfo',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'name' => 'api\\home\\controller\\IndexController::index',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
6 => 'return',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.011000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.043000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:42:14+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.071000s][吞吐率:14.08req/s] [内存消耗:2,703.40kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.032000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'cache-control' => 'max-age=0',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.012000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.012000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:42:15+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.086000s][吞吐率:11.63req/s] [内存消耗:2,742.72kb] [文件加载:75]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.033000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:42:16+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.076000s][吞吐率:13.16req/s] [内存消耗:2,696.82kb] [文件加载:73]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.024000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.000000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.016000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:42:17+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/info?name=api\home\controller\IndexController::index
[ info ] maifuzi.com/api/doc/info?name=api\home\controller\IndexController::index [运行时间:0.087000s][吞吐率:11.49req/s] [内存消耗:2,762.45kb] [文件加载:75]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.036000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getInfo',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'name' => 'api\\home\\controller\\IndexController::index',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
6 => 'return',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:44:36+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.077000s][吞吐率:12.99req/s] [内存消耗:2,703.40kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.028000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'cache-control' => 'max-age=0',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:44:37+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.078000s][吞吐率:12.82req/s] [内存消耗:2,742.72kb] [文件加载:75]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.027000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:44:38+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.074000s][吞吐率:13.51req/s] [内存消耗:2,696.82kb] [文件加载:73]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.032000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.003000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.015000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:45:18+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.068000s][吞吐率:14.71req/s] [内存消耗:2,703.40kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.027000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'cache-control' => 'max-age=0',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.015000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:45:19+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.077000s][吞吐率:12.99req/s] [内存消耗:2,742.72kb] [文件加载:75]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.030000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.012000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:45:19+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,696.82kb] [文件加载:73]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.024000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.013000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:45:21+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/info?name=api\home\controller\IndexController::index
[ info ] maifuzi.com/api/doc/info?name=api\home\controller\IndexController::index [运行时间:0.087000s][吞吐率:11.49req/s] [内存消耗:2,762.45kb] [文件加载:75]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.035000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getInfo',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'name' => 'api\\home\\controller\\IndexController::index',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
6 => 'return',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:46:22+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,703.40kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.027000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'cache-control' => 'max-age=0',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:46:24+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.100000s][吞吐率:10.00req/s] [内存消耗:2,742.72kb] [文件加载:75]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.042000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.011000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:46:24+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.080000s][吞吐率:12.50req/s] [内存消耗:2,696.82kb] [文件加载:73]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.040000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:46:38+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.076000s][吞吐率:13.16req/s] [内存消耗:2,703.40kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.021000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'cache-control' => 'max-age=0',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:46:39+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.097000s][吞吐率:10.31req/s] [内存消耗:2,742.72kb] [文件加载:75]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.045000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.023000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:46:39+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.082000s][吞吐率:12.20req/s] [内存消耗:2,696.82kb] [文件加载:73]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.032000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.020000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:49:16+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.060000s][吞吐率:16.67req/s] [内存消耗:2,703.40kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.022000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'cache-control' => 'max-age=0',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:49:17+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.084000s][吞吐率:11.90req/s] [内存消耗:2,742.72kb] [文件加载:75]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.028000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.006000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.016000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:49:17+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.083000s][吞吐率:12.05req/s] [内存消耗:2,696.82kb] [文件加载:73]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.034000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.008000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.014000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:49:49+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/info?name=api\home\controller\IndexController::index
[ info ] maifuzi.com/api/doc/info?name=api\home\controller\IndexController::index [运行时间:0.096000s][吞吐率:10.42req/s] [内存消耗:2,762.45kb] [文件加载:75]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.030000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getInfo',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'name' => 'api\\home\\controller\\IndexController::index',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
6 => 'return',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.015000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:50:33+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.057000s][吞吐率:17.54req/s] [内存消耗:2,703.45kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.020000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'cache-control' => 'max-age=0',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.012000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:50:34+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.090000s][吞吐率:11.11req/s] [内存消耗:2,734.08kb] [文件加载:76]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.017000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:50:34+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.106000s][吞吐率:9.43req/s] [内存消耗:2,779.98kb] [文件加载:78]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.036000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.023000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:50:36+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/info?name=api\user\controller\LoginController::login
[ info ] maifuzi.com/api/doc/info?name=api\user\controller\LoginController::login [运行时间:0.094000s][吞吐率:10.64req/s] [内存消耗:2,779.76kb] [文件加载:76]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.033000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getInfo',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'name' => 'api\\user\\controller\\LoginController::login',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
6 => 'return',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.003000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.020000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-03T17:50:46+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/login
[ info ] maifuzi.com/api/user/login/login [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,704.34kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'login',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-type' => 'multipart/form-data; boundary=------------------------1b0a1dc85c83d782',
'content-length' => '261',
'cookie' => 'thinkphp_show_page_trace=0%7C0;PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept' => '*/*',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'user_login' => 'bronet',
'user_pass' => 'panhaowen123',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] api\user\controller\LoginController->login[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => 'think',
'type' => '',
'auto_start' => true,
)
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.013000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `user_login` = 'bronet' AND `user_pass` = '###37e2f8da5fcfdd6cfbb04289eb83f8ef' LIMIT 1 [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-03T17:50:46+08:00 ] 127.0.0.1 127.0.0.1 POST /api/doc/debug
[ info ] maifuzi.com/api/doc/debug [运行时间:0.184000s][吞吐率:5.43req/s] [内存消耗:2,547.94kb] [文件加载:70]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.021000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'debug',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc/info?name=api\\user\\controller\\LoginController::login',
'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'origin' => 'http://maifuzi.com',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'content-length' => '198',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'url' => 'http://maifuzi.com/api/user/login/login',
'method_type' => 'POST',
'cookie' => 'thinkphp_show_page_trace=0%7C0;PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko',
'user_login' => 'bronet',
'user_pass' => 'panhaowen123',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->debug[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-08T09:12:47+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.083000s][吞吐率:12.05req/s] [内存消耗:2,702.35kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.038000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.011000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.019000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:12:49+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.103000s][吞吐率:9.71req/s] [内存消耗:2,892.77kb] [文件加载:80]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.036000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.026000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-08T09:12:49+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.110000s][吞吐率:9.09req/s] [内存消耗:2,862.98kb] [文件加载:78]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.054000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.031000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-08T09:13:04+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/info?name=api\user\controller\LoginController::userIndex
[ info ] maifuzi.com/api/doc/info?name=api\user\controller\LoginController::userIndex [运行时间:0.102000s][吞吐率:9.80req/s] [内存消耗:2,806.72kb] [文件加载:76]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.043000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getInfo',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'name' => 'api\\user\\controller\\LoginController::userIndex',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
6 => 'return',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.005000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.028000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.002000s ]
---------------------------------------------------------------
[ 2018-12-08T09:13:13+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.092000s][吞吐率:10.87req/s] [内存消耗:2,715.55kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.019000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-type' => 'multipart/form-data; boundary=------------------------301341342aa0a634',
'content-length' => '140',
'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet',
'accept' => '*/*',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'param' => '',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.014000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,10 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:13:13+08:00 ] 127.0.0.1 127.0.0.1 POST /api/doc/debug
[ info ] maifuzi.com/api/doc/debug [运行时间:0.175000s][吞吐率:5.71req/s] [内存消耗:2,547.14kb] [文件加载:70]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.028000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'debug',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc/info?name=api\\user\\controller\\LoginController::userIndex',
'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'origin' => 'http://maifuzi.com',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'content-length' => '153',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'url' => 'http://maifuzi.com/api/user/login/userIndex',
'method_type' => 'POST',
'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet',
'param' => '',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] Api\Doc\DocController->debug[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:13:37+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.070000s][吞吐率:14.29req/s] [内存消耗:2,714.94kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.025000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-type' => 'multipart/form-data; boundary=------------------------8adce1377b3cabbd',
'content-length' => '140',
'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet',
'accept' => '*/*',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'param' => '',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.008000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-08T09:13:37+08:00 ] 127.0.0.1 127.0.0.1 POST /api/doc/debug
[ info ] maifuzi.com/api/doc/debug [运行时间:0.168000s][吞吐率:5.95req/s] [内存消耗:2,547.14kb] [文件加载:70]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.030000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'debug',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc/info?name=api\\user\\controller\\LoginController::userIndex',
'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'origin' => 'http://maifuzi.com',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'content-length' => '153',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'url' => 'http://maifuzi.com/api/user/login/userIndex',
'method_type' => 'POST',
'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet',
'param' => '',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] Api\Doc\DocController->debug[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.011000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.012000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:14:50+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.062000s][吞吐率:16.13req/s] [内存消耗:2,715.66kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '332893',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'content-type' => 'multipart/form-data; boundary=--------------------------384439408234803131684009',
'postman-token' => '27af5e84-8338-499a-8d7c-531480ae1662',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.000000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:15:09+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,715.08kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.029000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '0',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'content-type' => 'application/x-www-form-urlencoded',
'postman-token' => '170e9a92-9aab-4834-b4cf-9a4837fae4e1',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:15:18+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.061000s][吞吐率:16.39req/s] [内存消耗:2,715.08kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '0',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'content-type' => 'application/x-www-form-urlencoded',
'postman-token' => 'a07f6274-fb51-46ad-bbb7-cb5910b9f021',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.009000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:15:21+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.059000s][吞吐率:16.95req/s] [内存消耗:2,715.08kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.019000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '0',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'content-type' => 'application/x-www-form-urlencoded',
'postman-token' => '21bbd731-43bf-4772-b362-017755dad71e',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:20:11+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,715.30kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.020000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '0',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'page' => '1',
'content-type' => 'application/x-www-form-urlencoded',
'postman-token' => '6a029aec-f815-4577-8188-71d48ab5dc18',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:20:15+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.059000s][吞吐率:16.95req/s] [内存消耗:2,715.30kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.017000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '0',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'page' => '2',
'content-type' => 'application/x-www-form-urlencoded',
'postman-token' => 'be90ee3b-59b4-4336-b8c8-235737cedddf',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.000000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.008000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-08T09:20:27+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.057000s][吞吐率:17.54req/s] [内存消耗:2,716.05kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.017000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '160',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'page' => '2',
'content-type' => 'multipart/form-data; boundary=--------------------------859411036655651013869042',
'postman-token' => '7262cb6c-5230-49b0-a51e-e6a91fd670ea',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
'page' => '2',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1,1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:20:32+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.060000s][吞吐率:16.67req/s] [内存消耗:2,716.05kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '160',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'page' => '2',
'content-type' => 'multipart/form-data; boundary=--------------------------975342739094188736283187',
'postman-token' => '120c3d26-70ae-4f60-8b47-4e5de1adcf8c',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
'page' => '1',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-08T09:20:37+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.061000s][吞吐率:16.39req/s] [内存消耗:2,716.06kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.017000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '168',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'page' => '2',
'content-type' => 'multipart/form-data; boundary=--------------------------056487901031830499371383',
'postman-token' => 'e9d5e978-e01e-43fa-868a-2f9dd0dd3c42',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
'current_page' => '1',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.009000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T09:20:40+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex
[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.057000s][吞吐率:17.54req/s] [内存消耗:2,716.06kb] [文件加载:74]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'user',
1 => 'login',
2 => 'userIndex',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '168',
'accept-encoding' => 'gzip, deflate',
'host' => 'maifuzi.com',
'accept' => '*/*',
'user-agent' => 'PostmanRuntime/3.0.9',
'page' => '2',
'content-type' => 'multipart/form-data; boundary=--------------------------199614286415810112830393',
'postman-token' => '8a1a6abb-8440-4646-b693-99a863410c99',
'cache-control' => 'no-cache',
)
[ info ] [ PARAM ] array (
'current_page' => '2',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ]
[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SELECT `id`,`user_type`,`user_login`,`mobile`,`money`,`qq`,`wx`,`parent_id` FROM `xmt_user` WHERE `user_type` = 1 LIMIT 0,1 [ RunTime:0.000000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T11:07:15+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.074000s][吞吐率:13.51req/s] [内存消耗:2,702.35kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.030000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.003000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T11:07:17+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.082000s][吞吐率:12.20req/s] [内存消耗:2,894.21kb] [文件加载:80]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.034000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.019000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-08T11:07:17+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.079000s][吞吐率:12.66req/s] [内存消耗:2,864.43kb] [文件加载:78]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.015000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.002000s ]
---------------------------------------------------------------
[ 2018-12-08T11:07:22+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/info?name=api\portal\controller\MarketController::market
[ info ] maifuzi.com/api/doc/info?name=api\portal\controller\MarketController::market [运行时间:0.090000s][吞吐率:11.11req/s] [内存消耗:2,804.26kb] [文件加载:76]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.038000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getInfo',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'name' => 'api\\portal\\controller\\MarketController::market',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
6 => 'return',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T11:07:26+08:00 ] 127.0.0.1 127.0.0.1 POST /api/portal/market/market
[ info ] maifuzi.com/api/portal/market/market [运行时间:0.062000s][吞吐率:16.13req/s] [内存消耗:2,543.48kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.019000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'portal',
1 => 'market',
2 => 'market',
),
)
[ info ] [ HEADER ] array (
'connection' => 'close',
'content-length' => '0',
'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet',
'accept' => '*/*',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] api\portal\controller\MarketController->market[ D:\PHPTutorial\WWW\xinmeiti\api\portal\controller\MarketController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_market` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT * FROM `xmt_market` [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-08T11:07:26+08:00 ] 127.0.0.1 127.0.0.1 POST /api/doc/debug
[ info ] maifuzi.com/api/doc/debug [运行时间:0.145000s][吞吐率:6.90req/s] [内存消耗:2,547.11kb] [文件加载:70]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.019000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'debug',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc/info?name=api\\portal\\controller\\MarketController::market',
'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'origin' => 'http://maifuzi.com',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'content-length' => '146',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
'url' => 'http://maifuzi.com/api/portal/market/market',
'method_type' => 'POST',
'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet',
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->debug[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ]
---------------------------------------------------------------
[ 2018-12-08T14:26:54+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc
[ info ] maifuzi.com/api/doc [运行时间:0.071000s][吞吐率:14.08req/s] [内存消耗:2,703.42kb] [文件加载:72]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'index',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'cache-control' => 'max-age=0',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'doc',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.003000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.019000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T14:26:56+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search
[ info ] maifuzi.com/api/doc/search [运行时间:0.089000s][吞吐率:11.24req/s] [内存消耗:2,905.77kb] [文件加载:81]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'search',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'upgrade-insecure-requests' => '1',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ]
[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array (
0 => 'title',
1 => 'version',
2 => 'copyright',
3 => 'static',
4 => 'root',
5 => 'module',
) ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.019000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
---------------------------------------------------------------
[ 2018-12-08T14:26:56+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list
[ info ] maifuzi.com/api/doc/list [运行时间:0.079000s][吞吐率:12.66req/s] [内存消耗:2,875.88kb] [文件加载:79]
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.028000s ]
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\Api\\Doc\\DocController',
1 => 'getList',
),
'var' =>
array (
),
)
[ info ] [ HEADER ] array (
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet',
'accept-language' => 'zh-CN,zh;q=0.9',
'accept-encoding' => 'gzip, deflate',
'referer' => 'http://maifuzi.com/api/doc',
'user-agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36',
'x-requested-with' => 'XMLHttpRequest',
'accept' => 'application/json, text/javascript, */*; q=0.01',
'connection' => 'close',
'host' => 'maifuzi.com',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php
[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ]
[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ]
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.000000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ]
[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ]
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:79:"D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html";i:1542250542;s:79:"D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\base.html";i:1542250542;s:79:"D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\head.html";i:1542250542;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $title; ?></title>
<link href='<?php echo $static; ?>/css/bootstrap.min.css' rel='stylesheet' type='text/css'>
<link href='<?php echo $static; ?>/css/style.css' rel='stylesheet' type='text/css'>
<script src="<?php echo $static; ?>/js/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="<?php echo $static; ?>/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<link href='<?php echo $static; ?>/css/json.css' rel='stylesheet' type='text/css'>
<script src="<?php echo $static; ?>/js/json.js" type="text/javascript"></script>
<body>
<div class="container">
<div class="jumbotron">
<p class="bg-success" style="font-size: 18px;">文档地址:<?php echo $root; ?>/doc?name=<?php echo $doc['name']; ?></p>
<h2>接口:<?php echo (isset($doc['title']) && ($doc['title'] !== '')?$doc['title']:"请设置title注释"); ?></h2>
<p>接口地址:<?php echo (isset($doc['url']) && ($doc['url'] !== '')?$doc['url']:"请设置url注释"); ?> <span class="label label-success"><?php echo (isset($doc['method']) && ($doc['method'] !== '')?$doc['method']:'GET'); ?></span></p>
<p class="text-primary"><?php echo (isset($doc['title']) && ($doc['title'] !== '')?$doc['title']:"请设置title注释"); ?> -- <?php echo (isset($doc['author']) && ($doc['author'] !== '')?$doc['author']:"请设置auhtor注释"); ?></p>
<br/>
<p><strong><?php echo (isset($doc['description']) && ($doc['description'] !== '')?$doc['description']:""); ?></strong></p><br/>
<ul id="myTab" class="nav nav-tabs">
<li class="active"><a href="#info" data-toggle="tab">接口信息</a></li>
<li><a href="#test" data-toggle="tab">在线测试</a></li>
</ul>
<div class="tab-content">
<!--info-->
<div class="tab-pane fade in active" id="info">
<?php if(isset($doc['header']) && !empty($doc['header'])): ?>
<h3>请求Headers</h3>
<table class="table table-striped" >
<tr><th>名称</th><th>是否必须</th><th>默认值</th><th>说明</th></tr>
<?php if(is_array($doc['header']) || $doc['header'] instanceof \think\Collection || $doc['header'] instanceof \think\Paginator): $i = 0; $__LIST__ = $doc['header'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$head): $mod = ($i % 2 );++$i;?>
<tr>
<td><?php echo (isset($head['name']) && ($head['name'] !== '')?$head['name']:"-"); ?></td>
<td><?php if($head['require'] == 1): ?>必填<?php else: ?>非必填<?php endif; ?></td>
<td><?php echo (isset($head['default']) && ($head['default'] !== '')?$head['default']:"-"); ?></td>
<td><?php echo (isset($head['desc']) && ($head['desc'] !== '')?$head['desc']:"-"); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</table>
<br>
<?php endif; if(isset($doc['param'])): ?>
<h3>接口参数</h3>
<table class="table table-striped" >
<tr><th>参数名字</th><th>类型</th><th>是否必须</th><th>默认值</th><th>其他</th><th>说明</th></tr>
<?php if(is_array($doc['param']) || $doc['param'] instanceof \think\Collection || $doc['param'] instanceof \think\Paginator): $i = 0; $__LIST__ = $doc['param'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$param): $mod = ($i % 2 );++$i;?>
<tr>
<td><?php echo (isset($param['name']) && ($param['name'] !== '')?$param['name']:"-"); ?></td>
<td><?php echo (isset($param['type']) && ($param['type'] !== '')?$param['type']:"-"); ?></td>
<td><?php if($param['require'] == 1): ?>必填<?php else: ?>非必填<?php endif; ?></td>
<td><?php echo (isset($param['default']) && ($param['default'] !== '')?$param['default']:"-"); ?></td>
<td><?php echo (isset($param['other']) && ($param['other'] !== '')?$param['other']:"-"); ?></td>
<td><?php echo (isset($param['desc']) && ($param['desc'] !== '')?$param['desc']:"-"); ?></td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</table>
<br>
<?php endif; if(isset($doc['remark'])): ?>
<h3>备注说明</h3>
<div role="alert" class="alert alert-info">
<?php echo (isset($doc['remark']) && ($doc['remark'] !== '')?$doc['remark']:"无"); ?>
</div>
<br>
<?php endif; ?>
<h3>返回结果</h3>
<p><code id="json_text"><?php echo $return; ?></code></p>
</div>
<!--info-->
<!--test-->
<div class="tab-pane fade in" id="test">
<br>
<!--head-->
<div class="panel panel-primary" style="border-color: #00A881">
<div class="panel-heading" style="border-color: #00A881;background-color: #00A881">
<h3 class="panel-title">接口参数</h3>
</div>
<div class="panel-body">
<form id="apiform" class="form-horizontal" role="form">
<div class="form-group">
<label class="col-sm-2 control-label">接口地址</label>
<div class="col-sm-6">
<input class="form-control" type="text" name="url" value='<?php echo isset($doc["url"]) ? $root.$doc["url"] : "请设置url注释"; ?>'>
</div>
<div class="col-sm-4"><button type="button" id="send" class="btn btn-success" data-loading-text="Loading..." autocomplete="off">发送测试</button></div>
</div>
<?php if(isset($doc['header']) && !empty($doc['header'])): if(is_array($doc['header']) || $doc['header'] instanceof \think\Collection || $doc['header'] instanceof \think\Paginator): $i = 0; $__LIST__ = $doc['header'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$head): $mod = ($i % 2 );++$i;?>
<div class="form-group">
<label class="col-sm-2 control-label"><span class="badge">header</span> <?php echo (isset($head['name']) && ($head['name'] !== '')?$head['name']:""); ?></label>
<div class="col-sm-6">
<input class="form-control" type="text" name="header[<?php echo $head['name']; ?>]" value="">
</div>
<div class="col-sm-4"><label class="control-label text-warning"></label></div>
</div>
<?php endforeach; endif; else: echo "" ;endif; endif; ?>
<div class="form-group">
<label class="col-sm-2 control-label">提交方式</label>
<div class="col-sm-6">
<select class="form-control" name="method_type">
<option value="GET" <?php if(isset($doc['method']) && strtoupper($doc['method']) == 'GET'): ?>selected<?php endif; ?>>GET</option>
<option value="POST" <?php if(isset($doc['method']) && strtoupper($doc['method']) == 'POST'): ?>selected<?php endif; ?>>POST</option>
<option value="PUT" <?php if(isset($doc['method']) && strtoupper($doc['method']) == 'PUT'): ?>selected<?php endif; ?>>PUT</option>
<option value="DELETE" <?php if(isset($doc['method']) && strtoupper($doc['method']) == 'DELETE'): ?>selected<?php endif; ?>>DELETE</option>
</select>
</div>
<div class="col-sm-4"></div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Cookie</label>
<div class="col-sm-6">
<textarea class="form-control" type="text" name="cookie"><?php echo http_build_query($_COOKIE,'',';'); ?></textarea>
</div>
<div class="col-sm-4"></div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">&nbsp;&nbsp;&nbsp;</label>
<div class="col-sm-6">
<button type="button" class="btn btn-warning" data-toggle="modal" data-target="#addParamModal">
<span class="glyphicon glyphicon-plus"></span> 增加参数</button>
</div>
</div>
<?php if(isset($doc['param'])): if(is_array($doc['param']) || $doc['param'] instanceof \think\Collection || $doc['param'] instanceof \think\Paginator): $i = 0; $__LIST__ = $doc['param'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$param): $mod = ($i % 2 );++$i;?>
<div class="form-group">
<label class="col-sm-2 control-label"><?php echo (isset($param['name']) && ($param['name'] !== '')?$param['name']:""); ?></label>
<div class="col-sm-6">
<input class="form-control" type="text" name="<?php echo (isset($param['name']) && ($param['name'] !== '')?$param['name']:''); ?>" value="">
</div>
<div class="col-sm-4"><label class="control-label text-warning"></label></div>
</div>
<?php endforeach; endif; else: echo "" ;endif; endif; ?>
</form>
</div>
</div>
<!--head-->
<div class="panel panel-primary" style="border-color: #00A881;">
<div class="panel-heading" style="border-color: #00A881;background-color: #00A881">
<h3 class="panel-title">返回结果</h3>
</div>
<div class="panel-body" id="span_result">
<div class="form-inline result_body">
<button type="button" class="btn btn-info" data-toggle="modal" data-target="#addJosnTextmModal">自定义解析数据</button>
<label>缩进量:</label>
<select class="form-control" id="TabSize" onchange="TabSizeChanged()">
<option value="1">1</option>
<option value="2" selected="true">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
<input type="checkbox" id="QuoteKeys" onclick="QuoteKeysClicked()" checked="true"/> <label>引号</label>
<a href="javascript:void(0);" onclick="SelectAllClicked()">全选</a>
<a href="javascript:void(0);" onclick="ExpandAllClicked()">展开</a>
<a href="javascript:void(0);" onclick="CollapseAllClicked()">叠起</a>
<a href="javascript:void(0);" onclick="CollapseLevel(3)">2级</a>
<a href="javascript:void(0);" onclick="CollapseLevel(4)">3级</a>
<a href="javascript:void(0);" onclick="CollapseLevel(5)">4级</a>
<a href="javascript:void(0);" onclick="CollapseLevel(6)">5级</a>
<a href="javascript:void(0);" onclick="CollapseLevel(7)">6级</a>
<a href="javascript:void(0);" onclick="CollapseLevel(8)">7级</a>
<a href="javascript:void(0);" onclick="CollapseLevel(9)">8级</a>
</div>
<div id="Canvas" class="Canvas"></div>
</div>
</div>
</div>
<!--test-->
</div>
<br/>
<div role="alert" class="alert alert-info">
<strong>提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改</strong>
</div>
</div>
<p>&copy; <?php echo $copyright; ?> <p>
</div>
<!-- 模态框(Modal) -->
<div class="modal fade" id="addParamModal" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close"
data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">增加参数</h4>
</div>
<div class="modal-body">
<form class="form-horizontal" role="form">
<div class="form-group">
<label class="col-sm-2 control-label">参数名</label>
<div class="col-sm-6">
<input class="form-control" type="text" name="addparam" value="">
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
<button type="button" class="btn btn-primary" id="addParam">提交</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
<!-- 模态框(Modal) -->
<div class="modal fade" id="addJosnTextmModal" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close"
data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">输入需要解析的json文本...</h4>
</div>
<div class="modal-body">
<form class="form-horizontal" role="form">
<div class="form-group">
<label class="col-sm-2 control-label">JSON文本</label>
<div class="col-sm-10">
<textarea class="form-control" name="jsonText" style="width:450px;height: 200px;"></textarea>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
<button type="button" class="btn btn-primary" id="addJson">解析</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
<script type="text/javascript">
$(function () {
$('#addParamModal').on('show.bs.modal', function () {
init();
})
$('#addParamModal').on('hide.bs.modal', function () {
//关闭
})
//发送
$("#send").click(function(){
var $btn = $(this).button('loading');
$.ajax({
type: "POST",
url: "<?php echo $root; ?>/doc/debug",
data: $("#apiform").serialize(),
dataType:'json',
success: function (data) {
window.json = data.result;
Process();
$btn.button('reset');
},
complete : function(XMLHttpRequest,status){
if(status == 'timeout'){
alert("网络超时");
$btn.button('reset');
}
}
});
});
// 添加自定义json
$('#addJosnTextmModal').on('show.bs.modal', function () {
init();
})
$('#addJosnTextmModal').on('hide.bs.modal', function () {
//关闭
})
window.ImgCollapsed = "<?php echo $static; ?>/img/Collapsed.gif";
window.ImgExpanded = "<?php echo $static; ?>/img/Expanded.gif";
});
function init(){
$("#addParam").click(function(){
var name = $('input[name="addparam"]').val();
if(name.length > 0){
var group = $("#apiform").find('.form-group').last().clone(true);
$(group).find('.col-sm-2').text(name);
$(group).find('.form-control').attr('name',name);
$(group).find('.form-control').attr('value','');
$(group).find('.text-warning').text('');
$("#apiform").append(group);
}
$('#addParamModal').modal('hide');
});
$("#addJson").click(function(){
window.json = $('textarea[name="jsonText"]').val();
Process();
$('#addJosnTextmModal').modal('hide');
});
}
</script>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:81:"D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html";i:1542250542;s:79:"D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\base.html";i:1542250542;s:79:"D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\head.html";i:1542250542;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $title; ?></title>
<link href='<?php echo $static; ?>/css/bootstrap.min.css' rel='stylesheet' type='text/css'>
<link href='<?php echo $static; ?>/css/style.css' rel='stylesheet' type='text/css'>
<script src="<?php echo $static; ?>/js/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="<?php echo $static; ?>/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<style type="text/css">
.title{text-align: center;margin: 100px auto;}
.module{text-align: center;margin: 20px auto;}
.search {position: relative;}
.search .typeahead{width: 80%;font-size: 18px;line-height: 1.3333333;}
.search input{width: 80%;display: inline-block;}
.search button{height: 48px;width: 18%; margin-top: -5px; text-transform: uppercase;font-weight: bold;font-size: 14px; }
</style>
<script src="<?php echo $static; ?>/js/bootstrap-typeahead.js" type="text/javascript"></script>
<body>
<div class="container">
<div class="title">
<h1><?php echo $title; ?></h1>
</div>
<div class="module">
<ul class="nav nav-pills">
<?php if(is_array($module) || $module instanceof \think\Collection || $module instanceof \think\Paginator): $i = 0; $__LIST__ = $module;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$group): $mod = ($i % 2 );++$i;if(isset($group['children'])): ?>
<li role="presentation" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
<?php echo (isset($group['title']) && ($group['title'] !== '')?$group['title']:''); ?> <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<?php if(is_array($group['children']) || $group['children'] instanceof \think\Collection || $group['children'] instanceof \think\Paginator): $i = 0; $__LIST__ = $group['children'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
<li role="presentation"><a href="#" module><?php echo (isset($val['title']) && ($val['title'] !== '')?$val['title']:''); ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</li>
<?php else: ?>
<li role="presentation"><a href="#" module><?php echo (isset($group['title']) && ($group['title'] !== '')?$group['title']:''); ?></a></li>
<?php endif; endforeach; endif; else: echo "" ;endif; ?>
</ul>
</div>
<div class="form-group search">
<input id="search_input" class="form-control input-lg ng-pristine ng-empty ng-invalid ng-invalid-required" type="text" placeholder="接口名称/接口信息/作者/接口地址" data-provide="typeahead" autocomplete="off">
<button class="btn btn-lg btn-success" id="search" data-loading-text="Loading..." autocomplete="off"><i class="glyphicon glyphicon-search"></i> 搜 素</button>
</div>
<div class="result">
<div class="list-group"></div>
</div>
</div>
<script type="text/javascript">
$(function () {
$('#search_input').typeahead({
source: function (query, process) {
$.getJSON("<?php echo $root; ?>/doc/search", { "query": query }, function(data){
var items = [];
$.each(data, function(index, doc){
items.push(doc.title);
});
process(items);
});
}
});
$('#search').click(function(){
var query = $('#search_input').val();
var $btn = $(this).button('loading');
$.ajax({
type: "GET",
url: "<?php echo $root; ?>/doc/search?query="+query,
dataType:'json',
success: function (data) {
$(".result .list-group").html('');
$.each(data, function(index, doc){
var item = '<a href="javascript:void(0)" class="list-group-item" name="'+ doc.name +'" title="'+ doc.title +'" doc>' +
'<span class="badge">'+ doc.author +'</span>' +
''+ doc.title + '<span class="text-primary">('+ doc.url +')</span>'+'</a>';
$(".result .list-group").append(item);
});
$btn.button('reset');
},
complete : function(XMLHttpRequest,status){
if(status == 'timeout'){
alert("网络超时");
$btn.button('reset');
}
}
});
});
$('a[module]').click(function(){
if(window.parent)
{
var zTree = window.parent.zTree;
var node = zTree.getNodeByParam("title", $(this).text());
zTree.selectNode(node);
}
});
$(".result .list-group").on('click', 'a[doc]', function(){
if(window.parent)
{
var zTree = window.parent.zTree;
var node = zTree.getNodeByParam("name", $(this).attr('name'));
window.parent.loadText(node.tId, $(this).attr('title'), $(this).attr('name'));
zTree.selectNode(node);
}
});
});
</script>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:80:"D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html";i:1542250542;s:79:"D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\base.html";i:1542250542;s:79:"D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\head.html";i:1542250542;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $title; ?></title>
<link href='<?php echo $static; ?>/css/bootstrap.min.css' rel='stylesheet' type='text/css'>
<link href='<?php echo $static; ?>/css/style.css' rel='stylesheet' type='text/css'>
<script src="<?php echo $static; ?>/js/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="<?php echo $static; ?>/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<script src="<?php echo $static; ?>/js/zTree_v3/js/jquery.ztree.core-3.5.min.js" type="text/javascript"></script>
<link href="<?php echo $static; ?>/js//zTree_v3/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" />
<style type="text/css">
.tab-content{width: 100%;height: 100%; overflow: hidden;}
.tab-content .tab-pane{width: 100%;height: 100%; overflow: hidden;}
</style>
<body>
<div class="zt_header">
<?php echo $title; ?>
<span><?php echo $version; ?></span>
<span class="zt_download"><?php echo $copyright; ?></span>
</div>
<div class="zt_main">
<div class="zt_navi">
<div class="zt_navi_inner">
<div class="ztree" id="zt_navi_tree"></div>
</div>
</div>
<div class="zt_content" style="overflow: hidden;">
<ul id="apiTab" class="nav nav-tabs">
<li id="index_tab" class="active"><a href="#index_tab_content" data-toggle="tab">搜索</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane fade in active" id="index_tab_content"><iframe id="zt_text" src="<?php echo $root; ?>/doc/search" width="100%" height="100%" frameborder="0"></iframe></div>
</div>
</div>
</div>
<script type="text/javascript">
var setting = {
view: {
selectedMulti: false
},
callback: {
beforeClick: beforeClick,
onClick: onClick
},
data:{
key:{
children: "actions",
name: "title",
url:"",
}
}
};
function beforeClick(treeId, treeNode, clickFlag) {
if (treeNode.isParent) {
zTree.expandNode(treeNode);
return false;
}else if(!treeNode.isText){
return false;
}
return true;
}
function onClick(event, treeId, treeNode, clickFlag) {
if (!treeNode.isParent) {
if(treeNode.isText){
var tab_id = treeNode.tId;
var name = treeNode.title;
loadText(tab_id, name, treeNode.name);
}
}
}
function closeTab(tab) {
var id = $(tab).parent().parent().attr('id');
$("#" + id).remove();
$("#" + id + "_content").remove();
//显示最后一个tab
id = $("#apiTab").find('>li:last').attr('id');
$("#"+id+" > a").click();
}
function loadText(tab_id, title, name){
//创建tab
var tab_id = tab_id + "_tab";
if($("#"+tab_id).length == 0)
{
// class="active"
$("#apiTab").append('<li id="'+ tab_id +'"><a href="#' + tab_id + '_content" data-toggle="tab">'+ title +' <span class="glyphicon glyphicon-remove" onclick="closeTab(this)" style="cursor:pointer"></span></a></li>');
}else{
$("#"+tab_id+" > a").click();
}
var tab_content = tab_id + "_content";
if($("#"+tab_content).length == 0)
{
// active
$(".zt_content > .tab-content").append('<div class="tab-pane fade in" id="'+ tab_content +'"><iframe id="zt_text" src="" width="100%" height="100%" frameborder="0"></iframe></div>');
$("#"+tab_id+" > a").click();
}
var content_text = $("#" + tab_content).find("#zt_text");
$(content_text).html("<p>加载中……</p>");
$(content_text).attr("src","<?php echo $root; ?>/doc/info?name="+name);
initHeight();
}
var zTree;
$(document).ready(function(){
$.ajax({
url: "<?php echo $root; ?>/doc/list",
dataType: "json",
success: function(data){
var zNodes = data.list;
zTree = $.fn.zTree.init($("#zt_navi_tree"), setting, zNodes);
var currentId = data.firstId || '<?php str_replace('\\', '\\\\', $doc) ?>';
if(currentId) {
var node = zTree.getNodeByParam("name", currentId);
loadText(node.tId, node.title, node.name);
zTree.selectNode(node);
}
}
});
initHeight();
});
function initHeight()
{
$(".tab-content").height($(".zt_content").height() - $("#apiTab").height());
}
</script>
</body>
</html>
\ No newline at end of file
<?php
//000000000000
exit();?>
a:0:{}
\ No newline at end of file
<?php
//000000000000
exit();?>
a:4:{s:9:"site_name";s:33:"新媒体分销内容管理框架";s:14:"site_seo_title";s:33:"新媒体分销内容管理框架";s:17:"site_seo_keywords";s:69:"bronet,php,内容管理框架,cmf,cms,简约风, simplewind,framework";s:20:"site_seo_description";s:84:"bronet是简约风网络科技发布的一款用于快速开发的内容管理框架";}
\ No newline at end of file
此 diff 太大无法显示。
此 diff 太大无法显示。
此 diff 太大无法显示。
此 diff 太大无法显示。
此 diff 太大无法显示。
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:66:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\\step3.html";i:1542250542;s:71:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\public\head.html";i:1542250542;s:73:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\public\header.html";i:1542250542;s:73:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\public\footer.html";i:1542250542;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>bronet安装</title>
<link rel="stylesheet" href="__STATIC__/install/simpleboot/themes/flat/theme.min.css" />
<link rel="stylesheet" href="__STATIC__/install/css/install.css" />
<link rel="stylesheet" href="__STATIC__/font-awesome/css/font-awesome.min.css" type="text/css">
</head>
<body>
<div class="wrap">
<div class="header">
<h1 class="logo">bronet 安装向导</h1>
<div class="version"><?php echo BRONET_VERSION; ?></div>
</div>
<section class="section">
<div class="step">
<ul class="unstyled">
<li class="on"><em>1</em>检测环境</li>
<li class="current"><em>2</em>创建数据</li>
<li><em>3</em>完成安装</li>
</ul>
</div>
<form id="js-install-form" action="<?php echo url('index/step4'); ?>" method="post">
<input type="hidden" name="force" value="0"/>
<div class="server">
<table width="100%">
<tr>
<td class="td1" width="100">数据库信息</td>
<td class="td1" width="200">&nbsp;</td>
<td class="td1">&nbsp;</td>
</tr>
<tr>
<td class="text-left">数据库服务器:</td>
<td><input type="text" name="dbhost" id="dbhost" value="127.0.0.1" class="input"></td>
<td>
<div id="js-install-tip-dbhost">
<span class="gray">数据库服务器地址,一般为127.0.0.1或localhost</span>
</div>
</td>
</tr>
<tr>
<td class="text-left">数据库端口:</td>
<td><input type="text" name="dbport" id="dbport" value="3306" class="input"></td>
<td>
<div id="js-install-tip-dbport">
<span class="gray">数据库服务器端口,一般为3306</span>
</div>
</td>
</tr>
<tr>
<td class="text-left">数据库用户名:</td>
<td><input type="text" name="dbuser" id="dbuser" value="root" class="input"></td>
<td>
<div id="js-install-tip-dbuser"></div>
</td>
</tr>
<tr>
<td class="text-left">数据库密码:</td>
<td>
<input type="password" name="dbpw" id="dbpw" value="" class="input" autoComplete="off"
onblur="TestDbPwd()">
</td>
<td>
<div id="js-install-tip-dbpw"></div>
</td>
</tr>
<tr>
<td class="text-left">数据库名:</td>
<td><input type="text" name="dbname" id="dbname" value="bronet5" class="input"></td>
<td>
<div id="js-install-tip-dbname">
<span class="gray">最好小写字母</span>
</div>
</td>
</tr>
<tr>
<td class="text-left">数据库表前缀:</td>
<td><input type="text" name="dbprefix" id="dbprefix" value="bro_" class="input"></td>
<td>
<div id="js-install-tip-dbprefix">
<span class="gray">建议使用默认,同一数据库安装多个项目时需修改</span>
</div>
</td>
</tr>
<tr>
<td class="text-left">数据库编码:</td>
<td>
<select type="text" name="dbcharset" id="dbcharset" value="" class="input">
<option value="utf8mb4">utf8mb4</option>
<option value="utf8">utf8</option>
</select>
</td>
<td>
<div id="js-install-tip-dbcharset">
<span class="gray">如果您的服务器是虚拟空间不支持uft8mb4,请选择 utf8</span>
</div>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td class="td1" width="100">网站配置</td>
<td class="td1" width="200">&nbsp;</td>
<td class="td1">&nbsp;</td>
</tr>
<tr>
<td class="text-left">网站名称:</td>
<td><input type="text" name="sitename" value="bronet内容管理框架" class="input"></td>
<td>
<div id="js-install-tip-sitename"></div>
</td>
</tr>
<tr>
<td class="text-left">关键词:</td>
<td>
<input type="text" name="sitekeywords"
value="bronet,php,内容管理框架,cmf,cms,简约风, simplewind,framework" class="input"
autoComplete="off">
</td>
<td>
<div id="js-install-tip-sitekeywords"></div>
</td>
</tr>
<tr>
<td class="text-left">描述:</td>
<td>
<input type="text" name="siteinfo" class="input" value="bronet是简约风网络科技发布的一款用于快速开发的内容管理框架">
</td>
<td>
<div id="js-install-tip-siteinfo"></div>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td class="td1" width="100">创始人信息</td>
<td class="td1" width="200">&nbsp;</td>
<td class="td1">&nbsp;</td>
</tr>
<tr>
<td class="text-left">管理员帐号:</td>
<td><input type="text" name="manager" value="bronet" class="input"></td>
<td>
<div id="js-install-tip-manager"></div>
</td>
</tr>
<tr>
<td class="text-left">密码:</td>
<td>
<input type="password" name="manager_pwd" id="js-manager-pwd" class="input"
autoComplete="off">
</td>
<td>
<div id="js-install-tip-manager_pwd"></div>
</td>
</tr>
<tr>
<td class="text-left">重复密码:</td>
<td>
<input type="password" name="manager_ckpwd" class="input" autoComplete="off">
</td>
<td>
<div id="js-install-tip-manager_ckpwd"></div>
</td>
</tr>
<tr>
<td class="text-left">Email:</td>
<td><input type="text" name="manager_email" class="input" value=""></td>
<td>
<div id="js-install-tip-manager_email"></div>
</td>
</tr>
</table>
<div id="js-response-tips" style="display: none;"></div>
</div>
<div class="bottom text-center">
<a href="<?php echo url('index/step2'); ?>" class="btn btn-primary">上一步</a>
<button type="submit" class="btn btn-primary">创建数据</button>
</div>
</form>
</section>
<script src="__STATIC__/js/jquery.js"></script>
<script src="__STATIC__/js/validate.js"></script>
<script src="__STATIC__/js/ajaxForm.js"></script>
<script>
function TestDbPwd() {
var dbHost = $('#dbhost').val();
var dbUser = $('#dbuser').val();
var dbPwd = $('#dbpw').val();
var dbName = $('#dbname').val();
var dbPort = $('#dbport').val();
data = {
'hostname': dbHost,
'username': dbUser,
'password': dbPwd,
'hostport': dbPort
};
var url = "<?php echo url('index/testDbPwd'); ?>";
$.ajax({
type: "POST",
url: url,
data: data,
beforeSend: function () {
},
success: function (msg) {
if (msg) {
} else {
$('#dbpw').val("");
$('#js-install-tip-dbpw').html('<span for="dbname" generated="true" class="tips-error" style="">数据库链接配置失败</span>');
}
},
complete: function () {
},
error: function () {
$('#js-install-tip-dbpw').html('<span for="dbname" generated="true" class="tips-error" style="">数据库链接配置失败</span>');
$('#dbpw').val("");
}
});
}
$(function () {
//聚焦时默认提示
var focus_tips = {
dbhost: '数据库服务器地址,一般为localhost',
dbport: '数据库服务器端口,一般为3306',
dbuser: '',
dbpw: '',
dbname: '',
dbprefix: '建议使用默认,同一数据库安装多个bronet时需修改',
dbcharset: '如果您的服务器是虚拟空间不支持uft8mb4,请选择 utf8',
manager: '创始人帐号,拥有站点后台所有管理权限',
manager_pwd: '',
manager_ckpwd: '',
sitename: '',
siteurl: '请以“/”结尾',
sitekeywords: '',
siteinfo: '',
manager_email: ''
};
var install_form = $("#js-install-form");
//validate插件修改了remote ajax验证返回的response处理方式;增加密码强度提示 passwordRank
install_form.validate({
//debug : true,
//onsubmit : false,
errorPlacement: function (error, element) {
//错误提示容器
$('#js-install-tip-' + element[0].name).html(error);
},
errorElement: 'span',
//invalidHandler : , 未验证通过 回调
//ignore : '.ignore' 忽略验证
//onkeyup : true,
errorClass: 'tips-error',
validClass: 'tips-error',
onkeyup: false,
focusInvalid: false,
rules: {
dbhost: {required: true},
dbport: {required: true},
dbuser: {required: true},
/* dbpw: {required : true}, */
dbname: {required: true},
dbprefix: {required: true},
manager: {required: true},
manager_pwd: {required: true},
manager_ckpwd: {required: true, equalTo: '#js-manager-pwd'},
manager_email: {required: true, email: true}
},
highlight: false,
unhighlight: function (element, errorClass, validClass) {
var tip_elem = $('#js-install-tip-' + element.name);
tip_elem.html('<span class="' + validClass + '" data-text="text"><span>');
},
onfocusin: function (element) {
var name = element.name;
$('#js-install-tip-' + name).html('<span data-text="text">' + focus_tips[name] + '</span>');
$(element).parents('tr').addClass('current');
},
onfocusout: function (element) {
var _this = this;
$(element).parents('tr').removeClass('current');
if (element.name === 'email') {
//邮箱匹配点击后,延时处理
setTimeout(function () {
_this.element(element);
}, 150);
} else {
_this.element(element);
}
},
messages: {
dbhost: {required: '数据库服务器地址不能为空'},
dbport: {required: '数据库服务器端口不能为空'},
dbuser: {required: '数据库用户名不能为空'},
dbpw: {required: '数据库密码不能为空'},
dbname: {required: '数据库名不能为空'},
dbprefix: {required: '数据库表前缀不能为空'},
manager: {required: '管理员帐号不能为空'},
manager_pwd: {required: '密码不能为空'},
manager_ckpwd: {required: '重复密码不能为空', equalTo: '两次输入的密码不一致,请重新输入.'},
manager_email: {required: 'Email不能为空', email: '请输入正确的电子邮箱地址'}
},
submitHandler: function (form) {
form.submit();
return true;
}
});
});
</script>
</div>
<div class="footer">
&copy; 2013-<?php echo date('Y'); ?> <a href="http://www.bronet.cn" target="_blank">bronet Team</a>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:66:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\\step4.html";i:1542250542;s:71:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\public\head.html";i:1542250542;s:73:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\public\header.html";i:1542250542;s:73:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\public\footer.html";i:1542250542;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>bronet安装</title>
<link rel="stylesheet" href="__STATIC__/install/simpleboot/themes/flat/theme.min.css" />
<link rel="stylesheet" href="__STATIC__/install/css/install.css" />
<link rel="stylesheet" href="__STATIC__/font-awesome/css/font-awesome.min.css" type="text/css">
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "<?php echo cmf_get_root(); ?>/",
WEB_ROOT: "<?php echo cmf_get_root(); ?>/",
JS_ROOT: "static/js/"
};
</script>
<script src="__STATIC__/js/jquery.js"></script>
<script src="__STATIC__/js/wind.js"></script>
<script type="text/html" id="exec-success-msg-tpl">
<li>
<i class="fa fa-check correct"></i>
{message}<br>
<!--<pre>{sql}</pre>-->
</li>
</script>
<script type="text/html" id="exec-fail-msg-tpl">
<li>
<i class="fa fa-remove error"></i>
{message}<br>
<pre>{sql}</pre>
<!--<pre>{exception}</pre>-->
</li>
</script>
</head>
<body>
<div class="wrap">
<div class="header">
<h1 class="logo">bronet 安装向导</h1>
<div class="version"><?php echo BRONET_VERSION; ?></div>
</div>
<section class="section">
<div class="step">
<ul class="unstyled">
<li class="on"><em>1</em>检测环境</li>
<li class="on"><em>2</em>创建数据</li>
<li class="current"><em>3</em>完成安装</li>
</ul>
</div>
<div class="install" id="log">
<ul id="install-msg-panel" class="unstyled"></ul>
</div>
<div class="bottom text-center">
<a href="javascript:;"><i class="fa fa-refresh fa-spin"></i>&nbsp;正在安装...</a>
</div>
</section>
<script type="text/javascript">
$(function () {
install(0);
});
Wind.use("noty", function () {
});
var $installMsgPanel = $('#install-msg-panel');
var $log = $("#log");
var execSuccessTpl = $('#exec-success-msg-tpl').html();
var execFailTpl = $('#exec-fail-msg-tpl').html();
var sqlExecResult;
function install(sqlIndex) {
$.ajax({
url: "<?php echo url('install/index/install'); ?>",
data: {sql_index: sqlIndex},
dataType: 'json',
type: 'post',
success: function (data) {
console.log(data);
var line = sqlIndex + 1;
if (data.code == 1) {
if (!(data.data && data.data.done)) {
var tpl = execSuccessTpl;
tpl = tpl.replace(/\{message\}/g, line + '.' + data.msg);
tpl = tpl.replace(/\{sql\}/g, data.data.sql);
$installMsgPanel.append(tpl);
} else {
$installMsgPanel.append('<li><i class="fa fa-check correct"></i>数据库安装完成!</li>');
sqlExecResult = data.data;
if (data.data.error) {
noty({
text: "安装过程,共" + data.data.error + "个SQL执行错误,可能您在此数据库下已经安装过 CMF,请查看问题后重新安装,或者<br>"
+ '<a target="_blank" href="https://github.com/bronet/bronet/issues">反馈问题</a>',
type: 'confirm',
layout: "center",
timeout: false,
modal: true,
buttons: [
{
addClass: 'btn btn-primary',
text: '确定',
onClick: function ($noty) {
$noty.close();
//setDbConfig();
}
},
{
addClass: 'btn btn-danger',
text: '取消',
onClick: function ($noty) {
$noty.close();
}
}
]
});
} else {
setDbConfig();
}
}
} else if (data.code == 0) {
var tpl = execFailTpl;
tpl = tpl.replace(/\{message\}/g, line + '.' + data.msg);
tpl = tpl.replace(/\{sql\}/g, data.data.sql);
tpl = tpl.replace(/\{exception\}/g, data.data.exception);
$installMsgPanel.append(tpl);
}
$log.scrollTop(1000000000);
if (!(data.data && data.data.done)) {
sqlIndex++;
install(sqlIndex);
}
},
error: function () {
},
complete: function () {
}
});
}
function setDbConfig() {
$.ajax({
url: "<?php echo url('install/index/setDbConfig'); ?>",
dataType: 'json',
data:{_hibronet:1},
type: 'post',
success: function (data) {
if (data.code == 1) {
$installMsgPanel.append('<li><i class="fa fa-check correct"></i>' + data.msg + '</li>');
$log.scrollTop(1000000000);
setSite();
} else {
$installMsgPanel.append('<li><i class="fa fa-remove error"></i>' + data.msg + '</li>');
$log.scrollTop(1000000000);
noty({
text: data.msg + ',请检查 data/conf/database.php 是否可写!',
type: 'confirm',
layout: "center",
timeout: false,
modal: true,
buttons: [
{
addClass: 'btn btn-primary',
text: '重试',
onClick: function ($noty) {
$noty.close();
setDbConfig();
}
},
{
addClass: 'btn btn-danger',
text: '取消',
onClick: function ($noty) {
$noty.close();
}
}
]
});
}
},
error: function () {
}
});
}
function setSite() {
$.ajax({
url: "<?php echo url('install/index/setSite'); ?>",
dataType: 'json',
data:{_hibronet:1},
type: 'post',
success: function (data) {
if (data.code == 1) {
$installMsgPanel.append('<li><i class="fa fa-check correct"></i>' + data.msg + '</li>');
$log.scrollTop(1000000000);
installTheme();
} else {
$installMsgPanel.append('<li><i class="fa fa-remove error"></i>' + data.msg + '</li>');
$log.scrollTop(1000000000);
noty({
text: data.msg,
type: 'confirm',
layout: "center",
timeout: false,
modal: true,
buttons: [
{
addClass: 'btn btn-primary',
text: '重试',
onClick: function ($noty) {
$noty.close();
setSite();
}
},
{
addClass: 'btn btn-danger',
text: '取消',
onClick: function ($noty) {
$noty.close();
}
}
]
});
}
},
error: function () {
}
});
}
function installTheme() {
$.ajax({
url: "<?php echo url('install/index/installTheme'); ?>",
dataType: 'json',
data:{_hibronet:1},
type: 'post',
success: function (data) {
if (data.code == 1) {
$installMsgPanel.append('<li><i class="fa fa-check correct"></i>' + data.msg + '</li>');
$log.scrollTop(1000000000);
setTimeout(function () {
window.location = "<?php echo url('install/index/step5'); ?>";
}, 1000);
} else {
$installMsgPanel.append('<li><i class="fa fa-remove error"></i>' + data.msg + '</li>');
$log.scrollTop(1000000000);
noty({
text: data.msg,
type: 'confirm',
layout: "center",
timeout: false,
modal: true,
buttons: [
{
addClass: 'btn btn-primary',
text: '重试',
onClick: function ($noty) {
$noty.close();
installTheme();
}
},
{
addClass: 'btn btn-danger',
text: '取消',
onClick: function ($noty) {
$noty.close();
}
}
]
});
}
},
error: function () {
}
});
}
</script>
</div>
<div class="footer">
&copy; 2013-<?php echo date('Y'); ?> <a href="http://www.bronet.cn" target="_blank">bronet Team</a>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:56:"themes/admin_simpleboot3/portal\admin_article\index.html";i:1542250542;s:43:"themes/admin_simpleboot3/public\header.html";i:1542250542;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="__TMPL__/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="__STATIC__/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "__ROOT__/",
WEB_ROOT: "__WEB_ROOT__/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="__STATIC__/js/wind.js"></script>
<script src="__TMPL__/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="javascript:;">所有文章</a></li>
<li><a href="<?php echo url('AdminArticle/add'); ?>">添加文章</a></li>
</ul>
<form class="well form-inline margin-top-20" method="post" action="<?php echo url('AdminArticle/index'); ?>">
分类:
<select class="form-control" name="category" style="width: 140px;">
<option value='0'>全部</option>
<?php echo (isset($category_tree) && ($category_tree !== '')?$category_tree:''); ?>
</select> &nbsp;&nbsp;
时间:
<input type="text" class="form-control js-bootstrap-datetime" name="start_time"
value="<?php echo (isset($start_time) && ($start_time !== '')?$start_time:''); ?>"
style="width: 140px;" autocomplete="off">-
<input type="text" class="form-control js-bootstrap-datetime" name="end_time"
value="<?php echo (isset($end_time) && ($end_time !== '')?$end_time:''); ?>"
style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;
关键字:
<input type="text" class="form-control" name="keyword" style="width: 200px;"
value="<?php echo (isset($keyword) && ($keyword !== '')?$keyword:''); ?>" placeholder="请输入关键字...">
<input type="submit" class="btn btn-primary" value="搜索"/>
<a class="btn btn-danger" href="<?php echo url('AdminArticle/index'); ?>">清空</a>
</form>
<form class="js-ajax-form" action="" method="post">
<div class="table-actions">
<?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/listOrder'); ?>"><?php echo lang('SORT'); ?>
</button>
<?php endif; ?>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/publish',array('yes'=>1)); ?>" data-subcheck="true">发布
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/publish',array('no'=>1)); ?>" data-subcheck="true">取消发布
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/top',array('yes'=>1)); ?>" data-subcheck="true">置顶
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/top',array('no'=>1)); ?>" data-subcheck="true">取消置顶
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/recommend',array('yes'=>1)); ?>" data-subcheck="true">推荐
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/recommend',array('no'=>1)); ?>" data-subcheck="true">取消推荐
</button>
<!--
<?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?>
<button class="btn btn-primary btn-sm js-articles-move" type="button">批量移动</button>
<?php endif; ?>
<button class="btn btn-primary btn-sm js-articles-copy" type="button">批量复制</button>
-->
<button class="btn btn-danger btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/delete'); ?>" data-subcheck="true" data-msg="您确定删除吗?">
<?php echo lang('DELETE'); ?>
</button>
</div>
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="15">
<label>
<input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
</label>
</th>
<?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?>
<th width="50"><?php echo lang('SORT'); ?></th>
<?php endif; ?>
<th width="50">ID</th>
<th>标题</th>
<th>分类</th>
<th width="50">作者</th>
<th width="65">点击量</th>
<th width="65">评论量</th>
<th width="160">关键字/来源<br>摘要/缩略图</th>
<th width="130">更新时间</th>
<th width="130">发布时间</th>
<th width="70">状态</th>
<th width="90">操作</th>
</tr>
</thead>
<?php if(is_array($articles) || $articles instanceof \think\Collection || $articles instanceof \think\Paginator): if( count($articles)==0 ) : echo "" ;else: foreach($articles as $key=>$vo): ?>
<tr>
<td>
<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
value="<?php echo $vo['id']; ?>" title="ID:<?php echo $vo['id']; ?>">
</td>
<?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?>
<td>
<input name="list_orders[<?php echo $vo['post_category_id']; ?>]" class="input-order" type="text"
value="<?php echo $vo['list_order']; ?>">
</td>
<?php endif; ?>
<td><b><?php echo $vo['id']; ?></b></td>
<td>
<?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?>
<a href="<?php echo cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$vo['category_id'])); ?>"
target="_blank"><?php echo $vo['post_title']; ?></a>
<?php else: ?>
<a href="<?php echo cmf_url('portal/Article/index',array('id'=>$vo['id'])); ?>"
target="_blank"><?php echo $vo['post_title']; ?></a>
<?php endif; ?>
</td>
<td>
<?php if(is_array($vo['categories']) || $vo['categories'] instanceof \think\Collection || $vo['categories'] instanceof \think\Paginator): if( count($vo['categories'])==0 ) : echo "" ;else: foreach($vo['categories'] as $key=>$voo): ?>
<span class="label label-default">
<a href="<?php echo cmf_url('portal/List/index',array('id'=>$voo['id'])); ?>"
style="color: #fff;"
target="_blank"
><?php echo $voo['name']; ?></a>
</span>&nbsp;
<?php endforeach; endif; else: echo "" ;endif; ?>
</td>
<td><?php echo $vo['user_nickname']; ?></td>
<td><?php echo (isset($vo['post_hits']) && ($vo['post_hits'] !== '')?$vo['post_hits']:0); ?></td>
<td>
<?php if(!(empty($vo['comment_count']) || (($vo['comment_count'] instanceof \think\Collection || $vo['comment_count'] instanceof \think\Paginator ) && $vo['comment_count']->isEmpty()))): ?>
<?php echo (isset($vo['comment_count']) && ($vo['comment_count'] !== '')?$vo['comment_count']:'0'); ?>
<!--<a href="javascript:parent.openIframeDialog('<?php echo url('comment/commentadmin/index',array('post_id'=>$vo['id'])); ?>','评论列表')"><?php echo $vo['comment_count']; ?></a>-->
<?php else: ?>
<?php echo (isset($vo['comment_count']) && ($vo['comment_count'] !== '')?$vo['comment_count']:'0'); endif; ?>
</td>
<td>
<?php if(!(empty($vo['post_keywords']) || (($vo['post_keywords'] instanceof \think\Collection || $vo['post_keywords'] instanceof \think\Paginator ) && $vo['post_keywords']->isEmpty()))): ?>
<i class="fa fa-check fa-fw"></i>
<?php else: ?>
<i class="fa fa-close fa-fw"></i>
<?php endif; if(!(empty($vo['post_source']) || (($vo['post_source'] instanceof \think\Collection || $vo['post_source'] instanceof \think\Paginator ) && $vo['post_source']->isEmpty()))): ?>
<i class="fa fa-check fa-fw"></i>
<?php else: ?>
<i class="fa fa-close fa-fw"></i>
<?php endif; if(!(empty($vo['post_excerpt']) || (($vo['post_excerpt'] instanceof \think\Collection || $vo['post_excerpt'] instanceof \think\Paginator ) && $vo['post_excerpt']->isEmpty()))): ?>
<i class="fa fa-check fa-fw"></i>
<?php else: ?>
<i class="fa fa-close fa-fw"></i>
<?php endif; if(!(empty($vo['more']['thumbnail']) || (($vo['more']['thumbnail'] instanceof \think\Collection || $vo['more']['thumbnail'] instanceof \think\Paginator ) && $vo['more']['thumbnail']->isEmpty()))): ?>
<a href="javascript:parent.imagePreviewDialog('<?php echo cmf_get_image_preview_url($vo['more']['thumbnail']); ?>');">
<i class="fa fa-photo fa-fw"></i>
</a>
<?php endif; ?>
</td>
<td>
<?php if(!(empty($vo['update_time']) || (($vo['update_time'] instanceof \think\Collection || $vo['update_time'] instanceof \think\Paginator ) && $vo['update_time']->isEmpty()))): ?>
<?php echo date('Y-m-d H:i',$vo['update_time']); endif; ?>
</td>
<td>
<?php if(empty($vo['published_time']) || (($vo['published_time'] instanceof \think\Collection || $vo['published_time'] instanceof \think\Paginator ) && $vo['published_time']->isEmpty())): ?>
未发布
<?php else: ?>
<?php echo date('Y-m-d H:i',$vo['published_time']); endif; ?>
</td>
<td>
<?php if(!(empty($vo['post_status']) || (($vo['post_status'] instanceof \think\Collection || $vo['post_status'] instanceof \think\Paginator ) && $vo['post_status']->isEmpty()))): ?>
<a data-toggle="tooltip" title="已发布"><i class="fa fa-check"></i></a>
<?php else: ?>
<a data-toggle="tooltip" title="未发布"><i class="fa fa-close"></i></a>
<?php endif; if(!(empty($vo['is_top']) || (($vo['is_top'] instanceof \think\Collection || $vo['is_top'] instanceof \think\Paginator ) && $vo['is_top']->isEmpty()))): ?>
<a data-toggle="tooltip" title="已置顶"><i class="fa fa-arrow-up"></i></a>
<?php else: ?>
<a data-toggle="tooltip" title="未置顶"><i class="fa fa-arrow-down"></i></a>
<?php endif; if(!(empty($vo['recommended']) || (($vo['recommended'] instanceof \think\Collection || $vo['recommended'] instanceof \think\Paginator ) && $vo['recommended']->isEmpty()))): ?>
<a data-toggle="tooltip" title="已推荐"><i class="fa fa-thumbs-up"></i></a>
<?php else: ?>
<a data-toggle="tooltip" title="未推荐"><i class="fa fa-thumbs-down"></i></a>
<?php endif; ?>
</td>
<td>
<a href="<?php echo url('AdminArticle/edit',array('id'=>$vo['id'])); ?>"><?php echo lang('EDIT'); ?></a>
<a href="<?php echo url('AdminArticle/delete',array('id'=>$vo['id'])); ?>" class="js-ajax-delete"><?php echo lang('DELETE'); ?></a>
</td>
</tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
<tfoot>
<tr>
<th width="15"><label><input type="checkbox" class="js-check-all" data-direction="x"
data-checklist="js-check-x"></label></th>
<?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?>
<th width="50"><?php echo lang('SORT'); ?></th>
<?php endif; ?>
<th width="50">ID</th>
<th>标题</th>
<th>分类</th>
<th width="50">作者</th>
<th width="65">点击量</th>
<th width="65">评论量</th>
<th width="160">关键字/来源<br>摘要/缩略图</th>
<th width="130">更新时间</th>
<th width="130">发布时间</th>
<th width="70">状态</th>
<th width="90">操作</th>
</tr>
</tfoot>
</table>
<div class="table-actions">
<?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/listOrder'); ?>"><?php echo lang('SORT'); ?>
</button>
<?php endif; ?>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/publish',array('yes'=>1)); ?>" data-subcheck="true">发布
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/publish',array('no'=>1)); ?>" data-subcheck="true">取消发布
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/top',array('yes'=>1)); ?>" data-subcheck="true">置顶
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/top',array('no'=>1)); ?>" data-subcheck="true">取消置顶
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/recommend',array('yes'=>1)); ?>" data-subcheck="true">推荐
</button>
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/recommend',array('no'=>1)); ?>" data-subcheck="true">取消推荐
</button>
<!--
<?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?>
<button class="btn btn-primary btn-sm js-articles-move" type="button">批量移动</button>
<?php endif; ?>
<button class="btn btn-primary btn-sm js-articles-copy" type="button">批量复制</button>
-->
<button class="btn btn-danger btn-sm js-ajax-submit" type="submit"
data-action="<?php echo url('AdminArticle/delete'); ?>" data-subcheck="true" data-msg="您确定删除吗?">
<?php echo lang('DELETE'); ?>
</button>
</div>
<ul class="pagination"><?php echo (isset($page) && ($page !== '')?$page:''); ?></ul>
</form>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script>
function reloadPage(win) {
win.location.reload();
}
$(function () {
setCookie("refersh_time", 0);
Wind.use('ajaxForm', 'artDialog', 'iframeTools', function () {
//批量复制
$('.js-articles-copy').click(function (e) {
var ids = [];
$("input[name='ids[]']").each(function () {
if ($(this).is(':checked')) {
ids.push($(this).val());
}
});
if (ids.length == 0) {
art.dialog.through({
id: 'error',
icon: 'error',
content: '您没有勾选信息,无法进行操作!',
cancelVal: '关闭',
cancel: true
});
return false;
}
ids = ids.join(',');
art.dialog.open("__ROOT__/index.php?g=portal&m=AdminArticle&a=copy&ids=" + ids, {
title: "批量复制",
width: "300px"
});
});
//批量移动
$('.js-articles-move').click(function (e) {
var ids = [];
$("input[name='ids[]']").each(function () {
if ($(this).is(':checked')) {
ids.push($(this).val());
}
});
if (ids.length == 0) {
art.dialog.through({
id: 'error',
icon: 'error',
content: '您没有勾选信息,无法进行操作!',
cancelVal: '关闭',
cancel: true
});
return false;
}
ids = ids.join(',');
art.dialog.open("__ROOT__/index.php?g=portal&m=AdminArticle&a=move&old_term_id=<?php echo (isset($term['term_id']) && ($term['term_id'] !== '')?$term['term_id']:0); ?>&ids=" + ids, {
title: "批量移动",
width: "300px"
});
});
});
});
</script>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:47:"themes/admin_simpleboot3/admin\index\index.html";i:1542250542;}*/ ?>
<!DOCTYPE html>
<html lang="zh_CN" style="overflow: hidden;">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta charset="utf-8">
<title><?php echo (isset($site_info['site_name']) && ($site_info['site_name'] !== '')?$site_info['site_name']:''); ?> <?php echo lang('ADMIN_CENTER'); ?></title>
<meta name="description" content="This is page-header (.page-header &gt; h1)">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="__TMPL__/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="__STATIC__/font-awesome/css/font-awesome.min.css?page=index" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/simplebootadminindex.min.css">
<style>
/*-----------------导航hack--------------------*/
.nav-list > li.open {
position: relative;
}
.nav-list > li.open .back {
display: none;
}
.nav-list > li.open .normal {
display: inline-block !important;
}
.nav-list > li.open a {
padding-left: 7px;
}
.nav-list > li .submenu > li > a {
background: #fff;
}
.nav-list > li .submenu > li a > [class*="fa-"]:first-child {
left: 20px;
}
.nav-list > li ul.submenu ul.submenu > li a > [class*="fa-"]:first-child {
left: 30px;
}
/*----------------导航hack--------------------*/
</style>
<script>
//全局变量
var GV = {
HOST: "<?php echo $_SERVER['HTTP_HOST']; ?>",
ROOT: "__ROOT__/",
WEB_ROOT: "__WEB_ROOT__/",
JS_ROOT: "static/js/"
};
</script>
<?php $submenus=$menus; function getsubmenu($submenus){ if(!(empty($submenus) || (($submenus instanceof \think\Collection || $submenus instanceof \think\Paginator ) && $submenus->isEmpty()))): foreach($submenus as $menu){ ?>
<li>
<?php
$menu_name=lang($menu['lang']);
$menu_name=$menu['lang']==$menu_name?$menu['name']:$menu_name;
if(empty($menu['items'])){ ?>
<a href="javascript:openapp('<?php echo $menu['url']; ?>','<?php echo $menu['id']; ?>','<?php echo $menu_name; ?>',true);">
<i class="fa fa-<?php echo (isset($menu['icon']) && ($menu['icon'] !== '')?$menu['icon']:'desktop'); ?>"></i>
<span class="menu-text"> <?php echo $menu_name; ?> </span>
</a>
<?php }else{ ?>
<a href="#" class="dropdown-toggle">
<i class="fa fa-<?php echo (isset($menu['icon']) && ($menu['icon'] !== '')?$menu['icon']:'desktop'); ?> normal"></i>
<span class="menu-text normal"> <?php echo $menu_name; ?> </span>
<b class="arrow fa fa-angle-right normal"></b>
<i class="fa fa-reply back"></i>
<span class="menu-text back">返回</span>
</a>
<ul class="submenu">
<?php getsubmenu1($menu['items']) ?>
</ul>
<?php } ?>
</li>
<?php } endif; } function getsubmenu1($submenus){ foreach($submenus as $menu){ ?>
<li>
<?php
$menu_name=lang($menu['lang']);
$menu_name=$menu['lang']==$menu_name?$menu['name']:$menu_name;
if(empty($menu['items'])){ ?>
<a href="javascript:openapp('<?php echo $menu['url']; ?>','<?php echo $menu['id']; ?>','<?php echo $menu_name; ?>',true);">
<i class="fa fa-caret-right"></i>
<span class="menu-text">
<?php echo $menu_name; ?>
</span>
</a>
<?php }else{ ?>
<a href="#" class="dropdown-toggle">
<i class="fa fa-caret-right"></i>
<span class="menu-text">
<?php echo $menu_name; ?>
</span>
<b class="arrow fa fa-angle-right"></b>
</a>
<ul class="submenu">
<?php getsubmenu2($menu['items']) ?>
</ul>
<?php } ?>
</li>
<?php } } function getsubmenu2($submenus){ foreach($submenus as $menu){ ?>
<li>
<?php
$menu_name=lang($menu['lang']);
$menu_name=$menu['lang']==$menu_name?$menu['name']:$menu_name;
?>
<a href="javascript:openapp('<?php echo $menu['url']; ?>','<?php echo $menu['id']; ?>','<?php echo $menu_name; ?>',true);">
&nbsp;<i class="fa fa-angle-double-right"></i>
<span class="menu-text">
<?php echo $menu_name; ?>
</span>
</a>
</li>
<?php } } if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
left: 0 !important;
right: initial !important;
}
</style>
<?php endif; ?>
</head>
<body style="min-width:900px;overflow: hidden;">
<div id="loading"><i class="loadingicon"></i><span><?php echo lang('LOADING'); ?></span></div>
<div id="right-tools-wrapper">
<!--<span id="right_tools_clearcache" title="清除缓存" onclick="javascript:openapp('<?php echo url('admin/Setting/clearcache'); ?>','right_tool_clearcache','清除缓存');"><i class="fa fa-trash-o right_tool_icon"></i></span>-->
<!--<span id="refresh-wrapper" title="<?php echo lang('REFRESH_CURRENT_PAGE'); ?>"><i-->
<!--class="fa fa-refresh right_tool_icon"></i></span>-->
</div>
<div class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a href="<?php echo url('admin/index/index'); ?>" class="navbar-brand" style="min-width: 200px;text-align: center;"><?php echo (isset($site_info['site_name']) && ($site_info['site_name'] !== '')?$site_info['site_name']:''); ?></a>
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse" id="navbar-main">
<div class="pull-left" style="position: relative;">
<a id="task-pre" class="task-changebt"><i class="fa fa-chevron-left"></i></a>
<div id="task-content">
<ul class="nav navbar-nav cmf-component-tab" id="task-content-inner">
<li class="cmf-component-tabitem noclose" app-id="0" app-url="<?php echo url('main/index'); ?>"
app-name="首页">
<a class="cmf-tabs-item-text"><?php echo lang('HOME'); ?></a>
</li>
</ul>
<div style="clear:both;"></div>
</div>
<a id="task-next" class="task-changebt"><i class="fa fa-chevron-right"></i></a>
</div>
<ul class="nav navbar-nav navbar-right simplewind-nav">
<li class="light-blue" style="border-left:none;">
<a id="refresh-wrapper" href="javacript:void(0);" title="<?php echo lang('REFRESH_CURRENT_PAGE'); ?>" style="color:#fff;font-size: 16px">
<i class="fa fa-refresh right_tool_icon"></i>
</a>
</li>
<li class="light-blue dropdown" style="border-left:none;">
<a data-toggle="dropdown" href="#" class="dropdown-toggle">
<?php if(isset($admin['avatar']) && $admin['avatar']): ?>
<img class="nav-user-photo" width="30" height="30"
src="<?php echo cmf_get_user_avatar_url($admin['avatar']); ?>" alt="<?php echo $admin['user_login']; ?>">
<?php endif; ?>
<span class="user-info">
<?php echo lang('WELCOME_USER',array('user_nickname' => empty($admin['user_nickname'] )? $admin['user_login'] : $admin['user_nickname'])); ?>
</span>
<i class="fa fa-caret-down"></i>
</a>
<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-closer">
<?php if(cmf_auth_check(cmf_get_current_admin_id(),'admin/Setting/site')): ?>
<li>
<a href="javascript:openapp('<?php echo url('setting/site'); ?>','index_site','<?php echo lang('ADMIN_SETTING_SITE'); ?>');"><i
class="fa fa-cog"></i> <?php echo lang('ADMIN_SETTING_SITE'); ?></a></li>
<?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'admin/user/userinfo')): ?>
<li>
<a href="javascript:openapp('<?php echo url('user/userinfo'); ?>','index_userinfo','<?php echo lang('ADMIN_USER_USERINFO'); ?>');"><i
class="fa fa-user"></i> <?php echo lang('ADMIN_USER_USERINFO'); ?></a></li>
<?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'admin/Setting/password')): ?>
<li>
<a href="javascript:openapp('<?php echo url('setting/password'); ?>','index_password','<?php echo lang('ADMIN_SETTING_PASSWORD'); ?>');"><i
class="fa fa-lock"></i> <?php echo lang('ADMIN_SETTING_PASSWORD'); ?></a></li>
<?php endif; ?>
<li><a href="<?php echo url('Public/logout'); ?>"><i class="fa fa-sign-out"></i> <?php echo lang('LOGOUT'); ?></a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="main-container container-fluid">
<div class="sidebar" id="sidebar">
<div class="sidebar-shortcuts" id="sidebar-shortcuts">
<a class="btn btn-sm btn-warning" href="__ROOT__/"
title="<?php echo lang('WEBSITE_HOME_PAGE'); ?>"
target="_blank"
data-toggle="tooltip">
<i class="fa fa-home"></i>
</a>
<!--
<?php if(cmf_auth_check(cmf_get_current_admin_id(),'portal/AdminCategory/index')): ?>
<a class="btn btn-sm btn-success" href="javascript:openapp('<?php echo url('portal/AdminCategory/index'); ?>','index_termlist','文章分类管理');" title="文章分类管理">
<i class="fa fa-th"></i>
</a>
<?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'portal/AdminArticle/index')): ?>
<a class="btn btn-sm btn-info" href="javascript:openapp('<?php echo url('portal/AdminArticle/index'); ?>','index_postlist','文章管理');" title="文章管理">
<i class="fa fa-pencil"></i>
</a>
<?php endif; ?>
-->
<?php if(cmf_auth_check(cmf_get_current_admin_id(),'user/AdminAsset/index')): ?>
<a class="btn btn-sm btn-info"
href="javascript:openapp('<?php echo url('user/AdminAsset/index'); ?>','userAdminAssetindex','资源管理',true);"
title="资源管理"
data-toggle="tooltip">
<i class="fa fa-file"></i>
</a>
<?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'admin/Setting/clearcache')): ?>
<a class="btn btn-sm btn-danger"
href="javascript:openapp('<?php echo url('admin/Setting/clearcache'); ?>','index_clearcache','<?php echo lang('ADMIN_SETTING_CLEARCACHE'); ?>',true);"
title="<?php echo lang('ADMIN_SETTING_CLEARCACHE'); ?>"
data-toggle="tooltip">
<i class="fa fa-trash-o"></i>
</a>
<?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'admin/RecycleBin/index')): ?>
<a class="btn btn-sm btn-danger"
href="javascript:openapp('<?php echo url('admin/RecycleBin/index'); ?>','index_recycle','回收站',true);"
title="回收站"
data-toggle="tooltip">
<i class="fa fa-recycle"></i>
</a>
<?php endif; if(APP_DEBUG): ?>
<a class="btn btn-sm btn-default"
href="javascript:openapp('<?php echo url('admin/Menu/index'); ?>','index_menu','<?php echo lang('ADMIN_MENU_INDEX'); ?>',true);"
title="<?php echo lang('ADMIN_MENU_INDEX'); ?>"
data-toggle="tooltip">
<i class="fa fa-list"></i>
</a>
<?php endif; ?>
</div>
<div id="nav-wrapper">
<ul class="nav nav-list">
<?php echo getsubmenu($submenus); ?>
</ul>
</div>
</div>
<div class="main-content">
<div class="page-content" id="content">
<iframe src="<?php echo url('Main/index'); ?>" style="width:100%;height: 100%;" frameborder="0" id="appiframe-0"
class="appiframe"></iframe>
</div>
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="__STATIC__/js/wind.js"></script>
<script src="__TMPL__/public/assets/js/bootstrap.min.js"></script>
<script src="__STATIC__/js/admin.js"></script>
<script src="__TMPL__/public/assets/simpleboot3/js/adminindex.js"></script>
<script>
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
var ismenumin = $("#sidebar").hasClass("menu-min");
$(".nav-list").on("click", function (event) {
var closest_a = $(event.target).closest("a");
if (!closest_a || closest_a.length == 0) {
return
}
if (!closest_a.hasClass("dropdown-toggle")) {
if (ismenumin && "click" == "tap" && closest_a.get(0).parentNode.parentNode == this) {
var closest_a_menu_text = closest_a.find(".menu-text").get(0);
if (event.target != closest_a_menu_text && !$.contains(closest_a_menu_text, event.target)) {
return false
}
}
return
}
var closest_a_next = closest_a.next().get(0);
if (!$(closest_a_next).is(":visible")) {
var closest_ul = $(closest_a_next.parentNode).closest("ul");
if (ismenumin && closest_ul.hasClass("nav-list")) {
return
}
closest_ul.find("> .open > .submenu").each(function () {
if (this != closest_a_next && !$(this.parentNode).hasClass("active")) {
$(this).slideUp(150).parent().removeClass("open")
}
});
}
if (ismenumin && $(closest_a_next.parentNode.parentNode).hasClass("nav-list")) {
return false;
}
$(closest_a_next).slideToggle(150).parent().toggleClass("open");
return false;
});
</script>
</body>
</html>
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:66:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\\index.html";i:1542250542;s:71:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\public\head.html";i:1542250542;s:73:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\public\header.html";i:1542250542;s:73:"D:\PHPTutorial\WWW\xinmeiti\public/../app/install\view\public\footer.html";i:1542250542;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>bronet安装</title>
<link rel="stylesheet" href="__STATIC__/install/simpleboot/themes/flat/theme.min.css" />
<link rel="stylesheet" href="__STATIC__/install/css/install.css" />
<link rel="stylesheet" href="__STATIC__/font-awesome/css/font-awesome.min.css" type="text/css">
</head>
<body>
<div class="wrap">
<div class="header">
<h1 class="logo">bronet 安装向导</h1>
<div class="version"><?php echo BRONET_VERSION; ?></div>
</div>
<div class="section">
<div class="main">
<pre class="agreement">bronet软件使用协议
版权所有 ©2013-<?php echo date("Y"); ?>,bronet开源社区
感谢您选择bronet内容管理框架, 希望我们的产品能够帮您把网站发展的更快、更好、更强!
bronet遵循Apache Lisense 2.0开源协议发布,并提供免费使用。
bronet建站系统由简约风网络科技(以下简称简约风,官网http://www.bronet.cn)发起并开源发布。
简约风网络科技包含以下网站:
bronet官网: http://www.bronet.cn
bronet免责声明
1、使用bronet构建的网站的任何信息内容以及导致的任何版权纠纷和法律争议及后果,bronet官方不承担任何责任。
2、您一旦安装使用bronet,即被视为完全理解并接受本协议的各项条款,在享有上述条款授予的权力的同时,受到相关的约束和限制。</pre>
</div>
<div class="bottom text-center">
<a href="<?php echo url('index/step2'); ?>" class="btn btn-primary"><?php echo lang('ACCEPT'); ?></a>
</div>
</div>
</div>
<div class="footer">
&copy; 2013-<?php echo date('Y'); ?> <a href="http://www.bronet.cn" target="_blank">bronet Team</a>
</div>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:57:"themes/admin_simpleboot3/portal\admin_category\index.html";i:1542250542;s:43:"themes/admin_simpleboot3/public\header.html";i:1542250542;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="__TMPL__/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="__STATIC__/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "__ROOT__/",
WEB_ROOT: "__WEB_ROOT__/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="__STATIC__/js/wind.js"></script>
<script src="__TMPL__/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="<?php echo url('AdminCategory/index'); ?>">分类管理</a></li>
<li><a href="<?php echo url('AdminCategory/add'); ?>">添加分类</a></li>
</ul>
<form method="post" class="js-ajax-form" action="<?php echo url('AdminCategory/listOrder'); ?>">
<div class="table-actions">
<button type="submit" class="btn btn-primary btn-sm js-ajax-submit"><?php echo lang('SORT'); ?></button>
</div>
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="50">排序</th>
<th width="50">ID</th>
<th>分类名称</th>
<th>描述</th>
<th width="180">操作</th>
</tr>
</thead>
<tbody>
<?php echo $category_tree; ?>
</tbody>
<tfoot>
<tr>
<th width="50">排序</th>
<th width="50">ID</th>
<th>分类名称</th>
<th>描述</th>
<th width="180">操作</th>
</tr>
</tfoot>
</table>
<div class="table-actions">
<button type="submit" class="btn btn-primary btn-sm js-ajax-submit"><?php echo lang('SORT'); ?></button>
</div>
</form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>
\ No newline at end of file
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:48:"themes/admin_simpleboot3/admin\setting\site.html";i:1542250542;s:43:"themes/admin_simpleboot3/public\header.html";i:1542250542;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
<link href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
<link href="__TMPL__/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
<link href="__STATIC__/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<style>
form .input-order {
margin-bottom: 0px;
padding: 0 2px;
width: 42px;
font-size: 12px;
}
form .input-order:focus {
outline: none;
}
.table-actions {
margin-top: 5px;
margin-bottom: 5px;
padding: 0px;
}
.table-list {
margin-bottom: 0px;
}
.form-required {
color: red;
}
</style>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "__ROOT__/",
WEB_ROOT: "__WEB_ROOT__/",
JS_ROOT: "static/js/",
APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
};
</script>
<script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="__STATIC__/js/wind.js"></script>
<script src="__TMPL__/public/assets/js/bootstrap.min.js"></script>
<script>
Wind.css('artDialog');
Wind.css('layer');
$(function () {
$("[data-toggle='tooltip']").tooltip();
$("li.dropdown").hover(function () {
$(this).addClass("open");
}, function () {
$(this).removeClass("open");
});
});
</script>
<?php if(APP_DEBUG): ?>
<style>
#think_page_trace_open {
z-index: 9999;
}
</style>
<?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="#A" data-toggle="tab"><?php echo lang('WEB_SITE_INFOS'); ?></a></li>
<li><a href="#B" data-toggle="tab"><?php echo lang('SEO_SETTING'); ?></a></li>
<!--<li><a href="#C" data-toggle="tab"><?php echo lang('URL_SETTING'); ?></a></li>-->
<!--<li><a href="#E" data-toggle="tab"><?php echo lang('COMMENT_SETTING'); ?></a></li>-->
<li><a href="#F" data-toggle="tab">用户注册设置</a></li>
<li><a href="#G" data-toggle="tab">CDN设置</a></li>
</ul>
<form class="form-horizontal js-ajax-form margin-top-20" role="form" action="<?php echo url('setting/sitePost'); ?>" method="post">
<fieldset>
<div class="tabbable">
<div class="tab-content">
<div class="tab-pane active" id="A">
<div class="form-group">
<label for="input-site-name" class="col-sm-2 control-label"><span class="form-required">*</span><?php echo lang('WEBSITE_NAME'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site-name" name="options[site_name]" value="<?php echo (isset($site_name) && ($site_name !== '')?$site_name:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-admin_url_password" class="col-sm-2 control-label">后台加密码</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-admin_url_password" name="admin_settings[admin_password]" value="<?php echo (isset($admin_settings['admin_password']) && ($admin_settings['admin_password'] !== '')?$admin_settings['admin_password']:''); ?>" id="js-site-admin-url-password">
<p class="help-block">英文字母数字,不能为纯数字</p>
<?php if(!empty($admin_settings['admin_password'])): ?>
<p class="help-block" style="color: red;">设置加密码后必须通过以下地址访问后台,请劳记此地址,为了安全,您也可以定期更换此加密码!</p>
<?php
$site_admin_url_password =config("SP_SITE_ADMIN_URL_PASSWORD");
$root=cmf_get_root();
$root=empty($root)?'':'/'.$root;
$site_domain = cmf_get_domain().$root;
?>
<p class="help-block">后台登录地址:<span id="js-site-admin-url"><?php echo $site_domain; ?>/<?php echo $admin_settings['admin_password']; ?></span></p>
<?php endif; ?>
</div>
</div>
<!--
<div class="form-group">
<label for="input-mobile_tpl_enabled" class="col-sm-2 control-label"><?php echo lang('ENABLE_MOBILE_THEME'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $mobile_tpl_enabled_checked=empty($mobile_tpl_enabled)?'':'checked'; ?>
<div class="checkbox">
<label><input type="checkbox" name="options[mobile_tpl_enabled]" value="1" id="input-mobile_tpl_enabled" <?php echo $mobile_tpl_enabled_checked; ?>></label>
</div>
</div>
</div>
-->
<div class="form-group">
<label for="input-site_adminstyle" class="col-sm-2 control-label"><?php echo lang('WEBSITE_ADMIN_THEME'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $site_admin_style=empty($admin_settings['admin_style'])?'':$admin_settings['admin_style']; ?>
<select class="form-control" name="admin_settings[admin_style]" id="input-site_adminstyle">
<?php if(is_array($admin_styles) || $admin_styles instanceof \think\Collection || $admin_styles instanceof \think\Paginator): if( count($admin_styles)==0 ) : echo "" ;else: foreach($admin_styles as $key=>$vo): $admin_style_selected = $site_admin_style == $vo ? "selected" : ""; ?>
<option value="<?php echo $vo; ?>" <?php echo $admin_style_selected; ?>><?php echo $vo; ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</div>
</div>
<!--
<div class="form-group">
<label for="input-html_cache_on" class="col-sm-2 control-label"><?php echo lang('HTML_CACHE'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $html_cache_on_checked=empty($html_cache_on)?'':'checked'; ?>
<div class="checkbox">
<label><input type="checkbox" name="options[mobile_tpl_enabled]" value="1" id="input-html_cache_on" <?php echo $html_cache_on_checked; ?>></label>
</div>
</div>
</div>
-->
<div class="form-group">
<label for="input-site_icp" class="col-sm-2 control-label"><?php echo lang('WEBSITE_ICP'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site_icp" name="options[site_icp]" value="<?php echo (isset($site_icp) && ($site_icp !== '')?$site_icp:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-site_admin_email" class="col-sm-2 control-label"><?php echo lang('WEBMASTER_EMAIL'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site_admin_email" name="options[site_admin_email]" value="<?php echo (isset($site_admin_email) && ($site_admin_email !== '')?$site_admin_email:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-site_analytics" class="col-sm-2 control-label"><?php echo lang('WEBSITE_STATISTICAL_CODE'); ?></label>
<div class="col-md-6 col-sm-10">
<textarea class="form-control" id="input-site_analytics" name="options[site_analytics]"><?php echo (isset($site_analytics) && ($site_analytics !== '')?$site_analytics:''); ?></textarea>
</div>
</div>
<!--<div class="form-group">-->
<!--<label for="input-site_copyright" class="col-sm-2 control-label"><?php echo lang('WEBSITE_COPYRIGHT_INFOMATION'); ?></label>-->
<!--<div class="col-md-6 col-sm-10">-->
<!--<input type="text" class="form-control" id="input-site_copyright" name="options[site_copyright]" value="<?php echo (isset($site_copyright) && ($site_copyright !== '')?$site_copyright:''); ?>">-->
<!--</div>-->
<!--</div>-->
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
<div class="tab-pane" id="B">
<div class="form-group">
<label for="input-site_seo_title" class="col-sm-2 control-label"><?php echo lang('WEBSITE_SEO_TITLE'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site_seo_title" name="options[site_seo_title]" value="<?php echo (isset($site_seo_title) && ($site_seo_title !== '')?$site_seo_title:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-site_seo_keywords" class="col-sm-2 control-label"><?php echo lang('WEBSITE_SEO_KEYWORDS'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-site_seo_keywords" name="options[site_seo_keywords]" value="<?php echo (isset($site_seo_keywords) && ($site_seo_keywords !== '')?$site_seo_keywords:''); ?>">
</div>
</div>
<div class="form-group">
<label for="input-site_seo_description" class="col-sm-2 control-label"><?php echo lang('WEBSITE_SEO_DESCRIPTION'); ?></label>
<div class="col-md-6 col-sm-10">
<textarea class="form-control" id="input-site_seo_description" name="options[site_seo_description]"><?php echo (isset($site_seo_description) && ($site_seo_description !== '')?$site_seo_description:''); ?></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
<div class="tab-pane" id="C">
<div class="form-group">
<label for="input-urlmode" class="col-sm-2 control-label"><?php echo lang('URL_MODE'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $url_modes=array( "1"=>lang('URL_PATHINFO_MODE'), "2"=>lang('URL_REWRITE_MODE')); ?>
<select class="form-control" name="options[urlmode]" id="input-urlmode">
<?php if(is_array($url_modes) || $url_modes instanceof \think\Collection || $url_modes instanceof \think\Paginator): if( count($url_modes)==0 ) : echo "" ;else: foreach($url_modes as $key=>$vo): $url_mode_selected=isset($urlmode)&&$key==$urlmode?"selected":""; ?>
<option value="<?php echo $key; ?>" <?php echo $url_mode_selected; ?>><?php echo $vo; ?></option>
<?php endforeach; endif; else: echo "" ;endif; ?>
</select>
</div>
</div>
<div class="form-group">
<label for="input-html_suffix" class="col-sm-2 control-label"><?php echo lang('URL_REWRITE_SUFFIX'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-html_suffix" name="options[html_suffix]" value="<?php echo (isset($html_suffix) && ($html_suffix !== '')?$html_suffix:''); ?>">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
<!--
<div class="tab-pane" id="E">
<div class="form-group">
<label class="col-sm-2 control-label"><?php echo lang('COMMENT_CHECK'); ?></label>
<div class="col-md-6 col-sm-10">
<?php $comment_need_checked=empty($comment_need_check)?"":"checked"; ?>
<div class="checkbox">
<label><input type="checkbox" name="options[comment_need_check]" value="1" <?php echo $comment_need_checked; ?>></label>
</div>
</div>
</div>
<div class="form-group">
<label for="input-comment_time_interval" class="col-sm-2 control-label"><?php echo lang('COMMENT_TIME_INTERVAL'); ?></label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-comment_time_interval" name="options[comment_time_interval]" value="<?php echo (isset($comment_time_interval) && ($comment_time_interval !== '')?$comment_time_interval:60); ?>">
<p class="help-block">单位秒</p>
</div>
</div>
</div>
-->
<div class="tab-pane" id="F">
<div class="form-group">
<label for="input-banned_usernames" class="col-sm-2 control-label">是否开放注册</label>
<div class="col-md-6 col-sm-10">
<select class="form-control" name="cmf_settings[open_registration]">
<option value="0"></option>
<?php $open_registration_selected = empty($cmf_settings['open_registration'])?'':'selected'; ?>
<option value="1" <?php echo $open_registration_selected; ?>></option>
</select>
</div>
</div>
<div class="form-group">
<label for="input-banned_usernames" class="col-sm-2 control-label"><?php echo lang('SPECAIL_USERNAME'); ?></label>
<div class="col-md-6 col-sm-10">
<textarea class="form-control" id="input-banned_usernames" name="cmf_settings[banned_usernames]"><?php echo $cmf_settings['banned_usernames']; ?></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
<div class="tab-pane" id="G">
<div class="form-group">
<label for="input-cdn_static_root" class="col-sm-2 control-label">静态资源cdn地址</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-cdn_static_root" name="cdn_settings[cdn_static_root]" value="<?php echo (isset($cdn_settings['cdn_static_root']) && ($cdn_settings['cdn_static_root'] !== '')?$cdn_settings['cdn_static_root']:''); ?>">
<p class="help-block">
不能以/结尾;设置这个地址后,请将bronet下的静态资源文件放在其下面;<br>
bronet下的静态资源文件大致包含以下(如果你自定义后,请自行增加):<br>
themes/admin_simplebootx/public/assets<br>
static<br>
themes/simplebootx/public/assets<br>
例如未设置cdn前:jquery的访问地址是/static/js/jquery.js, <br>
设置cdn是后它的访问地址就是:静态资源cdn地址/static/js/jquery.js
</p>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>
\ No newline at end of file