正在显示
22 个修改的文件
包含
0 行增加
和
4869 行删除
data/runtime/api/log/201812/03.log
已删除
100644 → 0
1 | ---------------------------------------------------------------- | ||
2 | -[ 2018-12-03T16:51:50+08:00 ] 127.0.0.1 127.0.0.1 GET /api/ | ||
3 | -[ info ] maifuzi.com/api/ [运行时间:0.081000s][吞吐率:12.35req/s] [内存消耗:2,331.85kb] [文件加载:67] | ||
4 | -[ info ] [ DB ] INIT mysql | ||
5 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ] | ||
6 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
7 | -[ info ] [ ROUTE ] array ( | ||
8 | - 'type' => 'module', | ||
9 | - 'module' => | ||
10 | - array ( | ||
11 | - 0 => '', | ||
12 | - 1 => NULL, | ||
13 | - 2 => NULL, | ||
14 | - ), | ||
15 | -) | ||
16 | -[ info ] [ HEADER ] array ( | ||
17 | - 'cookie' => 'thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
18 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
19 | - 'accept-encoding' => 'gzip, deflate', | ||
20 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
21 | - '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', | ||
22 | - 'upgrade-insecure-requests' => '1', | ||
23 | - 'connection' => 'close', | ||
24 | - 'host' => 'maifuzi.com', | ||
25 | -) | ||
26 | -[ info ] [ PARAM ] array ( | ||
27 | -) | ||
28 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
29 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
30 | -[ info ] [ RUN ] api\home\controller\IndexController->index[ D:\PHPTutorial\WWW\xinmeiti\api\home\controller\IndexController.php ] | ||
31 | -[ info ] [ LOG ] INIT File | ||
32 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
33 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ] | ||
34 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
35 | ---------------------------------------------------------------- | ||
36 | -[ 2018-12-03T16:51:52+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
37 | -[ info ] maifuzi.com/api/doc [运行时间:0.075000s][吞吐率:13.33req/s] [内存消耗:2,839.23kb] [文件加载:74] | ||
38 | -[ info ] [ DB ] INIT mysql | ||
39 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ] | ||
40 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
41 | -[ info ] [ ROUTE ] array ( | ||
42 | - 'type' => 'method', | ||
43 | - 'method' => | ||
44 | - array ( | ||
45 | - 0 => '\\Api\\Doc\\DocController', | ||
46 | - 1 => 'index', | ||
47 | - ), | ||
48 | - 'var' => | ||
49 | - array ( | ||
50 | - ), | ||
51 | -) | ||
52 | -[ info ] [ HEADER ] array ( | ||
53 | - 'cookie' => 'thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
54 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
55 | - 'accept-encoding' => 'gzip, deflate', | ||
56 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
57 | - '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', | ||
58 | - 'upgrade-insecure-requests' => '1', | ||
59 | - 'connection' => 'close', | ||
60 | - 'host' => 'maifuzi.com', | ||
61 | -) | ||
62 | -[ info ] [ PARAM ] array ( | ||
63 | -) | ||
64 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
65 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
66 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
67 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
68 | - 0 => 'title', | ||
69 | - 1 => 'version', | ||
70 | - 2 => 'copyright', | ||
71 | - 3 => 'static', | ||
72 | - 4 => 'root', | ||
73 | - 5 => 'doc', | ||
74 | -) ] | ||
75 | -[ info ] [ LOG ] INIT File | ||
76 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
77 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ] | ||
78 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
79 | ---------------------------------------------------------------- | ||
80 | -[ 2018-12-03T16:51:54+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
81 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.078000s][吞吐率:12.82req/s] [内存消耗:2,696.73kb] [文件加载:73] | ||
82 | -[ info ] [ DB ] INIT mysql | ||
83 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.042000s ] | ||
84 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
85 | -[ info ] [ ROUTE ] array ( | ||
86 | - 'type' => 'method', | ||
87 | - 'method' => | ||
88 | - array ( | ||
89 | - 0 => '\\Api\\Doc\\DocController', | ||
90 | - 1 => 'getList', | ||
91 | - ), | ||
92 | - 'var' => | ||
93 | - array ( | ||
94 | - ), | ||
95 | -) | ||
96 | -[ info ] [ HEADER ] array ( | ||
97 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
98 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
99 | - 'accept-encoding' => 'gzip, deflate', | ||
100 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
101 | - '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', | ||
102 | - 'x-requested-with' => 'XMLHttpRequest', | ||
103 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
104 | - 'connection' => 'close', | ||
105 | - 'host' => 'maifuzi.com', | ||
106 | -) | ||
107 | -[ info ] [ PARAM ] array ( | ||
108 | -) | ||
109 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
110 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
111 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
112 | -[ info ] [ LOG ] INIT File | ||
113 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
114 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.031000s ] | ||
115 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
116 | ---------------------------------------------------------------- | ||
117 | -[ 2018-12-03T16:51:54+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
118 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.131000s][吞吐率:7.63req/s] [内存消耗:2,879.47kb] [文件加载:77] | ||
119 | -[ info ] [ DB ] INIT mysql | ||
120 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.055000s ] | ||
121 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
122 | -[ info ] [ ROUTE ] array ( | ||
123 | - 'type' => 'method', | ||
124 | - 'method' => | ||
125 | - array ( | ||
126 | - 0 => '\\Api\\Doc\\DocController', | ||
127 | - 1 => 'search', | ||
128 | - ), | ||
129 | - 'var' => | ||
130 | - array ( | ||
131 | - ), | ||
132 | -) | ||
133 | -[ info ] [ HEADER ] array ( | ||
134 | - 'cookie' => 'thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
135 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
136 | - 'accept-encoding' => 'gzip, deflate', | ||
137 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
138 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
139 | - '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', | ||
140 | - 'upgrade-insecure-requests' => '1', | ||
141 | - 'connection' => 'close', | ||
142 | - 'host' => 'maifuzi.com', | ||
143 | -) | ||
144 | -[ info ] [ PARAM ] array ( | ||
145 | -) | ||
146 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
147 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
148 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
149 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
150 | - 0 => 'title', | ||
151 | - 1 => 'version', | ||
152 | - 2 => 'copyright', | ||
153 | - 3 => 'static', | ||
154 | - 4 => 'root', | ||
155 | - 5 => 'module', | ||
156 | -) ] | ||
157 | -[ info ] [ LOG ] INIT File | ||
158 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
159 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.035000s ] | ||
160 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
161 | ---------------------------------------------------------------- | ||
162 | -[ 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 | ||
163 | -[ info ] maifuzi.com/api/doc/info?name=api\home\controller\IndexController::index [运行时间:0.163000s][吞吐率:6.13req/s] [内存消耗:2,932.47kb] [文件加载:77] | ||
164 | -[ info ] [ DB ] INIT mysql | ||
165 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.065000s ] | ||
166 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
167 | -[ info ] [ ROUTE ] array ( | ||
168 | - 'type' => 'method', | ||
169 | - 'method' => | ||
170 | - array ( | ||
171 | - 0 => '\\Api\\Doc\\DocController', | ||
172 | - 1 => 'getInfo', | ||
173 | - ), | ||
174 | - 'var' => | ||
175 | - array ( | ||
176 | - ), | ||
177 | -) | ||
178 | -[ info ] [ HEADER ] array ( | ||
179 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
180 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
181 | - 'accept-encoding' => 'gzip, deflate', | ||
182 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
183 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
184 | - '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', | ||
185 | - 'upgrade-insecure-requests' => '1', | ||
186 | - 'connection' => 'close', | ||
187 | - 'host' => 'maifuzi.com', | ||
188 | -) | ||
189 | -[ info ] [ PARAM ] array ( | ||
190 | - 'name' => 'api\\home\\controller\\IndexController::index', | ||
191 | -) | ||
192 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
193 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
194 | -[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
195 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array ( | ||
196 | - 0 => 'title', | ||
197 | - 1 => 'version', | ||
198 | - 2 => 'copyright', | ||
199 | - 3 => 'static', | ||
200 | - 4 => 'root', | ||
201 | - 5 => 'doc', | ||
202 | - 6 => 'return', | ||
203 | -) ] | ||
204 | -[ info ] [ LOG ] INIT File | ||
205 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.011000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
206 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.043000s ] | ||
207 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
208 | ---------------------------------------------------------------- | ||
209 | -[ 2018-12-03T17:42:14+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
210 | -[ info ] maifuzi.com/api/doc [运行时间:0.071000s][吞吐率:14.08req/s] [内存消耗:2,703.40kb] [文件加载:72] | ||
211 | -[ info ] [ DB ] INIT mysql | ||
212 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.032000s ] | ||
213 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
214 | -[ info ] [ ROUTE ] array ( | ||
215 | - 'type' => 'method', | ||
216 | - 'method' => | ||
217 | - array ( | ||
218 | - 0 => '\\Api\\Doc\\DocController', | ||
219 | - 1 => 'index', | ||
220 | - ), | ||
221 | - 'var' => | ||
222 | - array ( | ||
223 | - ), | ||
224 | -) | ||
225 | -[ info ] [ HEADER ] array ( | ||
226 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
227 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
228 | - 'accept-encoding' => 'gzip, deflate', | ||
229 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
230 | - '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', | ||
231 | - 'upgrade-insecure-requests' => '1', | ||
232 | - 'cache-control' => 'max-age=0', | ||
233 | - 'connection' => 'close', | ||
234 | - 'host' => 'maifuzi.com', | ||
235 | -) | ||
236 | -[ info ] [ PARAM ] array ( | ||
237 | -) | ||
238 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
239 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
240 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
241 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
242 | - 0 => 'title', | ||
243 | - 1 => 'version', | ||
244 | - 2 => 'copyright', | ||
245 | - 3 => 'static', | ||
246 | - 4 => 'root', | ||
247 | - 5 => 'doc', | ||
248 | -) ] | ||
249 | -[ info ] [ LOG ] INIT File | ||
250 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.012000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
251 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.012000s ] | ||
252 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
253 | ---------------------------------------------------------------- | ||
254 | -[ 2018-12-03T17:42:15+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
255 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.086000s][吞吐率:11.63req/s] [内存消耗:2,742.72kb] [文件加载:75] | ||
256 | -[ info ] [ DB ] INIT mysql | ||
257 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.033000s ] | ||
258 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
259 | -[ info ] [ ROUTE ] array ( | ||
260 | - 'type' => 'method', | ||
261 | - 'method' => | ||
262 | - array ( | ||
263 | - 0 => '\\Api\\Doc\\DocController', | ||
264 | - 1 => 'search', | ||
265 | - ), | ||
266 | - 'var' => | ||
267 | - array ( | ||
268 | - ), | ||
269 | -) | ||
270 | -[ info ] [ HEADER ] array ( | ||
271 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
272 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
273 | - 'accept-encoding' => 'gzip, deflate', | ||
274 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
275 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
276 | - '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', | ||
277 | - 'upgrade-insecure-requests' => '1', | ||
278 | - 'connection' => 'close', | ||
279 | - 'host' => 'maifuzi.com', | ||
280 | -) | ||
281 | -[ info ] [ PARAM ] array ( | ||
282 | -) | ||
283 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
284 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
285 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
286 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
287 | - 0 => 'title', | ||
288 | - 1 => 'version', | ||
289 | - 2 => 'copyright', | ||
290 | - 3 => 'static', | ||
291 | - 4 => 'root', | ||
292 | - 5 => 'module', | ||
293 | -) ] | ||
294 | -[ info ] [ LOG ] INIT File | ||
295 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
296 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ] | ||
297 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
298 | ---------------------------------------------------------------- | ||
299 | -[ 2018-12-03T17:42:16+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
300 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.076000s][吞吐率:13.16req/s] [内存消耗:2,696.82kb] [文件加载:73] | ||
301 | -[ info ] [ DB ] INIT mysql | ||
302 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.024000s ] | ||
303 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
304 | -[ info ] [ ROUTE ] array ( | ||
305 | - 'type' => 'method', | ||
306 | - 'method' => | ||
307 | - array ( | ||
308 | - 0 => '\\Api\\Doc\\DocController', | ||
309 | - 1 => 'getList', | ||
310 | - ), | ||
311 | - 'var' => | ||
312 | - array ( | ||
313 | - ), | ||
314 | -) | ||
315 | -[ info ] [ HEADER ] array ( | ||
316 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
317 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
318 | - 'accept-encoding' => 'gzip, deflate', | ||
319 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
320 | - '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', | ||
321 | - 'x-requested-with' => 'XMLHttpRequest', | ||
322 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
323 | - 'connection' => 'close', | ||
324 | - 'host' => 'maifuzi.com', | ||
325 | -) | ||
326 | -[ info ] [ PARAM ] array ( | ||
327 | -) | ||
328 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
329 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
330 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
331 | -[ info ] [ LOG ] INIT File | ||
332 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.000000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
333 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.016000s ] | ||
334 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
335 | ---------------------------------------------------------------- | ||
336 | -[ 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 | ||
337 | -[ info ] maifuzi.com/api/doc/info?name=api\home\controller\IndexController::index [运行时间:0.087000s][吞吐率:11.49req/s] [内存消耗:2,762.45kb] [文件加载:75] | ||
338 | -[ info ] [ DB ] INIT mysql | ||
339 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.036000s ] | ||
340 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
341 | -[ info ] [ ROUTE ] array ( | ||
342 | - 'type' => 'method', | ||
343 | - 'method' => | ||
344 | - array ( | ||
345 | - 0 => '\\Api\\Doc\\DocController', | ||
346 | - 1 => 'getInfo', | ||
347 | - ), | ||
348 | - 'var' => | ||
349 | - array ( | ||
350 | - ), | ||
351 | -) | ||
352 | -[ info ] [ HEADER ] array ( | ||
353 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
354 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
355 | - 'accept-encoding' => 'gzip, deflate', | ||
356 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
357 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
358 | - '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', | ||
359 | - 'upgrade-insecure-requests' => '1', | ||
360 | - 'connection' => 'close', | ||
361 | - 'host' => 'maifuzi.com', | ||
362 | -) | ||
363 | -[ info ] [ PARAM ] array ( | ||
364 | - 'name' => 'api\\home\\controller\\IndexController::index', | ||
365 | -) | ||
366 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
367 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
368 | -[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
369 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array ( | ||
370 | - 0 => 'title', | ||
371 | - 1 => 'version', | ||
372 | - 2 => 'copyright', | ||
373 | - 3 => 'static', | ||
374 | - 4 => 'root', | ||
375 | - 5 => 'doc', | ||
376 | - 6 => 'return', | ||
377 | -) ] | ||
378 | -[ info ] [ LOG ] INIT File | ||
379 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
380 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ] | ||
381 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
382 | ---------------------------------------------------------------- | ||
383 | -[ 2018-12-03T17:44:36+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
384 | -[ info ] maifuzi.com/api/doc [运行时间:0.077000s][吞吐率:12.99req/s] [内存消耗:2,703.40kb] [文件加载:72] | ||
385 | -[ info ] [ DB ] INIT mysql | ||
386 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.028000s ] | ||
387 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
388 | -[ info ] [ ROUTE ] array ( | ||
389 | - 'type' => 'method', | ||
390 | - 'method' => | ||
391 | - array ( | ||
392 | - 0 => '\\Api\\Doc\\DocController', | ||
393 | - 1 => 'index', | ||
394 | - ), | ||
395 | - 'var' => | ||
396 | - array ( | ||
397 | - ), | ||
398 | -) | ||
399 | -[ info ] [ HEADER ] array ( | ||
400 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
401 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
402 | - 'accept-encoding' => 'gzip, deflate', | ||
403 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
404 | - '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', | ||
405 | - 'upgrade-insecure-requests' => '1', | ||
406 | - 'cache-control' => 'max-age=0', | ||
407 | - 'connection' => 'close', | ||
408 | - 'host' => 'maifuzi.com', | ||
409 | -) | ||
410 | -[ info ] [ PARAM ] array ( | ||
411 | -) | ||
412 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
413 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
414 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
415 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
416 | - 0 => 'title', | ||
417 | - 1 => 'version', | ||
418 | - 2 => 'copyright', | ||
419 | - 3 => 'static', | ||
420 | - 4 => 'root', | ||
421 | - 5 => 'doc', | ||
422 | -) ] | ||
423 | -[ info ] [ LOG ] INIT File | ||
424 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
425 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
426 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
427 | ---------------------------------------------------------------- | ||
428 | -[ 2018-12-03T17:44:37+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
429 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.078000s][吞吐率:12.82req/s] [内存消耗:2,742.72kb] [文件加载:75] | ||
430 | -[ info ] [ DB ] INIT mysql | ||
431 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.027000s ] | ||
432 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
433 | -[ info ] [ ROUTE ] array ( | ||
434 | - 'type' => 'method', | ||
435 | - 'method' => | ||
436 | - array ( | ||
437 | - 0 => '\\Api\\Doc\\DocController', | ||
438 | - 1 => 'search', | ||
439 | - ), | ||
440 | - 'var' => | ||
441 | - array ( | ||
442 | - ), | ||
443 | -) | ||
444 | -[ info ] [ HEADER ] array ( | ||
445 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
446 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
447 | - 'accept-encoding' => 'gzip, deflate', | ||
448 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
449 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
450 | - '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', | ||
451 | - 'upgrade-insecure-requests' => '1', | ||
452 | - 'connection' => 'close', | ||
453 | - 'host' => 'maifuzi.com', | ||
454 | -) | ||
455 | -[ info ] [ PARAM ] array ( | ||
456 | -) | ||
457 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
458 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
459 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
460 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
461 | - 0 => 'title', | ||
462 | - 1 => 'version', | ||
463 | - 2 => 'copyright', | ||
464 | - 3 => 'static', | ||
465 | - 4 => 'root', | ||
466 | - 5 => 'module', | ||
467 | -) ] | ||
468 | -[ info ] [ LOG ] INIT File | ||
469 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
470 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ] | ||
471 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
472 | ---------------------------------------------------------------- | ||
473 | -[ 2018-12-03T17:44:38+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
474 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.074000s][吞吐率:13.51req/s] [内存消耗:2,696.82kb] [文件加载:73] | ||
475 | -[ info ] [ DB ] INIT mysql | ||
476 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.032000s ] | ||
477 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
478 | -[ info ] [ ROUTE ] array ( | ||
479 | - 'type' => 'method', | ||
480 | - 'method' => | ||
481 | - array ( | ||
482 | - 0 => '\\Api\\Doc\\DocController', | ||
483 | - 1 => 'getList', | ||
484 | - ), | ||
485 | - 'var' => | ||
486 | - array ( | ||
487 | - ), | ||
488 | -) | ||
489 | -[ info ] [ HEADER ] array ( | ||
490 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
491 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
492 | - 'accept-encoding' => 'gzip, deflate', | ||
493 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
494 | - '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', | ||
495 | - 'x-requested-with' => 'XMLHttpRequest', | ||
496 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
497 | - 'connection' => 'close', | ||
498 | - 'host' => 'maifuzi.com', | ||
499 | -) | ||
500 | -[ info ] [ PARAM ] array ( | ||
501 | -) | ||
502 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
503 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
504 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
505 | -[ info ] [ LOG ] INIT File | ||
506 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.003000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
507 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.015000s ] | ||
508 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
509 | ---------------------------------------------------------------- | ||
510 | -[ 2018-12-03T17:45:18+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
511 | -[ info ] maifuzi.com/api/doc [运行时间:0.068000s][吞吐率:14.71req/s] [内存消耗:2,703.40kb] [文件加载:72] | ||
512 | -[ info ] [ DB ] INIT mysql | ||
513 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.027000s ] | ||
514 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
515 | -[ info ] [ ROUTE ] array ( | ||
516 | - 'type' => 'method', | ||
517 | - 'method' => | ||
518 | - array ( | ||
519 | - 0 => '\\Api\\Doc\\DocController', | ||
520 | - 1 => 'index', | ||
521 | - ), | ||
522 | - 'var' => | ||
523 | - array ( | ||
524 | - ), | ||
525 | -) | ||
526 | -[ info ] [ HEADER ] array ( | ||
527 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
528 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
529 | - 'accept-encoding' => 'gzip, deflate', | ||
530 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
531 | - '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', | ||
532 | - 'upgrade-insecure-requests' => '1', | ||
533 | - 'cache-control' => 'max-age=0', | ||
534 | - 'connection' => 'close', | ||
535 | - 'host' => 'maifuzi.com', | ||
536 | -) | ||
537 | -[ info ] [ PARAM ] array ( | ||
538 | -) | ||
539 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
540 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
541 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
542 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
543 | - 0 => 'title', | ||
544 | - 1 => 'version', | ||
545 | - 2 => 'copyright', | ||
546 | - 3 => 'static', | ||
547 | - 4 => 'root', | ||
548 | - 5 => 'doc', | ||
549 | -) ] | ||
550 | -[ info ] [ LOG ] INIT File | ||
551 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
552 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.015000s ] | ||
553 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
554 | ---------------------------------------------------------------- | ||
555 | -[ 2018-12-03T17:45:19+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
556 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.077000s][吞吐率:12.99req/s] [内存消耗:2,742.72kb] [文件加载:75] | ||
557 | -[ info ] [ DB ] INIT mysql | ||
558 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.030000s ] | ||
559 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
560 | -[ info ] [ ROUTE ] array ( | ||
561 | - 'type' => 'method', | ||
562 | - 'method' => | ||
563 | - array ( | ||
564 | - 0 => '\\Api\\Doc\\DocController', | ||
565 | - 1 => 'search', | ||
566 | - ), | ||
567 | - 'var' => | ||
568 | - array ( | ||
569 | - ), | ||
570 | -) | ||
571 | -[ info ] [ HEADER ] array ( | ||
572 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
573 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
574 | - 'accept-encoding' => 'gzip, deflate', | ||
575 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
576 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
577 | - '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', | ||
578 | - 'upgrade-insecure-requests' => '1', | ||
579 | - 'connection' => 'close', | ||
580 | - 'host' => 'maifuzi.com', | ||
581 | -) | ||
582 | -[ info ] [ PARAM ] array ( | ||
583 | -) | ||
584 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
585 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
586 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
587 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
588 | - 0 => 'title', | ||
589 | - 1 => 'version', | ||
590 | - 2 => 'copyright', | ||
591 | - 3 => 'static', | ||
592 | - 4 => 'root', | ||
593 | - 5 => 'module', | ||
594 | -) ] | ||
595 | -[ info ] [ LOG ] INIT File | ||
596 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
597 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.012000s ] | ||
598 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
599 | ---------------------------------------------------------------- | ||
600 | -[ 2018-12-03T17:45:19+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
601 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,696.82kb] [文件加载:73] | ||
602 | -[ info ] [ DB ] INIT mysql | ||
603 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.024000s ] | ||
604 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
605 | -[ info ] [ ROUTE ] array ( | ||
606 | - 'type' => 'method', | ||
607 | - 'method' => | ||
608 | - array ( | ||
609 | - 0 => '\\Api\\Doc\\DocController', | ||
610 | - 1 => 'getList', | ||
611 | - ), | ||
612 | - 'var' => | ||
613 | - array ( | ||
614 | - ), | ||
615 | -) | ||
616 | -[ info ] [ HEADER ] array ( | ||
617 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
618 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
619 | - 'accept-encoding' => 'gzip, deflate', | ||
620 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
621 | - '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', | ||
622 | - 'x-requested-with' => 'XMLHttpRequest', | ||
623 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
624 | - 'connection' => 'close', | ||
625 | - 'host' => 'maifuzi.com', | ||
626 | -) | ||
627 | -[ info ] [ PARAM ] array ( | ||
628 | -) | ||
629 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
630 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
631 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
632 | -[ info ] [ LOG ] INIT File | ||
633 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
634 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.013000s ] | ||
635 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
636 | ---------------------------------------------------------------- | ||
637 | -[ 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 | ||
638 | -[ info ] maifuzi.com/api/doc/info?name=api\home\controller\IndexController::index [运行时间:0.087000s][吞吐率:11.49req/s] [内存消耗:2,762.45kb] [文件加载:75] | ||
639 | -[ info ] [ DB ] INIT mysql | ||
640 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.035000s ] | ||
641 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
642 | -[ info ] [ ROUTE ] array ( | ||
643 | - 'type' => 'method', | ||
644 | - 'method' => | ||
645 | - array ( | ||
646 | - 0 => '\\Api\\Doc\\DocController', | ||
647 | - 1 => 'getInfo', | ||
648 | - ), | ||
649 | - 'var' => | ||
650 | - array ( | ||
651 | - ), | ||
652 | -) | ||
653 | -[ info ] [ HEADER ] array ( | ||
654 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
655 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
656 | - 'accept-encoding' => 'gzip, deflate', | ||
657 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
658 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
659 | - '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', | ||
660 | - 'upgrade-insecure-requests' => '1', | ||
661 | - 'connection' => 'close', | ||
662 | - 'host' => 'maifuzi.com', | ||
663 | -) | ||
664 | -[ info ] [ PARAM ] array ( | ||
665 | - 'name' => 'api\\home\\controller\\IndexController::index', | ||
666 | -) | ||
667 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
668 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
669 | -[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
670 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array ( | ||
671 | - 0 => 'title', | ||
672 | - 1 => 'version', | ||
673 | - 2 => 'copyright', | ||
674 | - 3 => 'static', | ||
675 | - 4 => 'root', | ||
676 | - 5 => 'doc', | ||
677 | - 6 => 'return', | ||
678 | -) ] | ||
679 | -[ info ] [ LOG ] INIT File | ||
680 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
681 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ] | ||
682 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
683 | ---------------------------------------------------------------- | ||
684 | -[ 2018-12-03T17:46:22+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
685 | -[ info ] maifuzi.com/api/doc [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,703.40kb] [文件加载:72] | ||
686 | -[ info ] [ DB ] INIT mysql | ||
687 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.027000s ] | ||
688 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
689 | -[ info ] [ ROUTE ] array ( | ||
690 | - 'type' => 'method', | ||
691 | - 'method' => | ||
692 | - array ( | ||
693 | - 0 => '\\Api\\Doc\\DocController', | ||
694 | - 1 => 'index', | ||
695 | - ), | ||
696 | - 'var' => | ||
697 | - array ( | ||
698 | - ), | ||
699 | -) | ||
700 | -[ info ] [ HEADER ] array ( | ||
701 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
702 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
703 | - 'accept-encoding' => 'gzip, deflate', | ||
704 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
705 | - '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', | ||
706 | - 'upgrade-insecure-requests' => '1', | ||
707 | - 'cache-control' => 'max-age=0', | ||
708 | - 'connection' => 'close', | ||
709 | - 'host' => 'maifuzi.com', | ||
710 | -) | ||
711 | -[ info ] [ PARAM ] array ( | ||
712 | -) | ||
713 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
714 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
715 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
716 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
717 | - 0 => 'title', | ||
718 | - 1 => 'version', | ||
719 | - 2 => 'copyright', | ||
720 | - 3 => 'static', | ||
721 | - 4 => 'root', | ||
722 | - 5 => 'doc', | ||
723 | -) ] | ||
724 | -[ info ] [ LOG ] INIT File | ||
725 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
726 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ] | ||
727 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
728 | ---------------------------------------------------------------- | ||
729 | -[ 2018-12-03T17:46:24+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
730 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.100000s][吞吐率:10.00req/s] [内存消耗:2,742.72kb] [文件加载:75] | ||
731 | -[ info ] [ DB ] INIT mysql | ||
732 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.042000s ] | ||
733 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
734 | -[ info ] [ ROUTE ] array ( | ||
735 | - 'type' => 'method', | ||
736 | - 'method' => | ||
737 | - array ( | ||
738 | - 0 => '\\Api\\Doc\\DocController', | ||
739 | - 1 => 'search', | ||
740 | - ), | ||
741 | - 'var' => | ||
742 | - array ( | ||
743 | - ), | ||
744 | -) | ||
745 | -[ info ] [ HEADER ] array ( | ||
746 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
747 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
748 | - 'accept-encoding' => 'gzip, deflate', | ||
749 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
750 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
751 | - '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', | ||
752 | - 'upgrade-insecure-requests' => '1', | ||
753 | - 'connection' => 'close', | ||
754 | - 'host' => 'maifuzi.com', | ||
755 | -) | ||
756 | -[ info ] [ PARAM ] array ( | ||
757 | -) | ||
758 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
759 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
760 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
761 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
762 | - 0 => 'title', | ||
763 | - 1 => 'version', | ||
764 | - 2 => 'copyright', | ||
765 | - 3 => 'static', | ||
766 | - 4 => 'root', | ||
767 | - 5 => 'module', | ||
768 | -) ] | ||
769 | -[ info ] [ LOG ] INIT File | ||
770 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.011000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
771 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ] | ||
772 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
773 | ---------------------------------------------------------------- | ||
774 | -[ 2018-12-03T17:46:24+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
775 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.080000s][吞吐率:12.50req/s] [内存消耗:2,696.82kb] [文件加载:73] | ||
776 | -[ info ] [ DB ] INIT mysql | ||
777 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.040000s ] | ||
778 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
779 | -[ info ] [ ROUTE ] array ( | ||
780 | - 'type' => 'method', | ||
781 | - 'method' => | ||
782 | - array ( | ||
783 | - 0 => '\\Api\\Doc\\DocController', | ||
784 | - 1 => 'getList', | ||
785 | - ), | ||
786 | - 'var' => | ||
787 | - array ( | ||
788 | - ), | ||
789 | -) | ||
790 | -[ info ] [ HEADER ] array ( | ||
791 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
792 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
793 | - 'accept-encoding' => 'gzip, deflate', | ||
794 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
795 | - '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', | ||
796 | - 'x-requested-with' => 'XMLHttpRequest', | ||
797 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
798 | - 'connection' => 'close', | ||
799 | - 'host' => 'maifuzi.com', | ||
800 | -) | ||
801 | -[ info ] [ PARAM ] array ( | ||
802 | -) | ||
803 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
804 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
805 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
806 | -[ info ] [ LOG ] INIT File | ||
807 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
808 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.022000s ] | ||
809 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
810 | ---------------------------------------------------------------- | ||
811 | -[ 2018-12-03T17:46:38+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
812 | -[ info ] maifuzi.com/api/doc [运行时间:0.076000s][吞吐率:13.16req/s] [内存消耗:2,703.40kb] [文件加载:72] | ||
813 | -[ info ] [ DB ] INIT mysql | ||
814 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.021000s ] | ||
815 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
816 | -[ info ] [ ROUTE ] array ( | ||
817 | - 'type' => 'method', | ||
818 | - 'method' => | ||
819 | - array ( | ||
820 | - 0 => '\\Api\\Doc\\DocController', | ||
821 | - 1 => 'index', | ||
822 | - ), | ||
823 | - 'var' => | ||
824 | - array ( | ||
825 | - ), | ||
826 | -) | ||
827 | -[ info ] [ HEADER ] array ( | ||
828 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
829 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
830 | - 'accept-encoding' => 'gzip, deflate', | ||
831 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
832 | - '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', | ||
833 | - 'upgrade-insecure-requests' => '1', | ||
834 | - 'cache-control' => 'max-age=0', | ||
835 | - 'connection' => 'close', | ||
836 | - 'host' => 'maifuzi.com', | ||
837 | -) | ||
838 | -[ info ] [ PARAM ] array ( | ||
839 | -) | ||
840 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
841 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
842 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
843 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
844 | - 0 => 'title', | ||
845 | - 1 => 'version', | ||
846 | - 2 => 'copyright', | ||
847 | - 3 => 'static', | ||
848 | - 4 => 'root', | ||
849 | - 5 => 'doc', | ||
850 | -) ] | ||
851 | -[ info ] [ LOG ] INIT File | ||
852 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
853 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ] | ||
854 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
855 | ---------------------------------------------------------------- | ||
856 | -[ 2018-12-03T17:46:39+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
857 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.097000s][吞吐率:10.31req/s] [内存消耗:2,742.72kb] [文件加载:75] | ||
858 | -[ info ] [ DB ] INIT mysql | ||
859 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.045000s ] | ||
860 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
861 | -[ info ] [ ROUTE ] array ( | ||
862 | - 'type' => 'method', | ||
863 | - 'method' => | ||
864 | - array ( | ||
865 | - 0 => '\\Api\\Doc\\DocController', | ||
866 | - 1 => 'search', | ||
867 | - ), | ||
868 | - 'var' => | ||
869 | - array ( | ||
870 | - ), | ||
871 | -) | ||
872 | -[ info ] [ HEADER ] array ( | ||
873 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
874 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
875 | - 'accept-encoding' => 'gzip, deflate', | ||
876 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
877 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
878 | - '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', | ||
879 | - 'upgrade-insecure-requests' => '1', | ||
880 | - 'connection' => 'close', | ||
881 | - 'host' => 'maifuzi.com', | ||
882 | -) | ||
883 | -[ info ] [ PARAM ] array ( | ||
884 | -) | ||
885 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
886 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
887 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
888 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
889 | - 0 => 'title', | ||
890 | - 1 => 'version', | ||
891 | - 2 => 'copyright', | ||
892 | - 3 => 'static', | ||
893 | - 4 => 'root', | ||
894 | - 5 => 'module', | ||
895 | -) ] | ||
896 | -[ info ] [ LOG ] INIT File | ||
897 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
898 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.023000s ] | ||
899 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
900 | ---------------------------------------------------------------- | ||
901 | -[ 2018-12-03T17:46:39+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
902 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.082000s][吞吐率:12.20req/s] [内存消耗:2,696.82kb] [文件加载:73] | ||
903 | -[ info ] [ DB ] INIT mysql | ||
904 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.032000s ] | ||
905 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
906 | -[ info ] [ ROUTE ] array ( | ||
907 | - 'type' => 'method', | ||
908 | - 'method' => | ||
909 | - array ( | ||
910 | - 0 => '\\Api\\Doc\\DocController', | ||
911 | - 1 => 'getList', | ||
912 | - ), | ||
913 | - 'var' => | ||
914 | - array ( | ||
915 | - ), | ||
916 | -) | ||
917 | -[ info ] [ HEADER ] array ( | ||
918 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
919 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
920 | - 'accept-encoding' => 'gzip, deflate', | ||
921 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
922 | - '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', | ||
923 | - 'x-requested-with' => 'XMLHttpRequest', | ||
924 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
925 | - 'connection' => 'close', | ||
926 | - 'host' => 'maifuzi.com', | ||
927 | -) | ||
928 | -[ info ] [ PARAM ] array ( | ||
929 | -) | ||
930 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
931 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
932 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
933 | -[ info ] [ LOG ] INIT File | ||
934 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
935 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.020000s ] | ||
936 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
937 | ---------------------------------------------------------------- | ||
938 | -[ 2018-12-03T17:49:16+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
939 | -[ info ] maifuzi.com/api/doc [运行时间:0.060000s][吞吐率:16.67req/s] [内存消耗:2,703.40kb] [文件加载:72] | ||
940 | -[ info ] [ DB ] INIT mysql | ||
941 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.022000s ] | ||
942 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
943 | -[ info ] [ ROUTE ] array ( | ||
944 | - 'type' => 'method', | ||
945 | - 'method' => | ||
946 | - array ( | ||
947 | - 0 => '\\Api\\Doc\\DocController', | ||
948 | - 1 => 'index', | ||
949 | - ), | ||
950 | - 'var' => | ||
951 | - array ( | ||
952 | - ), | ||
953 | -) | ||
954 | -[ info ] [ HEADER ] array ( | ||
955 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
956 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
957 | - 'accept-encoding' => 'gzip, deflate', | ||
958 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
959 | - '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', | ||
960 | - 'upgrade-insecure-requests' => '1', | ||
961 | - 'cache-control' => 'max-age=0', | ||
962 | - 'connection' => 'close', | ||
963 | - 'host' => 'maifuzi.com', | ||
964 | -) | ||
965 | -[ info ] [ PARAM ] array ( | ||
966 | -) | ||
967 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
968 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
969 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
970 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
971 | - 0 => 'title', | ||
972 | - 1 => 'version', | ||
973 | - 2 => 'copyright', | ||
974 | - 3 => 'static', | ||
975 | - 4 => 'root', | ||
976 | - 5 => 'doc', | ||
977 | -) ] | ||
978 | -[ info ] [ LOG ] INIT File | ||
979 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
980 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
981 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
982 | ---------------------------------------------------------------- | ||
983 | -[ 2018-12-03T17:49:17+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
984 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.084000s][吞吐率:11.90req/s] [内存消耗:2,742.72kb] [文件加载:75] | ||
985 | -[ info ] [ DB ] INIT mysql | ||
986 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.028000s ] | ||
987 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
988 | -[ info ] [ ROUTE ] array ( | ||
989 | - 'type' => 'method', | ||
990 | - 'method' => | ||
991 | - array ( | ||
992 | - 0 => '\\Api\\Doc\\DocController', | ||
993 | - 1 => 'search', | ||
994 | - ), | ||
995 | - 'var' => | ||
996 | - array ( | ||
997 | - ), | ||
998 | -) | ||
999 | -[ info ] [ HEADER ] array ( | ||
1000 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1001 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1002 | - 'accept-encoding' => 'gzip, deflate', | ||
1003 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
1004 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
1005 | - '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', | ||
1006 | - 'upgrade-insecure-requests' => '1', | ||
1007 | - 'connection' => 'close', | ||
1008 | - 'host' => 'maifuzi.com', | ||
1009 | -) | ||
1010 | -[ info ] [ PARAM ] array ( | ||
1011 | -) | ||
1012 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1013 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.006000s ] | ||
1014 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1015 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
1016 | - 0 => 'title', | ||
1017 | - 1 => 'version', | ||
1018 | - 2 => 'copyright', | ||
1019 | - 3 => 'static', | ||
1020 | - 4 => 'root', | ||
1021 | - 5 => 'module', | ||
1022 | -) ] | ||
1023 | -[ info ] [ LOG ] INIT File | ||
1024 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1025 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.016000s ] | ||
1026 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
1027 | ---------------------------------------------------------------- | ||
1028 | -[ 2018-12-03T17:49:17+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
1029 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.083000s][吞吐率:12.05req/s] [内存消耗:2,696.82kb] [文件加载:73] | ||
1030 | -[ info ] [ DB ] INIT mysql | ||
1031 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.034000s ] | ||
1032 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1033 | -[ info ] [ ROUTE ] array ( | ||
1034 | - 'type' => 'method', | ||
1035 | - 'method' => | ||
1036 | - array ( | ||
1037 | - 0 => '\\Api\\Doc\\DocController', | ||
1038 | - 1 => 'getList', | ||
1039 | - ), | ||
1040 | - 'var' => | ||
1041 | - array ( | ||
1042 | - ), | ||
1043 | -) | ||
1044 | -[ info ] [ HEADER ] array ( | ||
1045 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1046 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1047 | - 'accept-encoding' => 'gzip, deflate', | ||
1048 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
1049 | - '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', | ||
1050 | - 'x-requested-with' => 'XMLHttpRequest', | ||
1051 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
1052 | - 'connection' => 'close', | ||
1053 | - 'host' => 'maifuzi.com', | ||
1054 | -) | ||
1055 | -[ info ] [ PARAM ] array ( | ||
1056 | -) | ||
1057 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1058 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
1059 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1060 | -[ info ] [ LOG ] INIT File | ||
1061 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.008000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1062 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.014000s ] | ||
1063 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
1064 | ---------------------------------------------------------------- | ||
1065 | -[ 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 | ||
1066 | -[ info ] maifuzi.com/api/doc/info?name=api\home\controller\IndexController::index [运行时间:0.096000s][吞吐率:10.42req/s] [内存消耗:2,762.45kb] [文件加载:75] | ||
1067 | -[ info ] [ DB ] INIT mysql | ||
1068 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.030000s ] | ||
1069 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1070 | -[ info ] [ ROUTE ] array ( | ||
1071 | - 'type' => 'method', | ||
1072 | - 'method' => | ||
1073 | - array ( | ||
1074 | - 0 => '\\Api\\Doc\\DocController', | ||
1075 | - 1 => 'getInfo', | ||
1076 | - ), | ||
1077 | - 'var' => | ||
1078 | - array ( | ||
1079 | - ), | ||
1080 | -) | ||
1081 | -[ info ] [ HEADER ] array ( | ||
1082 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1083 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1084 | - 'accept-encoding' => 'gzip, deflate', | ||
1085 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
1086 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
1087 | - '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', | ||
1088 | - 'upgrade-insecure-requests' => '1', | ||
1089 | - 'connection' => 'close', | ||
1090 | - 'host' => 'maifuzi.com', | ||
1091 | -) | ||
1092 | -[ info ] [ PARAM ] array ( | ||
1093 | - 'name' => 'api\\home\\controller\\IndexController::index', | ||
1094 | -) | ||
1095 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1096 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
1097 | -[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1098 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array ( | ||
1099 | - 0 => 'title', | ||
1100 | - 1 => 'version', | ||
1101 | - 2 => 'copyright', | ||
1102 | - 3 => 'static', | ||
1103 | - 4 => 'root', | ||
1104 | - 5 => 'doc', | ||
1105 | - 6 => 'return', | ||
1106 | -) ] | ||
1107 | -[ info ] [ LOG ] INIT File | ||
1108 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1109 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.015000s ] | ||
1110 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
1111 | ---------------------------------------------------------------- | ||
1112 | -[ 2018-12-03T17:50:33+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
1113 | -[ info ] maifuzi.com/api/doc [运行时间:0.057000s][吞吐率:17.54req/s] [内存消耗:2,703.45kb] [文件加载:72] | ||
1114 | -[ info ] [ DB ] INIT mysql | ||
1115 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.020000s ] | ||
1116 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1117 | -[ info ] [ ROUTE ] array ( | ||
1118 | - 'type' => 'method', | ||
1119 | - 'method' => | ||
1120 | - array ( | ||
1121 | - 0 => '\\Api\\Doc\\DocController', | ||
1122 | - 1 => 'index', | ||
1123 | - ), | ||
1124 | - 'var' => | ||
1125 | - array ( | ||
1126 | - ), | ||
1127 | -) | ||
1128 | -[ info ] [ HEADER ] array ( | ||
1129 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1130 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1131 | - 'accept-encoding' => 'gzip, deflate', | ||
1132 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
1133 | - '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', | ||
1134 | - 'upgrade-insecure-requests' => '1', | ||
1135 | - 'cache-control' => 'max-age=0', | ||
1136 | - 'connection' => 'close', | ||
1137 | - 'host' => 'maifuzi.com', | ||
1138 | -) | ||
1139 | -[ info ] [ PARAM ] array ( | ||
1140 | -) | ||
1141 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1142 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
1143 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1144 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
1145 | - 0 => 'title', | ||
1146 | - 1 => 'version', | ||
1147 | - 2 => 'copyright', | ||
1148 | - 3 => 'static', | ||
1149 | - 4 => 'root', | ||
1150 | - 5 => 'doc', | ||
1151 | -) ] | ||
1152 | -[ info ] [ LOG ] INIT File | ||
1153 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1154 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.012000s ] | ||
1155 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
1156 | ---------------------------------------------------------------- | ||
1157 | -[ 2018-12-03T17:50:34+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
1158 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.090000s][吞吐率:11.11req/s] [内存消耗:2,734.08kb] [文件加载:76] | ||
1159 | -[ info ] [ DB ] INIT mysql | ||
1160 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ] | ||
1161 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1162 | -[ info ] [ ROUTE ] array ( | ||
1163 | - 'type' => 'method', | ||
1164 | - 'method' => | ||
1165 | - array ( | ||
1166 | - 0 => '\\Api\\Doc\\DocController', | ||
1167 | - 1 => 'getList', | ||
1168 | - ), | ||
1169 | - 'var' => | ||
1170 | - array ( | ||
1171 | - ), | ||
1172 | -) | ||
1173 | -[ info ] [ HEADER ] array ( | ||
1174 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1175 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1176 | - 'accept-encoding' => 'gzip, deflate', | ||
1177 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
1178 | - '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', | ||
1179 | - 'x-requested-with' => 'XMLHttpRequest', | ||
1180 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
1181 | - 'connection' => 'close', | ||
1182 | - 'host' => 'maifuzi.com', | ||
1183 | -) | ||
1184 | -[ info ] [ PARAM ] array ( | ||
1185 | -) | ||
1186 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1187 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
1188 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1189 | -[ info ] [ LOG ] INIT File | ||
1190 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1191 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.017000s ] | ||
1192 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
1193 | ---------------------------------------------------------------- | ||
1194 | -[ 2018-12-03T17:50:34+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
1195 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.106000s][吞吐率:9.43req/s] [内存消耗:2,779.98kb] [文件加载:78] | ||
1196 | -[ info ] [ DB ] INIT mysql | ||
1197 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.036000s ] | ||
1198 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1199 | -[ info ] [ ROUTE ] array ( | ||
1200 | - 'type' => 'method', | ||
1201 | - 'method' => | ||
1202 | - array ( | ||
1203 | - 0 => '\\Api\\Doc\\DocController', | ||
1204 | - 1 => 'search', | ||
1205 | - ), | ||
1206 | - 'var' => | ||
1207 | - array ( | ||
1208 | - ), | ||
1209 | -) | ||
1210 | -[ info ] [ HEADER ] array ( | ||
1211 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1212 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1213 | - 'accept-encoding' => 'gzip, deflate', | ||
1214 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
1215 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
1216 | - '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', | ||
1217 | - 'upgrade-insecure-requests' => '1', | ||
1218 | - 'connection' => 'close', | ||
1219 | - 'host' => 'maifuzi.com', | ||
1220 | -) | ||
1221 | -[ info ] [ PARAM ] array ( | ||
1222 | -) | ||
1223 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1224 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
1225 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1226 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
1227 | - 0 => 'title', | ||
1228 | - 1 => 'version', | ||
1229 | - 2 => 'copyright', | ||
1230 | - 3 => 'static', | ||
1231 | - 4 => 'root', | ||
1232 | - 5 => 'module', | ||
1233 | -) ] | ||
1234 | -[ info ] [ LOG ] INIT File | ||
1235 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1236 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.023000s ] | ||
1237 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
1238 | ---------------------------------------------------------------- | ||
1239 | -[ 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 | ||
1240 | -[ info ] maifuzi.com/api/doc/info?name=api\user\controller\LoginController::login [运行时间:0.094000s][吞吐率:10.64req/s] [内存消耗:2,779.76kb] [文件加载:76] | ||
1241 | -[ info ] [ DB ] INIT mysql | ||
1242 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.033000s ] | ||
1243 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1244 | -[ info ] [ ROUTE ] array ( | ||
1245 | - 'type' => 'method', | ||
1246 | - 'method' => | ||
1247 | - array ( | ||
1248 | - 0 => '\\Api\\Doc\\DocController', | ||
1249 | - 1 => 'getInfo', | ||
1250 | - ), | ||
1251 | - 'var' => | ||
1252 | - array ( | ||
1253 | - ), | ||
1254 | -) | ||
1255 | -[ info ] [ HEADER ] array ( | ||
1256 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1257 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1258 | - 'accept-encoding' => 'gzip, deflate', | ||
1259 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
1260 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
1261 | - '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', | ||
1262 | - 'upgrade-insecure-requests' => '1', | ||
1263 | - 'connection' => 'close', | ||
1264 | - 'host' => 'maifuzi.com', | ||
1265 | -) | ||
1266 | -[ info ] [ PARAM ] array ( | ||
1267 | - 'name' => 'api\\user\\controller\\LoginController::login', | ||
1268 | -) | ||
1269 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1270 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
1271 | -[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1272 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array ( | ||
1273 | - 0 => 'title', | ||
1274 | - 1 => 'version', | ||
1275 | - 2 => 'copyright', | ||
1276 | - 3 => 'static', | ||
1277 | - 4 => 'root', | ||
1278 | - 5 => 'doc', | ||
1279 | - 6 => 'return', | ||
1280 | -) ] | ||
1281 | -[ info ] [ LOG ] INIT File | ||
1282 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.003000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1283 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.020000s ] | ||
1284 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
1285 | ---------------------------------------------------------------- | ||
1286 | -[ 2018-12-03T17:50:46+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/login | ||
1287 | -[ info ] maifuzi.com/api/user/login/login [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,704.34kb] [文件加载:72] | ||
1288 | -[ info ] [ DB ] INIT mysql | ||
1289 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ] | ||
1290 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1291 | -[ info ] [ ROUTE ] array ( | ||
1292 | - 'type' => 'module', | ||
1293 | - 'module' => | ||
1294 | - array ( | ||
1295 | - 0 => 'user', | ||
1296 | - 1 => 'login', | ||
1297 | - 2 => 'login', | ||
1298 | - ), | ||
1299 | -) | ||
1300 | -[ info ] [ HEADER ] array ( | ||
1301 | - 'connection' => 'close', | ||
1302 | - 'content-type' => 'multipart/form-data; boundary=------------------------1b0a1dc85c83d782', | ||
1303 | - 'content-length' => '261', | ||
1304 | - 'cookie' => 'thinkphp_show_page_trace=0%7C0;PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1305 | - 'accept' => '*/*', | ||
1306 | - 'host' => 'maifuzi.com', | ||
1307 | -) | ||
1308 | -[ info ] [ PARAM ] array ( | ||
1309 | - 'user_login' => 'bronet', | ||
1310 | - 'user_pass' => 'panhaowen123', | ||
1311 | -) | ||
1312 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1313 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
1314 | -[ info ] [ RUN ] api\user\controller\LoginController->login[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
1315 | -[ info ] [ SESSION ] INIT array ( | ||
1316 | - 'id' => '', | ||
1317 | - 'var_session_id' => '', | ||
1318 | - 'prefix' => 'think', | ||
1319 | - 'type' => '', | ||
1320 | - 'auto_start' => true, | ||
1321 | -) | ||
1322 | -[ info ] [ LOG ] INIT File | ||
1323 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1324 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
1325 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
1326 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.013000s ] | ||
1327 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `user_login` = 'bronet' AND `user_pass` = '###37e2f8da5fcfdd6cfbb04289eb83f8ef' LIMIT 1 [ RunTime:0.001000s ] | ||
1328 | ---------------------------------------------------------------- | ||
1329 | -[ 2018-12-03T17:50:46+08:00 ] 127.0.0.1 127.0.0.1 POST /api/doc/debug | ||
1330 | -[ info ] maifuzi.com/api/doc/debug [运行时间:0.184000s][吞吐率:5.43req/s] [内存消耗:2,547.94kb] [文件加载:70] | ||
1331 | -[ info ] [ DB ] INIT mysql | ||
1332 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.021000s ] | ||
1333 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1334 | -[ info ] [ ROUTE ] array ( | ||
1335 | - 'type' => 'method', | ||
1336 | - 'method' => | ||
1337 | - array ( | ||
1338 | - 0 => '\\Api\\Doc\\DocController', | ||
1339 | - 1 => 'debug', | ||
1340 | - ), | ||
1341 | - 'var' => | ||
1342 | - array ( | ||
1343 | - ), | ||
1344 | -) | ||
1345 | -[ info ] [ HEADER ] array ( | ||
1346 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1347 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1348 | - 'accept-encoding' => 'gzip, deflate', | ||
1349 | - 'referer' => 'http://maifuzi.com/api/doc/info?name=api\\user\\controller\\LoginController::login', | ||
1350 | - 'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8', | ||
1351 | - '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', | ||
1352 | - 'x-requested-with' => 'XMLHttpRequest', | ||
1353 | - 'origin' => 'http://maifuzi.com', | ||
1354 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
1355 | - 'content-length' => '198', | ||
1356 | - 'connection' => 'close', | ||
1357 | - 'host' => 'maifuzi.com', | ||
1358 | -) | ||
1359 | -[ info ] [ PARAM ] array ( | ||
1360 | - 'url' => 'http://maifuzi.com/api/user/login/login', | ||
1361 | - 'method_type' => 'POST', | ||
1362 | - 'cookie' => 'thinkphp_show_page_trace=0%7C0;PHPSESSID=7ju0eqakqa0rpc6v91gpr8nnko', | ||
1363 | - 'user_login' => 'bronet', | ||
1364 | - 'user_pass' => 'panhaowen123', | ||
1365 | -) | ||
1366 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1367 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
1368 | -[ info ] [ RUN ] Api\Doc\DocController->debug[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1369 | -[ info ] [ LOG ] INIT File | ||
1370 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1371 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
1372 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] |
data/runtime/api/log/201812/04.log
已删除
100644 → 0
此 diff 太大无法显示。
data/runtime/api/log/201812/05.log
已删除
100644 → 0
此 diff 太大无法显示。
data/runtime/api/log/201812/06.log
已删除
100644 → 0
此 diff 太大无法显示。
data/runtime/api/log/201812/08.log
已删除
100644 → 0
1 | ---------------------------------------------------------------- | ||
2 | -[ 2018-12-08T09:12:47+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
3 | -[ info ] maifuzi.com/api/doc [运行时间:0.083000s][吞吐率:12.05req/s] [内存消耗:2,702.35kb] [文件加载:72] | ||
4 | -[ info ] [ DB ] INIT mysql | ||
5 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.038000s ] | ||
6 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
7 | -[ info ] [ ROUTE ] array ( | ||
8 | - 'type' => 'method', | ||
9 | - 'method' => | ||
10 | - array ( | ||
11 | - 0 => '\\Api\\Doc\\DocController', | ||
12 | - 1 => 'index', | ||
13 | - ), | ||
14 | - 'var' => | ||
15 | - array ( | ||
16 | - ), | ||
17 | -) | ||
18 | -[ info ] [ HEADER ] array ( | ||
19 | - 'cookie' => 'admin_username=bronet', | ||
20 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
21 | - 'accept-encoding' => 'gzip, deflate', | ||
22 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
23 | - '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', | ||
24 | - 'upgrade-insecure-requests' => '1', | ||
25 | - 'connection' => 'close', | ||
26 | - 'host' => 'maifuzi.com', | ||
27 | -) | ||
28 | -[ info ] [ PARAM ] array ( | ||
29 | -) | ||
30 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
31 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
32 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
33 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
34 | - 0 => 'title', | ||
35 | - 1 => 'version', | ||
36 | - 2 => 'copyright', | ||
37 | - 3 => 'static', | ||
38 | - 4 => 'root', | ||
39 | - 5 => 'doc', | ||
40 | -) ] | ||
41 | -[ info ] [ LOG ] INIT File | ||
42 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.011000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
43 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.019000s ] | ||
44 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
45 | ---------------------------------------------------------------- | ||
46 | -[ 2018-12-08T09:12:49+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
47 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.103000s][吞吐率:9.71req/s] [内存消耗:2,892.77kb] [文件加载:80] | ||
48 | -[ info ] [ DB ] INIT mysql | ||
49 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.036000s ] | ||
50 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
51 | -[ info ] [ ROUTE ] array ( | ||
52 | - 'type' => 'method', | ||
53 | - 'method' => | ||
54 | - array ( | ||
55 | - 0 => '\\Api\\Doc\\DocController', | ||
56 | - 1 => 'search', | ||
57 | - ), | ||
58 | - 'var' => | ||
59 | - array ( | ||
60 | - ), | ||
61 | -) | ||
62 | -[ info ] [ HEADER ] array ( | ||
63 | - 'cookie' => 'admin_username=bronet', | ||
64 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
65 | - 'accept-encoding' => 'gzip, deflate', | ||
66 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
67 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
68 | - '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', | ||
69 | - 'upgrade-insecure-requests' => '1', | ||
70 | - 'connection' => 'close', | ||
71 | - 'host' => 'maifuzi.com', | ||
72 | -) | ||
73 | -[ info ] [ PARAM ] array ( | ||
74 | -) | ||
75 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
76 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
77 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
78 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
79 | - 0 => 'title', | ||
80 | - 1 => 'version', | ||
81 | - 2 => 'copyright', | ||
82 | - 3 => 'static', | ||
83 | - 4 => 'root', | ||
84 | - 5 => 'module', | ||
85 | -) ] | ||
86 | -[ info ] [ LOG ] INIT File | ||
87 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
88 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.026000s ] | ||
89 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
90 | ---------------------------------------------------------------- | ||
91 | -[ 2018-12-08T09:12:49+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
92 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.110000s][吞吐率:9.09req/s] [内存消耗:2,862.98kb] [文件加载:78] | ||
93 | -[ info ] [ DB ] INIT mysql | ||
94 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.054000s ] | ||
95 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
96 | -[ info ] [ ROUTE ] array ( | ||
97 | - 'type' => 'method', | ||
98 | - 'method' => | ||
99 | - array ( | ||
100 | - 0 => '\\Api\\Doc\\DocController', | ||
101 | - 1 => 'getList', | ||
102 | - ), | ||
103 | - 'var' => | ||
104 | - array ( | ||
105 | - ), | ||
106 | -) | ||
107 | -[ info ] [ HEADER ] array ( | ||
108 | - 'cookie' => 'thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
109 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
110 | - 'accept-encoding' => 'gzip, deflate', | ||
111 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
112 | - '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', | ||
113 | - 'x-requested-with' => 'XMLHttpRequest', | ||
114 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
115 | - 'connection' => 'close', | ||
116 | - 'host' => 'maifuzi.com', | ||
117 | -) | ||
118 | -[ info ] [ PARAM ] array ( | ||
119 | -) | ||
120 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
121 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
122 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
123 | -[ info ] [ LOG ] INIT File | ||
124 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
125 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.031000s ] | ||
126 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
127 | ---------------------------------------------------------------- | ||
128 | -[ 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 | ||
129 | -[ info ] maifuzi.com/api/doc/info?name=api\user\controller\LoginController::userIndex [运行时间:0.102000s][吞吐率:9.80req/s] [内存消耗:2,806.72kb] [文件加载:76] | ||
130 | -[ info ] [ DB ] INIT mysql | ||
131 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.043000s ] | ||
132 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
133 | -[ info ] [ ROUTE ] array ( | ||
134 | - 'type' => 'method', | ||
135 | - 'method' => | ||
136 | - array ( | ||
137 | - 0 => '\\Api\\Doc\\DocController', | ||
138 | - 1 => 'getInfo', | ||
139 | - ), | ||
140 | - 'var' => | ||
141 | - array ( | ||
142 | - ), | ||
143 | -) | ||
144 | -[ info ] [ HEADER ] array ( | ||
145 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
146 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
147 | - 'accept-encoding' => 'gzip, deflate', | ||
148 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
149 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
150 | - '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', | ||
151 | - 'upgrade-insecure-requests' => '1', | ||
152 | - 'connection' => 'close', | ||
153 | - 'host' => 'maifuzi.com', | ||
154 | -) | ||
155 | -[ info ] [ PARAM ] array ( | ||
156 | - 'name' => 'api\\user\\controller\\LoginController::userIndex', | ||
157 | -) | ||
158 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
159 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
160 | -[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
161 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array ( | ||
162 | - 0 => 'title', | ||
163 | - 1 => 'version', | ||
164 | - 2 => 'copyright', | ||
165 | - 3 => 'static', | ||
166 | - 4 => 'root', | ||
167 | - 5 => 'doc', | ||
168 | - 6 => 'return', | ||
169 | -) ] | ||
170 | -[ info ] [ LOG ] INIT File | ||
171 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.005000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
172 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.028000s ] | ||
173 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.002000s ] | ||
174 | ---------------------------------------------------------------- | ||
175 | -[ 2018-12-08T09:13:13+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
176 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.092000s][吞吐率:10.87req/s] [内存消耗:2,715.55kb] [文件加载:74] | ||
177 | -[ info ] [ DB ] INIT mysql | ||
178 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.019000s ] | ||
179 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
180 | -[ info ] [ ROUTE ] array ( | ||
181 | - 'type' => 'module', | ||
182 | - 'module' => | ||
183 | - array ( | ||
184 | - 0 => 'user', | ||
185 | - 1 => 'login', | ||
186 | - 2 => 'userIndex', | ||
187 | - ), | ||
188 | -) | ||
189 | -[ info ] [ HEADER ] array ( | ||
190 | - 'connection' => 'close', | ||
191 | - 'content-type' => 'multipart/form-data; boundary=------------------------301341342aa0a634', | ||
192 | - 'content-length' => '140', | ||
193 | - 'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet', | ||
194 | - 'accept' => '*/*', | ||
195 | - 'host' => 'maifuzi.com', | ||
196 | -) | ||
197 | -[ info ] [ PARAM ] array ( | ||
198 | - 'param' => '', | ||
199 | -) | ||
200 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
201 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
202 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
203 | -[ info ] [ LOG ] INIT File | ||
204 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
205 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ] | ||
206 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
207 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.014000s ] | ||
208 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ] | ||
209 | -[ 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 ] | ||
210 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.001000s ] | ||
211 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ] | ||
212 | ---------------------------------------------------------------- | ||
213 | -[ 2018-12-08T09:13:13+08:00 ] 127.0.0.1 127.0.0.1 POST /api/doc/debug | ||
214 | -[ info ] maifuzi.com/api/doc/debug [运行时间:0.175000s][吞吐率:5.71req/s] [内存消耗:2,547.14kb] [文件加载:70] | ||
215 | -[ info ] [ DB ] INIT mysql | ||
216 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.028000s ] | ||
217 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
218 | -[ info ] [ ROUTE ] array ( | ||
219 | - 'type' => 'method', | ||
220 | - 'method' => | ||
221 | - array ( | ||
222 | - 0 => '\\Api\\Doc\\DocController', | ||
223 | - 1 => 'debug', | ||
224 | - ), | ||
225 | - 'var' => | ||
226 | - array ( | ||
227 | - ), | ||
228 | -) | ||
229 | -[ info ] [ HEADER ] array ( | ||
230 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
231 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
232 | - 'accept-encoding' => 'gzip, deflate', | ||
233 | - 'referer' => 'http://maifuzi.com/api/doc/info?name=api\\user\\controller\\LoginController::userIndex', | ||
234 | - 'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8', | ||
235 | - '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', | ||
236 | - 'x-requested-with' => 'XMLHttpRequest', | ||
237 | - 'origin' => 'http://maifuzi.com', | ||
238 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
239 | - 'content-length' => '153', | ||
240 | - 'connection' => 'close', | ||
241 | - 'host' => 'maifuzi.com', | ||
242 | -) | ||
243 | -[ info ] [ PARAM ] array ( | ||
244 | - 'url' => 'http://maifuzi.com/api/user/login/userIndex', | ||
245 | - 'method_type' => 'POST', | ||
246 | - 'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet', | ||
247 | - 'param' => '', | ||
248 | -) | ||
249 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
250 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
251 | -[ info ] [ RUN ] Api\Doc\DocController->debug[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
252 | -[ info ] [ LOG ] INIT File | ||
253 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
254 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
255 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
256 | ---------------------------------------------------------------- | ||
257 | -[ 2018-12-08T09:13:37+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
258 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.070000s][吞吐率:14.29req/s] [内存消耗:2,714.94kb] [文件加载:74] | ||
259 | -[ info ] [ DB ] INIT mysql | ||
260 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.025000s ] | ||
261 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
262 | -[ info ] [ ROUTE ] array ( | ||
263 | - 'type' => 'module', | ||
264 | - 'module' => | ||
265 | - array ( | ||
266 | - 0 => 'user', | ||
267 | - 1 => 'login', | ||
268 | - 2 => 'userIndex', | ||
269 | - ), | ||
270 | -) | ||
271 | -[ info ] [ HEADER ] array ( | ||
272 | - 'connection' => 'close', | ||
273 | - 'content-type' => 'multipart/form-data; boundary=------------------------8adce1377b3cabbd', | ||
274 | - 'content-length' => '140', | ||
275 | - 'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet', | ||
276 | - 'accept' => '*/*', | ||
277 | - 'host' => 'maifuzi.com', | ||
278 | -) | ||
279 | -[ info ] [ PARAM ] array ( | ||
280 | - 'param' => '', | ||
281 | -) | ||
282 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
283 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
284 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
285 | -[ info ] [ LOG ] INIT File | ||
286 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
287 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.008000s ] | ||
288 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
289 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.011000s ] | ||
290 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ] | ||
291 | -[ 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 ] | ||
292 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.001000s ] | ||
293 | ---------------------------------------------------------------- | ||
294 | -[ 2018-12-08T09:13:37+08:00 ] 127.0.0.1 127.0.0.1 POST /api/doc/debug | ||
295 | -[ info ] maifuzi.com/api/doc/debug [运行时间:0.168000s][吞吐率:5.95req/s] [内存消耗:2,547.14kb] [文件加载:70] | ||
296 | -[ info ] [ DB ] INIT mysql | ||
297 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.030000s ] | ||
298 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
299 | -[ info ] [ ROUTE ] array ( | ||
300 | - 'type' => 'method', | ||
301 | - 'method' => | ||
302 | - array ( | ||
303 | - 0 => '\\Api\\Doc\\DocController', | ||
304 | - 1 => 'debug', | ||
305 | - ), | ||
306 | - 'var' => | ||
307 | - array ( | ||
308 | - ), | ||
309 | -) | ||
310 | -[ info ] [ HEADER ] array ( | ||
311 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
312 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
313 | - 'accept-encoding' => 'gzip, deflate', | ||
314 | - 'referer' => 'http://maifuzi.com/api/doc/info?name=api\\user\\controller\\LoginController::userIndex', | ||
315 | - 'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8', | ||
316 | - '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', | ||
317 | - 'x-requested-with' => 'XMLHttpRequest', | ||
318 | - 'origin' => 'http://maifuzi.com', | ||
319 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
320 | - 'content-length' => '153', | ||
321 | - 'connection' => 'close', | ||
322 | - 'host' => 'maifuzi.com', | ||
323 | -) | ||
324 | -[ info ] [ PARAM ] array ( | ||
325 | - 'url' => 'http://maifuzi.com/api/user/login/userIndex', | ||
326 | - 'method_type' => 'POST', | ||
327 | - 'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet', | ||
328 | - 'param' => '', | ||
329 | -) | ||
330 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
331 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
332 | -[ info ] [ RUN ] Api\Doc\DocController->debug[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
333 | -[ info ] [ LOG ] INIT File | ||
334 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.011000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
335 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.012000s ] | ||
336 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
337 | ---------------------------------------------------------------- | ||
338 | -[ 2018-12-08T09:14:50+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
339 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.062000s][吞吐率:16.13req/s] [内存消耗:2,715.66kb] [文件加载:74] | ||
340 | -[ info ] [ DB ] INIT mysql | ||
341 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ] | ||
342 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
343 | -[ info ] [ ROUTE ] array ( | ||
344 | - 'type' => 'module', | ||
345 | - 'module' => | ||
346 | - array ( | ||
347 | - 0 => 'user', | ||
348 | - 1 => 'login', | ||
349 | - 2 => 'userIndex', | ||
350 | - ), | ||
351 | -) | ||
352 | -[ info ] [ HEADER ] array ( | ||
353 | - 'connection' => 'close', | ||
354 | - 'content-length' => '332893', | ||
355 | - 'accept-encoding' => 'gzip, deflate', | ||
356 | - 'host' => 'maifuzi.com', | ||
357 | - 'accept' => '*/*', | ||
358 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
359 | - 'content-type' => 'multipart/form-data; boundary=--------------------------384439408234803131684009', | ||
360 | - 'postman-token' => '27af5e84-8338-499a-8d7c-531480ae1662', | ||
361 | - 'cache-control' => 'no-cache', | ||
362 | -) | ||
363 | -[ info ] [ PARAM ] array ( | ||
364 | -) | ||
365 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
366 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
367 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
368 | -[ info ] [ LOG ] INIT File | ||
369 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.000000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
370 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
371 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
372 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.011000s ] | ||
373 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ] | ||
374 | -[ 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 ] | ||
375 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ] | ||
376 | ---------------------------------------------------------------- | ||
377 | -[ 2018-12-08T09:15:09+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
378 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,715.08kb] [文件加载:74] | ||
379 | -[ info ] [ DB ] INIT mysql | ||
380 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.029000s ] | ||
381 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
382 | -[ info ] [ ROUTE ] array ( | ||
383 | - 'type' => 'module', | ||
384 | - 'module' => | ||
385 | - array ( | ||
386 | - 0 => 'user', | ||
387 | - 1 => 'login', | ||
388 | - 2 => 'userIndex', | ||
389 | - ), | ||
390 | -) | ||
391 | -[ info ] [ HEADER ] array ( | ||
392 | - 'connection' => 'close', | ||
393 | - 'content-length' => '0', | ||
394 | - 'accept-encoding' => 'gzip, deflate', | ||
395 | - 'host' => 'maifuzi.com', | ||
396 | - 'accept' => '*/*', | ||
397 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
398 | - 'content-type' => 'application/x-www-form-urlencoded', | ||
399 | - 'postman-token' => '170e9a92-9aab-4834-b4cf-9a4837fae4e1', | ||
400 | - 'cache-control' => 'no-cache', | ||
401 | -) | ||
402 | -[ info ] [ PARAM ] array ( | ||
403 | -) | ||
404 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
405 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
406 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
407 | -[ info ] [ LOG ] INIT File | ||
408 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
409 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
410 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
411 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.011000s ] | ||
412 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ] | ||
413 | -[ 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 ] | ||
414 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ] | ||
415 | ---------------------------------------------------------------- | ||
416 | -[ 2018-12-08T09:15:18+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
417 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.061000s][吞吐率:16.39req/s] [内存消耗:2,715.08kb] [文件加载:74] | ||
418 | -[ info ] [ DB ] INIT mysql | ||
419 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ] | ||
420 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
421 | -[ info ] [ ROUTE ] array ( | ||
422 | - 'type' => 'module', | ||
423 | - 'module' => | ||
424 | - array ( | ||
425 | - 0 => 'user', | ||
426 | - 1 => 'login', | ||
427 | - 2 => 'userIndex', | ||
428 | - ), | ||
429 | -) | ||
430 | -[ info ] [ HEADER ] array ( | ||
431 | - 'connection' => 'close', | ||
432 | - 'content-length' => '0', | ||
433 | - 'accept-encoding' => 'gzip, deflate', | ||
434 | - 'host' => 'maifuzi.com', | ||
435 | - 'accept' => '*/*', | ||
436 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
437 | - 'content-type' => 'application/x-www-form-urlencoded', | ||
438 | - 'postman-token' => 'a07f6274-fb51-46ad-bbb7-cb5910b9f021', | ||
439 | - 'cache-control' => 'no-cache', | ||
440 | -) | ||
441 | -[ info ] [ PARAM ] array ( | ||
442 | -) | ||
443 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
444 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
445 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
446 | -[ info ] [ LOG ] INIT File | ||
447 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
448 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ] | ||
449 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
450 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.009000s ] | ||
451 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ] | ||
452 | -[ 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 ] | ||
453 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ] | ||
454 | ---------------------------------------------------------------- | ||
455 | -[ 2018-12-08T09:15:21+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
456 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.059000s][吞吐率:16.95req/s] [内存消耗:2,715.08kb] [文件加载:74] | ||
457 | -[ info ] [ DB ] INIT mysql | ||
458 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.019000s ] | ||
459 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
460 | -[ info ] [ ROUTE ] array ( | ||
461 | - 'type' => 'module', | ||
462 | - 'module' => | ||
463 | - array ( | ||
464 | - 0 => 'user', | ||
465 | - 1 => 'login', | ||
466 | - 2 => 'userIndex', | ||
467 | - ), | ||
468 | -) | ||
469 | -[ info ] [ HEADER ] array ( | ||
470 | - 'connection' => 'close', | ||
471 | - 'content-length' => '0', | ||
472 | - 'accept-encoding' => 'gzip, deflate', | ||
473 | - 'host' => 'maifuzi.com', | ||
474 | - 'accept' => '*/*', | ||
475 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
476 | - 'content-type' => 'application/x-www-form-urlencoded', | ||
477 | - 'postman-token' => '21bbd731-43bf-4772-b362-017755dad71e', | ||
478 | - 'cache-control' => 'no-cache', | ||
479 | -) | ||
480 | -[ info ] [ PARAM ] array ( | ||
481 | -) | ||
482 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
483 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
484 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
485 | -[ info ] [ LOG ] INIT File | ||
486 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
487 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ] | ||
488 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
489 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ] | ||
490 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ] | ||
491 | -[ 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 ] | ||
492 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ] | ||
493 | ---------------------------------------------------------------- | ||
494 | -[ 2018-12-08T09:20:11+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
495 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.069000s][吞吐率:14.49req/s] [内存消耗:2,715.30kb] [文件加载:74] | ||
496 | -[ info ] [ DB ] INIT mysql | ||
497 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.020000s ] | ||
498 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
499 | -[ info ] [ ROUTE ] array ( | ||
500 | - 'type' => 'module', | ||
501 | - 'module' => | ||
502 | - array ( | ||
503 | - 0 => 'user', | ||
504 | - 1 => 'login', | ||
505 | - 2 => 'userIndex', | ||
506 | - ), | ||
507 | -) | ||
508 | -[ info ] [ HEADER ] array ( | ||
509 | - 'connection' => 'close', | ||
510 | - 'content-length' => '0', | ||
511 | - 'accept-encoding' => 'gzip, deflate', | ||
512 | - 'host' => 'maifuzi.com', | ||
513 | - 'accept' => '*/*', | ||
514 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
515 | - 'page' => '1', | ||
516 | - 'content-type' => 'application/x-www-form-urlencoded', | ||
517 | - 'postman-token' => '6a029aec-f815-4577-8188-71d48ab5dc18', | ||
518 | - 'cache-control' => 'no-cache', | ||
519 | -) | ||
520 | -[ info ] [ PARAM ] array ( | ||
521 | -) | ||
522 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
523 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
524 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
525 | -[ info ] [ LOG ] INIT File | ||
526 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.002000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
527 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
528 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
529 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ] | ||
530 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ] | ||
531 | -[ 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 ] | ||
532 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ] | ||
533 | ---------------------------------------------------------------- | ||
534 | -[ 2018-12-08T09:20:15+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
535 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.059000s][吞吐率:16.95req/s] [内存消耗:2,715.30kb] [文件加载:74] | ||
536 | -[ info ] [ DB ] INIT mysql | ||
537 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.017000s ] | ||
538 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
539 | -[ info ] [ ROUTE ] array ( | ||
540 | - 'type' => 'module', | ||
541 | - 'module' => | ||
542 | - array ( | ||
543 | - 0 => 'user', | ||
544 | - 1 => 'login', | ||
545 | - 2 => 'userIndex', | ||
546 | - ), | ||
547 | -) | ||
548 | -[ info ] [ HEADER ] array ( | ||
549 | - 'connection' => 'close', | ||
550 | - 'content-length' => '0', | ||
551 | - 'accept-encoding' => 'gzip, deflate', | ||
552 | - 'host' => 'maifuzi.com', | ||
553 | - 'accept' => '*/*', | ||
554 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
555 | - 'page' => '2', | ||
556 | - 'content-type' => 'application/x-www-form-urlencoded', | ||
557 | - 'postman-token' => 'be90ee3b-59b4-4336-b8c8-235737cedddf', | ||
558 | - 'cache-control' => 'no-cache', | ||
559 | -) | ||
560 | -[ info ] [ PARAM ] array ( | ||
561 | -) | ||
562 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
563 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
564 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
565 | -[ info ] [ LOG ] INIT File | ||
566 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.000000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
567 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ] | ||
568 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
569 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.008000s ] | ||
570 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ] | ||
571 | -[ 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 ] | ||
572 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.001000s ] | ||
573 | ---------------------------------------------------------------- | ||
574 | -[ 2018-12-08T09:20:27+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
575 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.057000s][吞吐率:17.54req/s] [内存消耗:2,716.05kb] [文件加载:74] | ||
576 | -[ info ] [ DB ] INIT mysql | ||
577 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.017000s ] | ||
578 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
579 | -[ info ] [ ROUTE ] array ( | ||
580 | - 'type' => 'module', | ||
581 | - 'module' => | ||
582 | - array ( | ||
583 | - 0 => 'user', | ||
584 | - 1 => 'login', | ||
585 | - 2 => 'userIndex', | ||
586 | - ), | ||
587 | -) | ||
588 | -[ info ] [ HEADER ] array ( | ||
589 | - 'connection' => 'close', | ||
590 | - 'content-length' => '160', | ||
591 | - 'accept-encoding' => 'gzip, deflate', | ||
592 | - 'host' => 'maifuzi.com', | ||
593 | - 'accept' => '*/*', | ||
594 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
595 | - 'page' => '2', | ||
596 | - 'content-type' => 'multipart/form-data; boundary=--------------------------859411036655651013869042', | ||
597 | - 'postman-token' => '7262cb6c-5230-49b0-a51e-e6a91fd670ea', | ||
598 | - 'cache-control' => 'no-cache', | ||
599 | -) | ||
600 | -[ info ] [ PARAM ] array ( | ||
601 | - 'page' => '2', | ||
602 | -) | ||
603 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
604 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
605 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
606 | -[ info ] [ LOG ] INIT File | ||
607 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
608 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ] | ||
609 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
610 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ] | ||
611 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ] | ||
612 | -[ 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 ] | ||
613 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ] | ||
614 | ---------------------------------------------------------------- | ||
615 | -[ 2018-12-08T09:20:32+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
616 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.060000s][吞吐率:16.67req/s] [内存消耗:2,716.05kb] [文件加载:74] | ||
617 | -[ info ] [ DB ] INIT mysql | ||
618 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ] | ||
619 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
620 | -[ info ] [ ROUTE ] array ( | ||
621 | - 'type' => 'module', | ||
622 | - 'module' => | ||
623 | - array ( | ||
624 | - 0 => 'user', | ||
625 | - 1 => 'login', | ||
626 | - 2 => 'userIndex', | ||
627 | - ), | ||
628 | -) | ||
629 | -[ info ] [ HEADER ] array ( | ||
630 | - 'connection' => 'close', | ||
631 | - 'content-length' => '160', | ||
632 | - 'accept-encoding' => 'gzip, deflate', | ||
633 | - 'host' => 'maifuzi.com', | ||
634 | - 'accept' => '*/*', | ||
635 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
636 | - 'page' => '2', | ||
637 | - 'content-type' => 'multipart/form-data; boundary=--------------------------975342739094188736283187', | ||
638 | - 'postman-token' => '120c3d26-70ae-4f60-8b47-4e5de1adcf8c', | ||
639 | - 'cache-control' => 'no-cache', | ||
640 | -) | ||
641 | -[ info ] [ PARAM ] array ( | ||
642 | - 'page' => '1', | ||
643 | -) | ||
644 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
645 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
646 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
647 | -[ info ] [ LOG ] INIT File | ||
648 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
649 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ] | ||
650 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
651 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.011000s ] | ||
652 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ] | ||
653 | -[ 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 ] | ||
654 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.001000s ] | ||
655 | ---------------------------------------------------------------- | ||
656 | -[ 2018-12-08T09:20:37+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
657 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.061000s][吞吐率:16.39req/s] [内存消耗:2,716.06kb] [文件加载:74] | ||
658 | -[ info ] [ DB ] INIT mysql | ||
659 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.017000s ] | ||
660 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
661 | -[ info ] [ ROUTE ] array ( | ||
662 | - 'type' => 'module', | ||
663 | - 'module' => | ||
664 | - array ( | ||
665 | - 0 => 'user', | ||
666 | - 1 => 'login', | ||
667 | - 2 => 'userIndex', | ||
668 | - ), | ||
669 | -) | ||
670 | -[ info ] [ HEADER ] array ( | ||
671 | - 'connection' => 'close', | ||
672 | - 'content-length' => '168', | ||
673 | - 'accept-encoding' => 'gzip, deflate', | ||
674 | - 'host' => 'maifuzi.com', | ||
675 | - 'accept' => '*/*', | ||
676 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
677 | - 'page' => '2', | ||
678 | - 'content-type' => 'multipart/form-data; boundary=--------------------------056487901031830499371383', | ||
679 | - 'postman-token' => 'e9d5e978-e01e-43fa-868a-2f9dd0dd3c42', | ||
680 | - 'cache-control' => 'no-cache', | ||
681 | -) | ||
682 | -[ info ] [ PARAM ] array ( | ||
683 | - 'current_page' => '1', | ||
684 | -) | ||
685 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
686 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
687 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
688 | -[ info ] [ LOG ] INIT File | ||
689 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
690 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.009000s ] | ||
691 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
692 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ] | ||
693 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.000000s ] | ||
694 | -[ 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 ] | ||
695 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ] | ||
696 | ---------------------------------------------------------------- | ||
697 | -[ 2018-12-08T09:20:40+08:00 ] 127.0.0.1 127.0.0.1 POST /api/user/login/userIndex | ||
698 | -[ info ] maifuzi.com/api/user/login/userIndex [运行时间:0.057000s][吞吐率:17.54req/s] [内存消耗:2,716.06kb] [文件加载:74] | ||
699 | -[ info ] [ DB ] INIT mysql | ||
700 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.018000s ] | ||
701 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
702 | -[ info ] [ ROUTE ] array ( | ||
703 | - 'type' => 'module', | ||
704 | - 'module' => | ||
705 | - array ( | ||
706 | - 0 => 'user', | ||
707 | - 1 => 'login', | ||
708 | - 2 => 'userIndex', | ||
709 | - ), | ||
710 | -) | ||
711 | -[ info ] [ HEADER ] array ( | ||
712 | - 'connection' => 'close', | ||
713 | - 'content-length' => '168', | ||
714 | - 'accept-encoding' => 'gzip, deflate', | ||
715 | - 'host' => 'maifuzi.com', | ||
716 | - 'accept' => '*/*', | ||
717 | - 'user-agent' => 'PostmanRuntime/3.0.9', | ||
718 | - 'page' => '2', | ||
719 | - 'content-type' => 'multipart/form-data; boundary=--------------------------199614286415810112830393', | ||
720 | - 'postman-token' => '8a1a6abb-8440-4646-b693-99a863410c99', | ||
721 | - 'cache-control' => 'no-cache', | ||
722 | -) | ||
723 | -[ info ] [ PARAM ] array ( | ||
724 | - 'current_page' => '2', | ||
725 | -) | ||
726 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
727 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001000s ] | ||
728 | -[ info ] [ RUN ] api\user\controller\LoginController->userIndex[ D:\PHPTutorial\WWW\xinmeiti\api\user\controller\LoginController.php ] | ||
729 | -[ info ] [ LOG ] INIT File | ||
730 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
731 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
732 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
733 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_user` [ RunTime:0.010000s ] | ||
734 | -[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `xmt_user` WHERE `user_type` = 1 LIMIT 1 [ RunTime:0.001000s ] | ||
735 | -[ 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 ] | ||
736 | -[ sql ] [ SQL ] SELECT * FROM `xmt_user` WHERE `id` IS NULL LIMIT 1 [ RunTime:0.000000s ] | ||
737 | ---------------------------------------------------------------- | ||
738 | -[ 2018-12-08T11:07:15+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
739 | -[ info ] maifuzi.com/api/doc [运行时间:0.074000s][吞吐率:13.51req/s] [内存消耗:2,702.35kb] [文件加载:72] | ||
740 | -[ info ] [ DB ] INIT mysql | ||
741 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.030000s ] | ||
742 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
743 | -[ info ] [ ROUTE ] array ( | ||
744 | - 'type' => 'method', | ||
745 | - 'method' => | ||
746 | - array ( | ||
747 | - 0 => '\\Api\\Doc\\DocController', | ||
748 | - 1 => 'index', | ||
749 | - ), | ||
750 | - 'var' => | ||
751 | - array ( | ||
752 | - ), | ||
753 | -) | ||
754 | -[ info ] [ HEADER ] array ( | ||
755 | - 'cookie' => 'admin_username=bronet', | ||
756 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
757 | - 'accept-encoding' => 'gzip, deflate', | ||
758 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
759 | - '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', | ||
760 | - 'upgrade-insecure-requests' => '1', | ||
761 | - 'connection' => 'close', | ||
762 | - 'host' => 'maifuzi.com', | ||
763 | -) | ||
764 | -[ info ] [ PARAM ] array ( | ||
765 | -) | ||
766 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
767 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
768 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
769 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
770 | - 0 => 'title', | ||
771 | - 1 => 'version', | ||
772 | - 2 => 'copyright', | ||
773 | - 3 => 'static', | ||
774 | - 4 => 'root', | ||
775 | - 5 => 'doc', | ||
776 | -) ] | ||
777 | -[ info ] [ LOG ] INIT File | ||
778 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.003000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
779 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ] | ||
780 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
781 | ---------------------------------------------------------------- | ||
782 | -[ 2018-12-08T11:07:17+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
783 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.082000s][吞吐率:12.20req/s] [内存消耗:2,894.21kb] [文件加载:80] | ||
784 | -[ info ] [ DB ] INIT mysql | ||
785 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.034000s ] | ||
786 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
787 | -[ info ] [ ROUTE ] array ( | ||
788 | - 'type' => 'method', | ||
789 | - 'method' => | ||
790 | - array ( | ||
791 | - 0 => '\\Api\\Doc\\DocController', | ||
792 | - 1 => 'search', | ||
793 | - ), | ||
794 | - 'var' => | ||
795 | - array ( | ||
796 | - ), | ||
797 | -) | ||
798 | -[ info ] [ HEADER ] array ( | ||
799 | - 'cookie' => 'admin_username=bronet', | ||
800 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
801 | - 'accept-encoding' => 'gzip, deflate', | ||
802 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
803 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
804 | - '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', | ||
805 | - 'upgrade-insecure-requests' => '1', | ||
806 | - 'connection' => 'close', | ||
807 | - 'host' => 'maifuzi.com', | ||
808 | -) | ||
809 | -[ info ] [ PARAM ] array ( | ||
810 | -) | ||
811 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
812 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
813 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
814 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
815 | - 0 => 'title', | ||
816 | - 1 => 'version', | ||
817 | - 2 => 'copyright', | ||
818 | - 3 => 'static', | ||
819 | - 4 => 'root', | ||
820 | - 5 => 'module', | ||
821 | -) ] | ||
822 | -[ info ] [ LOG ] INIT File | ||
823 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
824 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.019000s ] | ||
825 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
826 | ---------------------------------------------------------------- | ||
827 | -[ 2018-12-08T11:07:17+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
828 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.079000s][吞吐率:12.66req/s] [内存消耗:2,864.43kb] [文件加载:78] | ||
829 | -[ info ] [ DB ] INIT mysql | ||
830 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ] | ||
831 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
832 | -[ info ] [ ROUTE ] array ( | ||
833 | - 'type' => 'method', | ||
834 | - 'method' => | ||
835 | - array ( | ||
836 | - 0 => '\\Api\\Doc\\DocController', | ||
837 | - 1 => 'getList', | ||
838 | - ), | ||
839 | - 'var' => | ||
840 | - array ( | ||
841 | - ), | ||
842 | -) | ||
843 | -[ info ] [ HEADER ] array ( | ||
844 | - 'cookie' => 'thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
845 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
846 | - 'accept-encoding' => 'gzip, deflate', | ||
847 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
848 | - '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', | ||
849 | - 'x-requested-with' => 'XMLHttpRequest', | ||
850 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
851 | - 'connection' => 'close', | ||
852 | - 'host' => 'maifuzi.com', | ||
853 | -) | ||
854 | -[ info ] [ PARAM ] array ( | ||
855 | -) | ||
856 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
857 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
858 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
859 | -[ info ] [ LOG ] INIT File | ||
860 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
861 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.015000s ] | ||
862 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.002000s ] | ||
863 | ---------------------------------------------------------------- | ||
864 | -[ 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 | ||
865 | -[ info ] maifuzi.com/api/doc/info?name=api\portal\controller\MarketController::market [运行时间:0.090000s][吞吐率:11.11req/s] [内存消耗:2,804.26kb] [文件加载:76] | ||
866 | -[ info ] [ DB ] INIT mysql | ||
867 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.038000s ] | ||
868 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
869 | -[ info ] [ ROUTE ] array ( | ||
870 | - 'type' => 'method', | ||
871 | - 'method' => | ||
872 | - array ( | ||
873 | - 0 => '\\Api\\Doc\\DocController', | ||
874 | - 1 => 'getInfo', | ||
875 | - ), | ||
876 | - 'var' => | ||
877 | - array ( | ||
878 | - ), | ||
879 | -) | ||
880 | -[ info ] [ HEADER ] array ( | ||
881 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
882 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
883 | - 'accept-encoding' => 'gzip, deflate', | ||
884 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
885 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
886 | - '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', | ||
887 | - 'upgrade-insecure-requests' => '1', | ||
888 | - 'connection' => 'close', | ||
889 | - 'host' => 'maifuzi.com', | ||
890 | -) | ||
891 | -[ info ] [ PARAM ] array ( | ||
892 | - 'name' => 'api\\portal\\controller\\MarketController::market', | ||
893 | -) | ||
894 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
895 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
896 | -[ info ] [ RUN ] Api\Doc\DocController->getInfo[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
897 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\info.html [ array ( | ||
898 | - 0 => 'title', | ||
899 | - 1 => 'version', | ||
900 | - 2 => 'copyright', | ||
901 | - 3 => 'static', | ||
902 | - 4 => 'root', | ||
903 | - 5 => 'doc', | ||
904 | - 6 => 'return', | ||
905 | -) ] | ||
906 | -[ info ] [ LOG ] INIT File | ||
907 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.010000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
908 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ] | ||
909 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
910 | ---------------------------------------------------------------- | ||
911 | -[ 2018-12-08T11:07:26+08:00 ] 127.0.0.1 127.0.0.1 POST /api/portal/market/market | ||
912 | -[ info ] maifuzi.com/api/portal/market/market [运行时间:0.062000s][吞吐率:16.13req/s] [内存消耗:2,543.48kb] [文件加载:72] | ||
913 | -[ info ] [ DB ] INIT mysql | ||
914 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.019000s ] | ||
915 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
916 | -[ info ] [ ROUTE ] array ( | ||
917 | - 'type' => 'module', | ||
918 | - 'module' => | ||
919 | - array ( | ||
920 | - 0 => 'portal', | ||
921 | - 1 => 'market', | ||
922 | - 2 => 'market', | ||
923 | - ), | ||
924 | -) | ||
925 | -[ info ] [ HEADER ] array ( | ||
926 | - 'connection' => 'close', | ||
927 | - 'content-length' => '0', | ||
928 | - 'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet', | ||
929 | - 'accept' => '*/*', | ||
930 | - 'host' => 'maifuzi.com', | ||
931 | -) | ||
932 | -[ info ] [ PARAM ] array ( | ||
933 | -) | ||
934 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
935 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
936 | -[ info ] [ RUN ] api\portal\controller\MarketController->market[ D:\PHPTutorial\WWW\xinmeiti\api\portal\controller\MarketController.php ] | ||
937 | -[ info ] [ LOG ] INIT File | ||
938 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
939 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.010000s ] | ||
940 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
941 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_market` [ RunTime:0.011000s ] | ||
942 | -[ sql ] [ SQL ] SELECT * FROM `xmt_market` [ RunTime:0.001000s ] | ||
943 | ---------------------------------------------------------------- | ||
944 | -[ 2018-12-08T11:07:26+08:00 ] 127.0.0.1 127.0.0.1 POST /api/doc/debug | ||
945 | -[ info ] maifuzi.com/api/doc/debug [运行时间:0.145000s][吞吐率:6.90req/s] [内存消耗:2,547.11kb] [文件加载:70] | ||
946 | -[ info ] [ DB ] INIT mysql | ||
947 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.019000s ] | ||
948 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
949 | -[ info ] [ ROUTE ] array ( | ||
950 | - 'type' => 'method', | ||
951 | - 'method' => | ||
952 | - array ( | ||
953 | - 0 => '\\Api\\Doc\\DocController', | ||
954 | - 1 => 'debug', | ||
955 | - ), | ||
956 | - 'var' => | ||
957 | - array ( | ||
958 | - ), | ||
959 | -) | ||
960 | -[ info ] [ HEADER ] array ( | ||
961 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
962 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
963 | - 'accept-encoding' => 'gzip, deflate', | ||
964 | - 'referer' => 'http://maifuzi.com/api/doc/info?name=api\\portal\\controller\\MarketController::market', | ||
965 | - 'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8', | ||
966 | - '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', | ||
967 | - 'x-requested-with' => 'XMLHttpRequest', | ||
968 | - 'origin' => 'http://maifuzi.com', | ||
969 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
970 | - 'content-length' => '146', | ||
971 | - 'connection' => 'close', | ||
972 | - 'host' => 'maifuzi.com', | ||
973 | -) | ||
974 | -[ info ] [ PARAM ] array ( | ||
975 | - 'url' => 'http://maifuzi.com/api/portal/market/market', | ||
976 | - 'method_type' => 'POST', | ||
977 | - 'cookie' => 'thinkphp_show_page_trace=0%7C0;admin_username=bronet', | ||
978 | -) | ||
979 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
980 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
981 | -[ info ] [ RUN ] Api\Doc\DocController->debug[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
982 | -[ info ] [ LOG ] INIT File | ||
983 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
984 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.011000s ] | ||
985 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.001000s ] | ||
986 | ---------------------------------------------------------------- | ||
987 | -[ 2018-12-08T14:26:54+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc | ||
988 | -[ info ] maifuzi.com/api/doc [运行时间:0.071000s][吞吐率:14.08req/s] [内存消耗:2,703.42kb] [文件加载:72] | ||
989 | -[ info ] [ DB ] INIT mysql | ||
990 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ] | ||
991 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
992 | -[ info ] [ ROUTE ] array ( | ||
993 | - 'type' => 'method', | ||
994 | - 'method' => | ||
995 | - array ( | ||
996 | - 0 => '\\Api\\Doc\\DocController', | ||
997 | - 1 => 'index', | ||
998 | - ), | ||
999 | - 'var' => | ||
1000 | - array ( | ||
1001 | - ), | ||
1002 | -) | ||
1003 | -[ info ] [ HEADER ] array ( | ||
1004 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
1005 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1006 | - 'accept-encoding' => 'gzip, deflate', | ||
1007 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
1008 | - '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', | ||
1009 | - 'upgrade-insecure-requests' => '1', | ||
1010 | - 'cache-control' => 'max-age=0', | ||
1011 | - 'connection' => 'close', | ||
1012 | - 'host' => 'maifuzi.com', | ||
1013 | -) | ||
1014 | -[ info ] [ PARAM ] array ( | ||
1015 | -) | ||
1016 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1017 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
1018 | -[ info ] [ RUN ] Api\Doc\DocController->index[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1019 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\index.html [ array ( | ||
1020 | - 0 => 'title', | ||
1021 | - 1 => 'version', | ||
1022 | - 2 => 'copyright', | ||
1023 | - 3 => 'static', | ||
1024 | - 4 => 'root', | ||
1025 | - 5 => 'doc', | ||
1026 | -) ] | ||
1027 | -[ info ] [ LOG ] INIT File | ||
1028 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.003000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1029 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.019000s ] | ||
1030 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
1031 | ---------------------------------------------------------------- | ||
1032 | -[ 2018-12-08T14:26:56+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/search | ||
1033 | -[ info ] maifuzi.com/api/doc/search [运行时间:0.089000s][吞吐率:11.24req/s] [内存消耗:2,905.77kb] [文件加载:81] | ||
1034 | -[ info ] [ DB ] INIT mysql | ||
1035 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.031000s ] | ||
1036 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1037 | -[ info ] [ ROUTE ] array ( | ||
1038 | - 'type' => 'method', | ||
1039 | - 'method' => | ||
1040 | - array ( | ||
1041 | - 0 => '\\Api\\Doc\\DocController', | ||
1042 | - 1 => 'search', | ||
1043 | - ), | ||
1044 | - 'var' => | ||
1045 | - array ( | ||
1046 | - ), | ||
1047 | -) | ||
1048 | -[ info ] [ HEADER ] array ( | ||
1049 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
1050 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1051 | - 'accept-encoding' => 'gzip, deflate', | ||
1052 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
1053 | - 'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', | ||
1054 | - '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', | ||
1055 | - 'upgrade-insecure-requests' => '1', | ||
1056 | - 'connection' => 'close', | ||
1057 | - 'host' => 'maifuzi.com', | ||
1058 | -) | ||
1059 | -[ info ] [ PARAM ] array ( | ||
1060 | -) | ||
1061 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1062 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.003000s ] | ||
1063 | -[ info ] [ RUN ] Api\Doc\DocController->search[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1064 | -[ info ] [ VIEW ] D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\view\search.html [ array ( | ||
1065 | - 0 => 'title', | ||
1066 | - 1 => 'version', | ||
1067 | - 2 => 'copyright', | ||
1068 | - 3 => 'static', | ||
1069 | - 4 => 'root', | ||
1070 | - 5 => 'module', | ||
1071 | -) ] | ||
1072 | -[ info ] [ LOG ] INIT File | ||
1073 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1074 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.019000s ] | ||
1075 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] | ||
1076 | ---------------------------------------------------------------- | ||
1077 | -[ 2018-12-08T14:26:56+08:00 ] 127.0.0.1 127.0.0.1 GET /api/doc/list | ||
1078 | -[ info ] maifuzi.com/api/doc/list [运行时间:0.079000s][吞吐率:12.66req/s] [内存消耗:2,875.88kb] [文件加载:79] | ||
1079 | -[ info ] [ DB ] INIT mysql | ||
1080 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.028000s ] | ||
1081 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\simplewind\thinkphp\lang\zh-cn.php | ||
1082 | -[ info ] [ ROUTE ] array ( | ||
1083 | - 'type' => 'method', | ||
1084 | - 'method' => | ||
1085 | - array ( | ||
1086 | - 0 => '\\Api\\Doc\\DocController', | ||
1087 | - 1 => 'getList', | ||
1088 | - ), | ||
1089 | - 'var' => | ||
1090 | - array ( | ||
1091 | - ), | ||
1092 | -) | ||
1093 | -[ info ] [ HEADER ] array ( | ||
1094 | - 'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; admin_username=bronet', | ||
1095 | - 'accept-language' => 'zh-CN,zh;q=0.9', | ||
1096 | - 'accept-encoding' => 'gzip, deflate', | ||
1097 | - 'referer' => 'http://maifuzi.com/api/doc', | ||
1098 | - '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', | ||
1099 | - 'x-requested-with' => 'XMLHttpRequest', | ||
1100 | - 'accept' => 'application/json, text/javascript, */*; q=0.01', | ||
1101 | - 'connection' => 'close', | ||
1102 | - 'host' => 'maifuzi.com', | ||
1103 | -) | ||
1104 | -[ info ] [ PARAM ] array ( | ||
1105 | -) | ||
1106 | -[ info ] [ LANG ] D:\PHPTutorial\WWW\xinmeiti\public\api/../../simplewind/cmf/lang\zh-cn.php | ||
1107 | -[ info ] [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.002000s ] | ||
1108 | -[ info ] [ RUN ] Api\Doc\DocController->getList[ D:\PHPTutorial\WWW\xinmeiti\simplewind\vendor\weiwei\api-doc\src\DocController.php ] | ||
1109 | -[ info ] [ LOG ] INIT File | ||
1110 | -[ sql ] [ DB ] CONNECT:[ UseTime:0.000000s ] mysql:dbname=xinmeiti;host=127.0.0.1;port=3306;charset=utf8mb4 | ||
1111 | -[ sql ] [ SQL ] SHOW COLUMNS FROM `xmt_hook_plugin` [ RunTime:0.018000s ] | ||
1112 | -[ sql ] [ SQL ] SELECT `hook`,`plugin` FROM `xmt_hook_plugin` WHERE `status` = 1 ORDER BY list_order ASC [ RunTime:0.000000s ] |
1 | -<?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;}*/ ?> | ||
2 | -<!DOCTYPE html> | ||
3 | -<html> | ||
4 | -<head> | ||
5 | - <meta charset="utf-8"> | ||
6 | - <title><?php echo $title; ?></title> | ||
7 | - <link href='<?php echo $static; ?>/css/bootstrap.min.css' rel='stylesheet' type='text/css'> | ||
8 | - <link href='<?php echo $static; ?>/css/style.css' rel='stylesheet' type='text/css'> | ||
9 | - <script src="<?php echo $static; ?>/js/jquery-1.9.1.min.js" type="text/javascript"></script> | ||
10 | - <script src="<?php echo $static; ?>/js/bootstrap.min.js" type="text/javascript"></script> | ||
11 | -</head> | ||
12 | - | ||
13 | -<link href='<?php echo $static; ?>/css/json.css' rel='stylesheet' type='text/css'> | ||
14 | -<script src="<?php echo $static; ?>/js/json.js" type="text/javascript"></script> | ||
15 | - | ||
16 | -<body> | ||
17 | - | ||
18 | -<div class="container"> | ||
19 | - <div class="jumbotron"> | ||
20 | - <p class="bg-success" style="font-size: 18px;">文档地址:<?php echo $root; ?>/doc?name=<?php echo $doc['name']; ?></p> | ||
21 | - <h2>接口:<?php echo (isset($doc['title']) && ($doc['title'] !== '')?$doc['title']:"请设置title注释"); ?></h2> | ||
22 | - <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> | ||
23 | - <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> | ||
24 | - <br/> | ||
25 | - <p><strong><?php echo (isset($doc['description']) && ($doc['description'] !== '')?$doc['description']:""); ?></strong></p><br/> | ||
26 | - | ||
27 | - <ul id="myTab" class="nav nav-tabs"> | ||
28 | - <li class="active"><a href="#info" data-toggle="tab">接口信息</a></li> | ||
29 | - <li><a href="#test" data-toggle="tab">在线测试</a></li> | ||
30 | - </ul> | ||
31 | - <div class="tab-content"> | ||
32 | - <!--info--> | ||
33 | - <div class="tab-pane fade in active" id="info"> | ||
34 | - <?php if(isset($doc['header']) && !empty($doc['header'])): ?> | ||
35 | - <h3>请求Headers</h3> | ||
36 | - <table class="table table-striped" > | ||
37 | - <tr><th>名称</th><th>是否必须</th><th>默认值</th><th>说明</th></tr> | ||
38 | - <?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;?> | ||
39 | - <tr> | ||
40 | - <td><?php echo (isset($head['name']) && ($head['name'] !== '')?$head['name']:"-"); ?></td> | ||
41 | - <td><?php if($head['require'] == 1): ?>必填<?php else: ?>非必填<?php endif; ?></td> | ||
42 | - <td><?php echo (isset($head['default']) && ($head['default'] !== '')?$head['default']:"-"); ?></td> | ||
43 | - <td><?php echo (isset($head['desc']) && ($head['desc'] !== '')?$head['desc']:"-"); ?></td> | ||
44 | - </tr> | ||
45 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
46 | - </table> | ||
47 | - <br> | ||
48 | - <?php endif; if(isset($doc['param'])): ?> | ||
49 | - <h3>接口参数</h3> | ||
50 | - <table class="table table-striped" > | ||
51 | - <tr><th>参数名字</th><th>类型</th><th>是否必须</th><th>默认值</th><th>其他</th><th>说明</th></tr> | ||
52 | - <?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;?> | ||
53 | - <tr> | ||
54 | - <td><?php echo (isset($param['name']) && ($param['name'] !== '')?$param['name']:"-"); ?></td> | ||
55 | - <td><?php echo (isset($param['type']) && ($param['type'] !== '')?$param['type']:"-"); ?></td> | ||
56 | - <td><?php if($param['require'] == 1): ?>必填<?php else: ?>非必填<?php endif; ?></td> | ||
57 | - <td><?php echo (isset($param['default']) && ($param['default'] !== '')?$param['default']:"-"); ?></td> | ||
58 | - <td><?php echo (isset($param['other']) && ($param['other'] !== '')?$param['other']:"-"); ?></td> | ||
59 | - <td><?php echo (isset($param['desc']) && ($param['desc'] !== '')?$param['desc']:"-"); ?></td> | ||
60 | - </tr> | ||
61 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
62 | - </table> | ||
63 | - <br> | ||
64 | - <?php endif; if(isset($doc['remark'])): ?> | ||
65 | - <h3>备注说明</h3> | ||
66 | - <div role="alert" class="alert alert-info"> | ||
67 | - <?php echo (isset($doc['remark']) && ($doc['remark'] !== '')?$doc['remark']:"无"); ?> | ||
68 | - </div> | ||
69 | - <br> | ||
70 | - <?php endif; ?> | ||
71 | - <h3>返回结果</h3> | ||
72 | - <p><code id="json_text"><?php echo $return; ?></code></p> | ||
73 | - </div> | ||
74 | - <!--info--> | ||
75 | - <!--test--> | ||
76 | - <div class="tab-pane fade in" id="test"> | ||
77 | - <br> | ||
78 | - <!--head--> | ||
79 | - <div class="panel panel-primary" style="border-color: #00A881"> | ||
80 | - <div class="panel-heading" style="border-color: #00A881;background-color: #00A881"> | ||
81 | - <h3 class="panel-title">接口参数</h3> | ||
82 | - </div> | ||
83 | - <div class="panel-body"> | ||
84 | - <form id="apiform" class="form-horizontal" role="form"> | ||
85 | - <div class="form-group"> | ||
86 | - <label class="col-sm-2 control-label">接口地址</label> | ||
87 | - <div class="col-sm-6"> | ||
88 | - <input class="form-control" type="text" name="url" value='<?php echo isset($doc["url"]) ? $root.$doc["url"] : "请设置url注释"; ?>'> | ||
89 | - </div> | ||
90 | - <div class="col-sm-4"><button type="button" id="send" class="btn btn-success" data-loading-text="Loading..." autocomplete="off">发送测试</button></div> | ||
91 | - </div> | ||
92 | - <?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;?> | ||
93 | - <div class="form-group"> | ||
94 | - <label class="col-sm-2 control-label"><span class="badge">header</span> <?php echo (isset($head['name']) && ($head['name'] !== '')?$head['name']:""); ?></label> | ||
95 | - <div class="col-sm-6"> | ||
96 | - <input class="form-control" type="text" name="header[<?php echo $head['name']; ?>]" value=""> | ||
97 | - </div> | ||
98 | - <div class="col-sm-4"><label class="control-label text-warning"></label></div> | ||
99 | - </div> | ||
100 | - <?php endforeach; endif; else: echo "" ;endif; endif; ?> | ||
101 | - <div class="form-group"> | ||
102 | - <label class="col-sm-2 control-label">提交方式</label> | ||
103 | - <div class="col-sm-6"> | ||
104 | - <select class="form-control" name="method_type"> | ||
105 | - <option value="GET" <?php if(isset($doc['method']) && strtoupper($doc['method']) == 'GET'): ?>selected<?php endif; ?>>GET</option> | ||
106 | - <option value="POST" <?php if(isset($doc['method']) && strtoupper($doc['method']) == 'POST'): ?>selected<?php endif; ?>>POST</option> | ||
107 | - <option value="PUT" <?php if(isset($doc['method']) && strtoupper($doc['method']) == 'PUT'): ?>selected<?php endif; ?>>PUT</option> | ||
108 | - <option value="DELETE" <?php if(isset($doc['method']) && strtoupper($doc['method']) == 'DELETE'): ?>selected<?php endif; ?>>DELETE</option> | ||
109 | - </select> | ||
110 | - </div> | ||
111 | - <div class="col-sm-4"></div> | ||
112 | - </div> | ||
113 | - <div class="form-group"> | ||
114 | - <label class="col-sm-2 control-label">Cookie</label> | ||
115 | - <div class="col-sm-6"> | ||
116 | - <textarea class="form-control" type="text" name="cookie"><?php echo http_build_query($_COOKIE,'',';'); ?></textarea> | ||
117 | - </div> | ||
118 | - <div class="col-sm-4"></div> | ||
119 | - </div> | ||
120 | - <div class="form-group"> | ||
121 | - <label class="col-sm-2 control-label"> </label> | ||
122 | - <div class="col-sm-6"> | ||
123 | - <button type="button" class="btn btn-warning" data-toggle="modal" data-target="#addParamModal"> | ||
124 | - <span class="glyphicon glyphicon-plus"></span> 增加参数</button> | ||
125 | - </div> | ||
126 | - </div> | ||
127 | - <?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;?> | ||
128 | - <div class="form-group"> | ||
129 | - <label class="col-sm-2 control-label"><?php echo (isset($param['name']) && ($param['name'] !== '')?$param['name']:""); ?></label> | ||
130 | - <div class="col-sm-6"> | ||
131 | - <input class="form-control" type="text" name="<?php echo (isset($param['name']) && ($param['name'] !== '')?$param['name']:''); ?>" value=""> | ||
132 | - </div> | ||
133 | - <div class="col-sm-4"><label class="control-label text-warning"></label></div> | ||
134 | - </div> | ||
135 | - <?php endforeach; endif; else: echo "" ;endif; endif; ?> | ||
136 | - </form> | ||
137 | - </div> | ||
138 | - </div> | ||
139 | - <!--head--> | ||
140 | - | ||
141 | - <div class="panel panel-primary" style="border-color: #00A881;"> | ||
142 | - <div class="panel-heading" style="border-color: #00A881;background-color: #00A881"> | ||
143 | - <h3 class="panel-title">返回结果</h3> | ||
144 | - </div> | ||
145 | - <div class="panel-body" id="span_result"> | ||
146 | - <div class="form-inline result_body"> | ||
147 | - <button type="button" class="btn btn-info" data-toggle="modal" data-target="#addJosnTextmModal">自定义解析数据</button> | ||
148 | - <label>缩进量:</label> | ||
149 | - <select class="form-control" id="TabSize" onchange="TabSizeChanged()"> | ||
150 | - <option value="1">1</option> | ||
151 | - <option value="2" selected="true">2</option> | ||
152 | - <option value="3">3</option> | ||
153 | - <option value="4">4</option> | ||
154 | - <option value="5">5</option> | ||
155 | - <option value="6">6</option> | ||
156 | - </select> | ||
157 | - <input type="checkbox" id="QuoteKeys" onclick="QuoteKeysClicked()" checked="true"/> <label>引号</label> | ||
158 | - <a href="javascript:void(0);" onclick="SelectAllClicked()">全选</a> | ||
159 | - <a href="javascript:void(0);" onclick="ExpandAllClicked()">展开</a> | ||
160 | - <a href="javascript:void(0);" onclick="CollapseAllClicked()">叠起</a> | ||
161 | - <a href="javascript:void(0);" onclick="CollapseLevel(3)">2级</a> | ||
162 | - <a href="javascript:void(0);" onclick="CollapseLevel(4)">3级</a> | ||
163 | - <a href="javascript:void(0);" onclick="CollapseLevel(5)">4级</a> | ||
164 | - <a href="javascript:void(0);" onclick="CollapseLevel(6)">5级</a> | ||
165 | - <a href="javascript:void(0);" onclick="CollapseLevel(7)">6级</a> | ||
166 | - <a href="javascript:void(0);" onclick="CollapseLevel(8)">7级</a> | ||
167 | - <a href="javascript:void(0);" onclick="CollapseLevel(9)">8级</a> | ||
168 | - </div> | ||
169 | - | ||
170 | - <div id="Canvas" class="Canvas"></div> | ||
171 | - | ||
172 | - </div> | ||
173 | - | ||
174 | - </div> | ||
175 | - | ||
176 | - </div> | ||
177 | - <!--test--> | ||
178 | - </div> | ||
179 | - | ||
180 | - | ||
181 | - <br/> | ||
182 | - <div role="alert" class="alert alert-info"> | ||
183 | - <strong>提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改</strong> | ||
184 | - </div> | ||
185 | - </div> | ||
186 | - | ||
187 | - <p>© <?php echo $copyright; ?> <p> | ||
188 | -</div> | ||
189 | -<!-- 模态框(Modal) --> | ||
190 | -<div class="modal fade" id="addParamModal" tabindex="-1" role="dialog" | ||
191 | - aria-labelledby="myModalLabel" aria-hidden="true"> | ||
192 | - <div class="modal-dialog"> | ||
193 | - <div class="modal-content"> | ||
194 | - <div class="modal-header"> | ||
195 | - <button type="button" class="close" | ||
196 | - data-dismiss="modal" aria-hidden="true"> | ||
197 | - × | ||
198 | - </button> | ||
199 | - <h4 class="modal-title" id="myModalLabel">增加参数</h4> | ||
200 | - </div> | ||
201 | - <div class="modal-body"> | ||
202 | - <form class="form-horizontal" role="form"> | ||
203 | - <div class="form-group"> | ||
204 | - <label class="col-sm-2 control-label">参数名</label> | ||
205 | - <div class="col-sm-6"> | ||
206 | - <input class="form-control" type="text" name="addparam" value=""> | ||
207 | - </div> | ||
208 | - </div> | ||
209 | - </form> | ||
210 | - </div> | ||
211 | - <div class="modal-footer"> | ||
212 | - <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button> | ||
213 | - <button type="button" class="btn btn-primary" id="addParam">提交</button> | ||
214 | - </div> | ||
215 | - </div><!-- /.modal-content --> | ||
216 | - </div><!-- /.modal --> | ||
217 | -</div> | ||
218 | -<!-- 模态框(Modal) --> | ||
219 | -<div class="modal fade" id="addJosnTextmModal" tabindex="-1" role="dialog" | ||
220 | - aria-labelledby="myModalLabel" aria-hidden="true"> | ||
221 | - <div class="modal-dialog"> | ||
222 | - <div class="modal-content"> | ||
223 | - <div class="modal-header"> | ||
224 | - <button type="button" class="close" | ||
225 | - data-dismiss="modal" aria-hidden="true"> | ||
226 | - × | ||
227 | - </button> | ||
228 | - <h4 class="modal-title" id="myModalLabel">输入需要解析的json文本...</h4> | ||
229 | - </div> | ||
230 | - <div class="modal-body"> | ||
231 | - <form class="form-horizontal" role="form"> | ||
232 | - <div class="form-group"> | ||
233 | - <label class="col-sm-2 control-label">JSON文本</label> | ||
234 | - <div class="col-sm-10"> | ||
235 | - <textarea class="form-control" name="jsonText" style="width:450px;height: 200px;"></textarea> | ||
236 | - </div> | ||
237 | - </div> | ||
238 | - </form> | ||
239 | - </div> | ||
240 | - <div class="modal-footer"> | ||
241 | - <button type="button" class="btn btn-default" data-dismiss="modal">取消</button> | ||
242 | - <button type="button" class="btn btn-primary" id="addJson">解析</button> | ||
243 | - </div> | ||
244 | - </div><!-- /.modal-content --> | ||
245 | - </div><!-- /.modal --> | ||
246 | -</div> | ||
247 | -<script type="text/javascript"> | ||
248 | - $(function () { | ||
249 | - $('#addParamModal').on('show.bs.modal', function () { | ||
250 | - init(); | ||
251 | - }) | ||
252 | - $('#addParamModal').on('hide.bs.modal', function () { | ||
253 | - //关闭 | ||
254 | - }) | ||
255 | - //发送 | ||
256 | - $("#send").click(function(){ | ||
257 | - var $btn = $(this).button('loading'); | ||
258 | - $.ajax({ | ||
259 | - type: "POST", | ||
260 | - url: "<?php echo $root; ?>/doc/debug", | ||
261 | - data: $("#apiform").serialize(), | ||
262 | - dataType:'json', | ||
263 | - success: function (data) { | ||
264 | - window.json = data.result; | ||
265 | - Process(); | ||
266 | - $btn.button('reset'); | ||
267 | - }, | ||
268 | - complete : function(XMLHttpRequest,status){ | ||
269 | - if(status == 'timeout'){ | ||
270 | - alert("网络超时"); | ||
271 | - $btn.button('reset'); | ||
272 | - } | ||
273 | - } | ||
274 | - }); | ||
275 | - }); | ||
276 | - | ||
277 | - // 添加自定义json | ||
278 | - $('#addJosnTextmModal').on('show.bs.modal', function () { | ||
279 | - init(); | ||
280 | - }) | ||
281 | - $('#addJosnTextmModal').on('hide.bs.modal', function () { | ||
282 | - //关闭 | ||
283 | - }) | ||
284 | - window.ImgCollapsed = "<?php echo $static; ?>/img/Collapsed.gif"; | ||
285 | - window.ImgExpanded = "<?php echo $static; ?>/img/Expanded.gif"; | ||
286 | - }); | ||
287 | - | ||
288 | - function init(){ | ||
289 | - $("#addParam").click(function(){ | ||
290 | - var name = $('input[name="addparam"]').val(); | ||
291 | - if(name.length > 0){ | ||
292 | - var group = $("#apiform").find('.form-group').last().clone(true); | ||
293 | - $(group).find('.col-sm-2').text(name); | ||
294 | - $(group).find('.form-control').attr('name',name); | ||
295 | - $(group).find('.form-control').attr('value',''); | ||
296 | - $(group).find('.text-warning').text(''); | ||
297 | - $("#apiform").append(group); | ||
298 | - } | ||
299 | - $('#addParamModal').modal('hide'); | ||
300 | - }); | ||
301 | - | ||
302 | - $("#addJson").click(function(){ | ||
303 | - window.json = $('textarea[name="jsonText"]').val(); | ||
304 | - Process(); | ||
305 | - $('#addJosnTextmModal').modal('hide'); | ||
306 | - }); | ||
307 | - } | ||
308 | -</script> | ||
309 | - | ||
310 | - | ||
311 | -</body> | ||
312 | -</html> |
1 | -<?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;}*/ ?> | ||
2 | -<!DOCTYPE html> | ||
3 | -<html> | ||
4 | -<head> | ||
5 | - <meta charset="utf-8"> | ||
6 | - <title><?php echo $title; ?></title> | ||
7 | - <link href='<?php echo $static; ?>/css/bootstrap.min.css' rel='stylesheet' type='text/css'> | ||
8 | - <link href='<?php echo $static; ?>/css/style.css' rel='stylesheet' type='text/css'> | ||
9 | - <script src="<?php echo $static; ?>/js/jquery-1.9.1.min.js" type="text/javascript"></script> | ||
10 | - <script src="<?php echo $static; ?>/js/bootstrap.min.js" type="text/javascript"></script> | ||
11 | -</head> | ||
12 | - | ||
13 | -<style type="text/css"> | ||
14 | - .title{text-align: center;margin: 100px auto;} | ||
15 | - .module{text-align: center;margin: 20px auto;} | ||
16 | - .search {position: relative;} | ||
17 | - .search .typeahead{width: 80%;font-size: 18px;line-height: 1.3333333;} | ||
18 | - .search input{width: 80%;display: inline-block;} | ||
19 | - .search button{height: 48px;width: 18%; margin-top: -5px; text-transform: uppercase;font-weight: bold;font-size: 14px; } | ||
20 | -</style> | ||
21 | -<script src="<?php echo $static; ?>/js/bootstrap-typeahead.js" type="text/javascript"></script> | ||
22 | - | ||
23 | -<body> | ||
24 | - | ||
25 | -<div class="container"> | ||
26 | - <div class="title"> | ||
27 | - <h1><?php echo $title; ?></h1> | ||
28 | - </div> | ||
29 | - | ||
30 | - <div class="module"> | ||
31 | - <ul class="nav nav-pills"> | ||
32 | - <?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'])): ?> | ||
33 | - <li role="presentation" class="dropdown"> | ||
34 | - <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"> | ||
35 | - <?php echo (isset($group['title']) && ($group['title'] !== '')?$group['title']:''); ?> <span class="caret"></span> | ||
36 | - </a> | ||
37 | - <ul class="dropdown-menu"> | ||
38 | - <?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;?> | ||
39 | - <li role="presentation"><a href="#" module><?php echo (isset($val['title']) && ($val['title'] !== '')?$val['title']:''); ?></a></li> | ||
40 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
41 | - </ul> | ||
42 | - </li> | ||
43 | - <?php else: ?> | ||
44 | - <li role="presentation"><a href="#" module><?php echo (isset($group['title']) && ($group['title'] !== '')?$group['title']:''); ?></a></li> | ||
45 | - <?php endif; endforeach; endif; else: echo "" ;endif; ?> | ||
46 | - </ul> | ||
47 | - </div> | ||
48 | - | ||
49 | - <div class="form-group search"> | ||
50 | - <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"> | ||
51 | - <button class="btn btn-lg btn-success" id="search" data-loading-text="Loading..." autocomplete="off"><i class="glyphicon glyphicon-search"></i> 搜 素</button> | ||
52 | - </div> | ||
53 | - | ||
54 | - <div class="result"> | ||
55 | - <div class="list-group"></div> | ||
56 | - </div> | ||
57 | -</div> | ||
58 | -<script type="text/javascript"> | ||
59 | - $(function () { | ||
60 | - $('#search_input').typeahead({ | ||
61 | - source: function (query, process) { | ||
62 | - $.getJSON("<?php echo $root; ?>/doc/search", { "query": query }, function(data){ | ||
63 | - var items = []; | ||
64 | - $.each(data, function(index, doc){ | ||
65 | - items.push(doc.title); | ||
66 | - }); | ||
67 | - process(items); | ||
68 | - }); | ||
69 | - } | ||
70 | - }); | ||
71 | - $('#search').click(function(){ | ||
72 | - var query = $('#search_input').val(); | ||
73 | - var $btn = $(this).button('loading'); | ||
74 | - $.ajax({ | ||
75 | - type: "GET", | ||
76 | - url: "<?php echo $root; ?>/doc/search?query="+query, | ||
77 | - dataType:'json', | ||
78 | - success: function (data) { | ||
79 | - $(".result .list-group").html(''); | ||
80 | - $.each(data, function(index, doc){ | ||
81 | - var item = '<a href="javascript:void(0)" class="list-group-item" name="'+ doc.name +'" title="'+ doc.title +'" doc>' + | ||
82 | - '<span class="badge">'+ doc.author +'</span>' + | ||
83 | - ''+ doc.title + '<span class="text-primary">('+ doc.url +')</span>'+'</a>'; | ||
84 | - $(".result .list-group").append(item); | ||
85 | - }); | ||
86 | - $btn.button('reset'); | ||
87 | - }, | ||
88 | - complete : function(XMLHttpRequest,status){ | ||
89 | - if(status == 'timeout'){ | ||
90 | - alert("网络超时"); | ||
91 | - $btn.button('reset'); | ||
92 | - } | ||
93 | - } | ||
94 | - }); | ||
95 | - }); | ||
96 | - | ||
97 | - $('a[module]').click(function(){ | ||
98 | - if(window.parent) | ||
99 | - { | ||
100 | - var zTree = window.parent.zTree; | ||
101 | - var node = zTree.getNodeByParam("title", $(this).text()); | ||
102 | - zTree.selectNode(node); | ||
103 | - } | ||
104 | - }); | ||
105 | - | ||
106 | - $(".result .list-group").on('click', 'a[doc]', function(){ | ||
107 | - if(window.parent) | ||
108 | - { | ||
109 | - var zTree = window.parent.zTree; | ||
110 | - var node = zTree.getNodeByParam("name", $(this).attr('name')); | ||
111 | - window.parent.loadText(node.tId, $(this).attr('title'), $(this).attr('name')); | ||
112 | - zTree.selectNode(node); | ||
113 | - } | ||
114 | - }); | ||
115 | - }); | ||
116 | -</script> | ||
117 | - | ||
118 | - | ||
119 | -</body> | ||
120 | -</html> |
1 | -<?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;}*/ ?> | ||
2 | -<!DOCTYPE html> | ||
3 | -<html> | ||
4 | -<head> | ||
5 | - <meta charset="utf-8"> | ||
6 | - <title><?php echo $title; ?></title> | ||
7 | - <link href='<?php echo $static; ?>/css/bootstrap.min.css' rel='stylesheet' type='text/css'> | ||
8 | - <link href='<?php echo $static; ?>/css/style.css' rel='stylesheet' type='text/css'> | ||
9 | - <script src="<?php echo $static; ?>/js/jquery-1.9.1.min.js" type="text/javascript"></script> | ||
10 | - <script src="<?php echo $static; ?>/js/bootstrap.min.js" type="text/javascript"></script> | ||
11 | -</head> | ||
12 | - | ||
13 | -<script src="<?php echo $static; ?>/js/zTree_v3/js/jquery.ztree.core-3.5.min.js" type="text/javascript"></script> | ||
14 | -<link href="<?php echo $static; ?>/js//zTree_v3/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" /> | ||
15 | -<style type="text/css"> | ||
16 | - .tab-content{width: 100%;height: 100%; overflow: hidden;} | ||
17 | - .tab-content .tab-pane{width: 100%;height: 100%; overflow: hidden;} | ||
18 | -</style> | ||
19 | - | ||
20 | -<body> | ||
21 | - | ||
22 | -<div class="zt_header"> | ||
23 | - <?php echo $title; ?> | ||
24 | - <span><?php echo $version; ?></span> | ||
25 | - <span class="zt_download"><?php echo $copyright; ?></span> | ||
26 | -</div> | ||
27 | -<div class="zt_main"> | ||
28 | - <div class="zt_navi"> | ||
29 | - <div class="zt_navi_inner"> | ||
30 | - <div class="ztree" id="zt_navi_tree"></div> | ||
31 | - </div> | ||
32 | - </div> | ||
33 | - <div class="zt_content" style="overflow: hidden;"> | ||
34 | - <ul id="apiTab" class="nav nav-tabs"> | ||
35 | - <li id="index_tab" class="active"><a href="#index_tab_content" data-toggle="tab">搜索</a></li> | ||
36 | - </ul> | ||
37 | - <div class="tab-content"> | ||
38 | - <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> | ||
39 | - </div> | ||
40 | - </div> | ||
41 | -</div> | ||
42 | - | ||
43 | - | ||
44 | -<script type="text/javascript"> | ||
45 | - var setting = { | ||
46 | - view: { | ||
47 | - selectedMulti: false | ||
48 | - }, | ||
49 | - callback: { | ||
50 | - beforeClick: beforeClick, | ||
51 | - onClick: onClick | ||
52 | - }, | ||
53 | - data:{ | ||
54 | - key:{ | ||
55 | - children: "actions", | ||
56 | - name: "title", | ||
57 | - url:"", | ||
58 | - } | ||
59 | - } | ||
60 | - }; | ||
61 | - function beforeClick(treeId, treeNode, clickFlag) { | ||
62 | - if (treeNode.isParent) { | ||
63 | - zTree.expandNode(treeNode); | ||
64 | - return false; | ||
65 | - }else if(!treeNode.isText){ | ||
66 | - return false; | ||
67 | - } | ||
68 | - return true; | ||
69 | - } | ||
70 | - | ||
71 | - function onClick(event, treeId, treeNode, clickFlag) { | ||
72 | - if (!treeNode.isParent) { | ||
73 | - if(treeNode.isText){ | ||
74 | - var tab_id = treeNode.tId; | ||
75 | - var name = treeNode.title; | ||
76 | - loadText(tab_id, name, treeNode.name); | ||
77 | - } | ||
78 | - } | ||
79 | - } | ||
80 | - | ||
81 | - function closeTab(tab) { | ||
82 | - var id = $(tab).parent().parent().attr('id'); | ||
83 | - $("#" + id).remove(); | ||
84 | - $("#" + id + "_content").remove(); | ||
85 | - //显示最后一个tab | ||
86 | - id = $("#apiTab").find('>li:last').attr('id'); | ||
87 | - $("#"+id+" > a").click(); | ||
88 | - } | ||
89 | - | ||
90 | - function loadText(tab_id, title, name){ | ||
91 | - //创建tab | ||
92 | - var tab_id = tab_id + "_tab"; | ||
93 | - if($("#"+tab_id).length == 0) | ||
94 | - { | ||
95 | - // class="active" | ||
96 | - $("#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>'); | ||
97 | - }else{ | ||
98 | - $("#"+tab_id+" > a").click(); | ||
99 | - } | ||
100 | - var tab_content = tab_id + "_content"; | ||
101 | - if($("#"+tab_content).length == 0) | ||
102 | - { | ||
103 | - // active | ||
104 | - $(".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>'); | ||
105 | - $("#"+tab_id+" > a").click(); | ||
106 | - } | ||
107 | - var content_text = $("#" + tab_content).find("#zt_text"); | ||
108 | - $(content_text).html("<p>加载中……</p>"); | ||
109 | - $(content_text).attr("src","<?php echo $root; ?>/doc/info?name="+name); | ||
110 | - initHeight(); | ||
111 | - } | ||
112 | - var zTree; | ||
113 | - $(document).ready(function(){ | ||
114 | - $.ajax({ | ||
115 | - url: "<?php echo $root; ?>/doc/list", | ||
116 | - dataType: "json", | ||
117 | - success: function(data){ | ||
118 | - var zNodes = data.list; | ||
119 | - zTree = $.fn.zTree.init($("#zt_navi_tree"), setting, zNodes); | ||
120 | - var currentId = data.firstId || '<?php str_replace('\\', '\\\\', $doc) ?>'; | ||
121 | - if(currentId) { | ||
122 | - var node = zTree.getNodeByParam("name", currentId); | ||
123 | - loadText(node.tId, node.title, node.name); | ||
124 | - zTree.selectNode(node); | ||
125 | - } | ||
126 | - } | ||
127 | - }); | ||
128 | - initHeight(); | ||
129 | - }); | ||
130 | - | ||
131 | - function initHeight() | ||
132 | - { | ||
133 | - $(".tab-content").height($(".zt_content").height() - $("#apiTab").height()); | ||
134 | - } | ||
135 | -</script> | ||
136 | - | ||
137 | -</body> | ||
138 | -</html> |
data/runtime/log/201812/03.log
已删除
100644 → 0
此 diff 太大无法显示。
data/runtime/log/201812/04.log
已删除
100644 → 0
此 diff 太大无法显示。
data/runtime/log/201812/05.log
已删除
100644 → 0
此 diff 太大无法显示。
data/runtime/log/201812/06.log
已删除
100644 → 0
此 diff 太大无法显示。
data/runtime/log/201812/08.log
已删除
100644 → 0
此 diff 太大无法显示。
1 | -<?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;}*/ ?> | ||
2 | -<!doctype html> | ||
3 | -<html> | ||
4 | -<head> | ||
5 | - <meta charset="utf-8" /> | ||
6 | -<title>bronet安装</title> | ||
7 | -<link rel="stylesheet" href="__STATIC__/install/simpleboot/themes/flat/theme.min.css" /> | ||
8 | -<link rel="stylesheet" href="__STATIC__/install/css/install.css" /> | ||
9 | -<link rel="stylesheet" href="__STATIC__/font-awesome/css/font-awesome.min.css" type="text/css"> | ||
10 | - | ||
11 | - | ||
12 | -</head> | ||
13 | -<body> | ||
14 | -<div class="wrap"> | ||
15 | - <div class="header"> | ||
16 | - <h1 class="logo">bronet 安装向导</h1> | ||
17 | - <div class="version"><?php echo BRONET_VERSION; ?></div> | ||
18 | -</div> | ||
19 | - <section class="section"> | ||
20 | - <div class="step"> | ||
21 | - <ul class="unstyled"> | ||
22 | - <li class="on"><em>1</em>检测环境</li> | ||
23 | - <li class="current"><em>2</em>创建数据</li> | ||
24 | - <li><em>3</em>完成安装</li> | ||
25 | - </ul> | ||
26 | - </div> | ||
27 | - <form id="js-install-form" action="<?php echo url('index/step4'); ?>" method="post"> | ||
28 | - <input type="hidden" name="force" value="0"/> | ||
29 | - <div class="server"> | ||
30 | - <table width="100%"> | ||
31 | - <tr> | ||
32 | - <td class="td1" width="100">数据库信息</td> | ||
33 | - <td class="td1" width="200"> </td> | ||
34 | - <td class="td1"> </td> | ||
35 | - </tr> | ||
36 | - <tr> | ||
37 | - <td class="text-left">数据库服务器:</td> | ||
38 | - <td><input type="text" name="dbhost" id="dbhost" value="127.0.0.1" class="input"></td> | ||
39 | - <td> | ||
40 | - <div id="js-install-tip-dbhost"> | ||
41 | - <span class="gray">数据库服务器地址,一般为127.0.0.1或localhost</span> | ||
42 | - </div> | ||
43 | - </td> | ||
44 | - </tr> | ||
45 | - <tr> | ||
46 | - <td class="text-left">数据库端口:</td> | ||
47 | - <td><input type="text" name="dbport" id="dbport" value="3306" class="input"></td> | ||
48 | - <td> | ||
49 | - <div id="js-install-tip-dbport"> | ||
50 | - <span class="gray">数据库服务器端口,一般为3306</span> | ||
51 | - </div> | ||
52 | - </td> | ||
53 | - </tr> | ||
54 | - <tr> | ||
55 | - <td class="text-left">数据库用户名:</td> | ||
56 | - <td><input type="text" name="dbuser" id="dbuser" value="root" class="input"></td> | ||
57 | - <td> | ||
58 | - <div id="js-install-tip-dbuser"></div> | ||
59 | - </td> | ||
60 | - </tr> | ||
61 | - <tr> | ||
62 | - <td class="text-left">数据库密码:</td> | ||
63 | - <td> | ||
64 | - <input type="password" name="dbpw" id="dbpw" value="" class="input" autoComplete="off" | ||
65 | - onblur="TestDbPwd()"> | ||
66 | - </td> | ||
67 | - <td> | ||
68 | - <div id="js-install-tip-dbpw"></div> | ||
69 | - </td> | ||
70 | - </tr> | ||
71 | - <tr> | ||
72 | - <td class="text-left">数据库名:</td> | ||
73 | - <td><input type="text" name="dbname" id="dbname" value="bronet5" class="input"></td> | ||
74 | - <td> | ||
75 | - <div id="js-install-tip-dbname"> | ||
76 | - <span class="gray">最好小写字母</span> | ||
77 | - </div> | ||
78 | - </td> | ||
79 | - </tr> | ||
80 | - <tr> | ||
81 | - <td class="text-left">数据库表前缀:</td> | ||
82 | - <td><input type="text" name="dbprefix" id="dbprefix" value="bro_" class="input"></td> | ||
83 | - <td> | ||
84 | - <div id="js-install-tip-dbprefix"> | ||
85 | - <span class="gray">建议使用默认,同一数据库安装多个项目时需修改</span> | ||
86 | - </div> | ||
87 | - </td> | ||
88 | - </tr> | ||
89 | - <tr> | ||
90 | - <td class="text-left">数据库编码:</td> | ||
91 | - <td> | ||
92 | - <select type="text" name="dbcharset" id="dbcharset" value="" class="input"> | ||
93 | - <option value="utf8mb4">utf8mb4</option> | ||
94 | - <option value="utf8">utf8</option> | ||
95 | - </select> | ||
96 | - </td> | ||
97 | - <td> | ||
98 | - <div id="js-install-tip-dbcharset"> | ||
99 | - <span class="gray">如果您的服务器是虚拟空间不支持uft8mb4,请选择 utf8</span> | ||
100 | - </div> | ||
101 | - </td> | ||
102 | - </tr> | ||
103 | - </table> | ||
104 | - <table width="100%"> | ||
105 | - <tr> | ||
106 | - <td class="td1" width="100">网站配置</td> | ||
107 | - <td class="td1" width="200"> </td> | ||
108 | - <td class="td1"> </td> | ||
109 | - </tr> | ||
110 | - <tr> | ||
111 | - <td class="text-left">网站名称:</td> | ||
112 | - <td><input type="text" name="sitename" value="bronet内容管理框架" class="input"></td> | ||
113 | - <td> | ||
114 | - <div id="js-install-tip-sitename"></div> | ||
115 | - </td> | ||
116 | - </tr> | ||
117 | - <tr> | ||
118 | - <td class="text-left">关键词:</td> | ||
119 | - <td> | ||
120 | - <input type="text" name="sitekeywords" | ||
121 | - value="bronet,php,内容管理框架,cmf,cms,简约风, simplewind,framework" class="input" | ||
122 | - autoComplete="off"> | ||
123 | - </td> | ||
124 | - <td> | ||
125 | - <div id="js-install-tip-sitekeywords"></div> | ||
126 | - </td> | ||
127 | - </tr> | ||
128 | - <tr> | ||
129 | - <td class="text-left">描述:</td> | ||
130 | - <td> | ||
131 | - <input type="text" name="siteinfo" class="input" value="bronet是简约风网络科技发布的一款用于快速开发的内容管理框架"> | ||
132 | - </td> | ||
133 | - <td> | ||
134 | - <div id="js-install-tip-siteinfo"></div> | ||
135 | - </td> | ||
136 | - </tr> | ||
137 | - </table> | ||
138 | - <table width="100%"> | ||
139 | - <tr> | ||
140 | - <td class="td1" width="100">创始人信息</td> | ||
141 | - <td class="td1" width="200"> </td> | ||
142 | - <td class="td1"> </td> | ||
143 | - </tr> | ||
144 | - <tr> | ||
145 | - <td class="text-left">管理员帐号:</td> | ||
146 | - <td><input type="text" name="manager" value="bronet" class="input"></td> | ||
147 | - <td> | ||
148 | - <div id="js-install-tip-manager"></div> | ||
149 | - </td> | ||
150 | - </tr> | ||
151 | - <tr> | ||
152 | - <td class="text-left">密码:</td> | ||
153 | - <td> | ||
154 | - <input type="password" name="manager_pwd" id="js-manager-pwd" class="input" | ||
155 | - autoComplete="off"> | ||
156 | - </td> | ||
157 | - <td> | ||
158 | - <div id="js-install-tip-manager_pwd"></div> | ||
159 | - </td> | ||
160 | - </tr> | ||
161 | - <tr> | ||
162 | - <td class="text-left">重复密码:</td> | ||
163 | - <td> | ||
164 | - <input type="password" name="manager_ckpwd" class="input" autoComplete="off"> | ||
165 | - </td> | ||
166 | - <td> | ||
167 | - <div id="js-install-tip-manager_ckpwd"></div> | ||
168 | - </td> | ||
169 | - </tr> | ||
170 | - <tr> | ||
171 | - <td class="text-left">Email:</td> | ||
172 | - <td><input type="text" name="manager_email" class="input" value=""></td> | ||
173 | - <td> | ||
174 | - <div id="js-install-tip-manager_email"></div> | ||
175 | - </td> | ||
176 | - </tr> | ||
177 | - </table> | ||
178 | - <div id="js-response-tips" style="display: none;"></div> | ||
179 | - </div> | ||
180 | - <div class="bottom text-center"> | ||
181 | - <a href="<?php echo url('index/step2'); ?>" class="btn btn-primary">上一步</a> | ||
182 | - <button type="submit" class="btn btn-primary">创建数据</button> | ||
183 | - </div> | ||
184 | - </form> | ||
185 | - </section> | ||
186 | - <script src="__STATIC__/js/jquery.js"></script> | ||
187 | - <script src="__STATIC__/js/validate.js"></script> | ||
188 | - <script src="__STATIC__/js/ajaxForm.js"></script> | ||
189 | - <script> | ||
190 | - function TestDbPwd() { | ||
191 | - var dbHost = $('#dbhost').val(); | ||
192 | - var dbUser = $('#dbuser').val(); | ||
193 | - var dbPwd = $('#dbpw').val(); | ||
194 | - var dbName = $('#dbname').val(); | ||
195 | - var dbPort = $('#dbport').val(); | ||
196 | - data = { | ||
197 | - 'hostname': dbHost, | ||
198 | - 'username': dbUser, | ||
199 | - 'password': dbPwd, | ||
200 | - 'hostport': dbPort | ||
201 | - }; | ||
202 | - var url = "<?php echo url('index/testDbPwd'); ?>"; | ||
203 | - $.ajax({ | ||
204 | - type: "POST", | ||
205 | - url: url, | ||
206 | - data: data, | ||
207 | - beforeSend: function () { | ||
208 | - }, | ||
209 | - success: function (msg) { | ||
210 | - if (msg) { | ||
211 | - | ||
212 | - } else { | ||
213 | - $('#dbpw').val(""); | ||
214 | - $('#js-install-tip-dbpw').html('<span for="dbname" generated="true" class="tips-error" style="">数据库链接配置失败</span>'); | ||
215 | - } | ||
216 | - }, | ||
217 | - complete: function () { | ||
218 | - }, | ||
219 | - error: function () { | ||
220 | - $('#js-install-tip-dbpw').html('<span for="dbname" generated="true" class="tips-error" style="">数据库链接配置失败</span>'); | ||
221 | - $('#dbpw').val(""); | ||
222 | - } | ||
223 | - }); | ||
224 | - } | ||
225 | - $(function () { | ||
226 | - //聚焦时默认提示 | ||
227 | - var focus_tips = { | ||
228 | - dbhost: '数据库服务器地址,一般为localhost', | ||
229 | - dbport: '数据库服务器端口,一般为3306', | ||
230 | - dbuser: '', | ||
231 | - dbpw: '', | ||
232 | - dbname: '', | ||
233 | - dbprefix: '建议使用默认,同一数据库安装多个bronet时需修改', | ||
234 | - dbcharset: '如果您的服务器是虚拟空间不支持uft8mb4,请选择 utf8', | ||
235 | - manager: '创始人帐号,拥有站点后台所有管理权限', | ||
236 | - manager_pwd: '', | ||
237 | - manager_ckpwd: '', | ||
238 | - sitename: '', | ||
239 | - siteurl: '请以“/”结尾', | ||
240 | - sitekeywords: '', | ||
241 | - siteinfo: '', | ||
242 | - manager_email: '' | ||
243 | - }; | ||
244 | - | ||
245 | - var install_form = $("#js-install-form"); | ||
246 | - | ||
247 | - //validate插件修改了remote ajax验证返回的response处理方式;增加密码强度提示 passwordRank | ||
248 | - install_form.validate({ | ||
249 | - //debug : true, | ||
250 | - //onsubmit : false, | ||
251 | - errorPlacement: function (error, element) { | ||
252 | - //错误提示容器 | ||
253 | - $('#js-install-tip-' + element[0].name).html(error); | ||
254 | - }, | ||
255 | - errorElement: 'span', | ||
256 | - //invalidHandler : , 未验证通过 回调 | ||
257 | - //ignore : '.ignore' 忽略验证 | ||
258 | - //onkeyup : true, | ||
259 | - errorClass: 'tips-error', | ||
260 | - validClass: 'tips-error', | ||
261 | - onkeyup: false, | ||
262 | - focusInvalid: false, | ||
263 | - rules: { | ||
264 | - dbhost: {required: true}, | ||
265 | - dbport: {required: true}, | ||
266 | - dbuser: {required: true}, | ||
267 | - /* dbpw: {required : true}, */ | ||
268 | - dbname: {required: true}, | ||
269 | - dbprefix: {required: true}, | ||
270 | - manager: {required: true}, | ||
271 | - manager_pwd: {required: true}, | ||
272 | - manager_ckpwd: {required: true, equalTo: '#js-manager-pwd'}, | ||
273 | - manager_email: {required: true, email: true} | ||
274 | - }, | ||
275 | - highlight: false, | ||
276 | - unhighlight: function (element, errorClass, validClass) { | ||
277 | - var tip_elem = $('#js-install-tip-' + element.name); | ||
278 | - tip_elem.html('<span class="' + validClass + '" data-text="text"><span>'); | ||
279 | - }, | ||
280 | - onfocusin: function (element) { | ||
281 | - var name = element.name; | ||
282 | - $('#js-install-tip-' + name).html('<span data-text="text">' + focus_tips[name] + '</span>'); | ||
283 | - $(element).parents('tr').addClass('current'); | ||
284 | - }, | ||
285 | - onfocusout: function (element) { | ||
286 | - var _this = this; | ||
287 | - $(element).parents('tr').removeClass('current'); | ||
288 | - | ||
289 | - if (element.name === 'email') { | ||
290 | - //邮箱匹配点击后,延时处理 | ||
291 | - setTimeout(function () { | ||
292 | - _this.element(element); | ||
293 | - }, 150); | ||
294 | - } else { | ||
295 | - _this.element(element); | ||
296 | - } | ||
297 | - | ||
298 | - }, | ||
299 | - messages: { | ||
300 | - dbhost: {required: '数据库服务器地址不能为空'}, | ||
301 | - dbport: {required: '数据库服务器端口不能为空'}, | ||
302 | - dbuser: {required: '数据库用户名不能为空'}, | ||
303 | - dbpw: {required: '数据库密码不能为空'}, | ||
304 | - dbname: {required: '数据库名不能为空'}, | ||
305 | - dbprefix: {required: '数据库表前缀不能为空'}, | ||
306 | - manager: {required: '管理员帐号不能为空'}, | ||
307 | - manager_pwd: {required: '密码不能为空'}, | ||
308 | - manager_ckpwd: {required: '重复密码不能为空', equalTo: '两次输入的密码不一致,请重新输入.'}, | ||
309 | - manager_email: {required: 'Email不能为空', email: '请输入正确的电子邮箱地址'} | ||
310 | - }, | ||
311 | - submitHandler: function (form) { | ||
312 | - form.submit(); | ||
313 | - return true; | ||
314 | - } | ||
315 | - }); | ||
316 | - }); | ||
317 | - </script> | ||
318 | -</div> | ||
319 | -<div class="footer"> | ||
320 | - © 2013-<?php echo date('Y'); ?> <a href="http://www.bronet.cn" target="_blank">bronet Team</a> | ||
321 | -</div> | ||
322 | -</body> | ||
323 | -</html> |
1 | -<?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;}*/ ?> | ||
2 | -<!doctype html> | ||
3 | -<html> | ||
4 | -<head> | ||
5 | - <meta charset="utf-8" /> | ||
6 | -<title>bronet安装</title> | ||
7 | -<link rel="stylesheet" href="__STATIC__/install/simpleboot/themes/flat/theme.min.css" /> | ||
8 | -<link rel="stylesheet" href="__STATIC__/install/css/install.css" /> | ||
9 | -<link rel="stylesheet" href="__STATIC__/font-awesome/css/font-awesome.min.css" type="text/css"> | ||
10 | - | ||
11 | - | ||
12 | - <script type="text/javascript"> | ||
13 | - //全局变量 | ||
14 | - var GV = { | ||
15 | - ROOT: "<?php echo cmf_get_root(); ?>/", | ||
16 | - WEB_ROOT: "<?php echo cmf_get_root(); ?>/", | ||
17 | - JS_ROOT: "static/js/" | ||
18 | - }; | ||
19 | - </script> | ||
20 | - <script src="__STATIC__/js/jquery.js"></script> | ||
21 | - <script src="__STATIC__/js/wind.js"></script> | ||
22 | - <script type="text/html" id="exec-success-msg-tpl"> | ||
23 | - <li> | ||
24 | - <i class="fa fa-check correct"></i> | ||
25 | - {message}<br> | ||
26 | - <!--<pre>{sql}</pre>--> | ||
27 | - </li> | ||
28 | - </script> | ||
29 | - <script type="text/html" id="exec-fail-msg-tpl"> | ||
30 | - <li> | ||
31 | - <i class="fa fa-remove error"></i> | ||
32 | - {message}<br> | ||
33 | - <pre>{sql}</pre> | ||
34 | - <!--<pre>{exception}</pre>--> | ||
35 | - </li> | ||
36 | - </script> | ||
37 | -</head> | ||
38 | -<body> | ||
39 | -<div class="wrap"> | ||
40 | - <div class="header"> | ||
41 | - <h1 class="logo">bronet 安装向导</h1> | ||
42 | - <div class="version"><?php echo BRONET_VERSION; ?></div> | ||
43 | -</div> | ||
44 | - <section class="section"> | ||
45 | - <div class="step"> | ||
46 | - <ul class="unstyled"> | ||
47 | - <li class="on"><em>1</em>检测环境</li> | ||
48 | - <li class="on"><em>2</em>创建数据</li> | ||
49 | - <li class="current"><em>3</em>完成安装</li> | ||
50 | - </ul> | ||
51 | - </div> | ||
52 | - <div class="install" id="log"> | ||
53 | - <ul id="install-msg-panel" class="unstyled"></ul> | ||
54 | - </div> | ||
55 | - <div class="bottom text-center"> | ||
56 | - <a href="javascript:;"><i class="fa fa-refresh fa-spin"></i> 正在安装...</a> | ||
57 | - </div> | ||
58 | - </section> | ||
59 | - <script type="text/javascript"> | ||
60 | - $(function () { | ||
61 | - install(0); | ||
62 | - }); | ||
63 | - | ||
64 | - Wind.use("noty", function () { | ||
65 | - | ||
66 | - }); | ||
67 | - | ||
68 | - var $installMsgPanel = $('#install-msg-panel'); | ||
69 | - var $log = $("#log"); | ||
70 | - var execSuccessTpl = $('#exec-success-msg-tpl').html(); | ||
71 | - var execFailTpl = $('#exec-fail-msg-tpl').html(); | ||
72 | - var sqlExecResult; | ||
73 | - | ||
74 | - function install(sqlIndex) { | ||
75 | - $.ajax({ | ||
76 | - url: "<?php echo url('install/index/install'); ?>", | ||
77 | - data: {sql_index: sqlIndex}, | ||
78 | - dataType: 'json', | ||
79 | - type: 'post', | ||
80 | - success: function (data) { | ||
81 | - | ||
82 | - console.log(data); | ||
83 | - var line = sqlIndex + 1; | ||
84 | - if (data.code == 1) { | ||
85 | - | ||
86 | - if (!(data.data && data.data.done)) { | ||
87 | - var tpl = execSuccessTpl; | ||
88 | - tpl = tpl.replace(/\{message\}/g, line + '.' + data.msg); | ||
89 | - tpl = tpl.replace(/\{sql\}/g, data.data.sql); | ||
90 | - $installMsgPanel.append(tpl); | ||
91 | - | ||
92 | - } else { | ||
93 | - $installMsgPanel.append('<li><i class="fa fa-check correct"></i>数据库安装完成!</li>'); | ||
94 | - | ||
95 | - sqlExecResult = data.data; | ||
96 | - | ||
97 | - if (data.data.error) { | ||
98 | - noty({ | ||
99 | - text: "安装过程,共" + data.data.error + "个SQL执行错误,可能您在此数据库下已经安装过 CMF,请查看问题后重新安装,或者<br>" | ||
100 | - + '<a target="_blank" href="https://github.com/bronet/bronet/issues">反馈问题</a>', | ||
101 | - type: 'confirm', | ||
102 | - layout: "center", | ||
103 | - timeout: false, | ||
104 | - modal: true, | ||
105 | - buttons: [ | ||
106 | - { | ||
107 | - addClass: 'btn btn-primary', | ||
108 | - text: '确定', | ||
109 | - onClick: function ($noty) { | ||
110 | - $noty.close(); | ||
111 | - | ||
112 | - //setDbConfig(); | ||
113 | - | ||
114 | - } | ||
115 | - }, | ||
116 | - { | ||
117 | - addClass: 'btn btn-danger', | ||
118 | - text: '取消', | ||
119 | - onClick: function ($noty) { | ||
120 | - $noty.close(); | ||
121 | - | ||
122 | - } | ||
123 | - } | ||
124 | - ] | ||
125 | - }); | ||
126 | - } else { | ||
127 | - setDbConfig(); | ||
128 | - } | ||
129 | - } | ||
130 | - | ||
131 | - } else if (data.code == 0) { | ||
132 | - | ||
133 | - var tpl = execFailTpl; | ||
134 | - tpl = tpl.replace(/\{message\}/g, line + '.' + data.msg); | ||
135 | - tpl = tpl.replace(/\{sql\}/g, data.data.sql); | ||
136 | - tpl = tpl.replace(/\{exception\}/g, data.data.exception); | ||
137 | - $installMsgPanel.append(tpl); | ||
138 | - } | ||
139 | - | ||
140 | - $log.scrollTop(1000000000); | ||
141 | - | ||
142 | - if (!(data.data && data.data.done)) { | ||
143 | - sqlIndex++; | ||
144 | - install(sqlIndex); | ||
145 | - } | ||
146 | - | ||
147 | - | ||
148 | - }, | ||
149 | - error: function () { | ||
150 | - | ||
151 | - }, | ||
152 | - complete: function () { | ||
153 | - | ||
154 | - } | ||
155 | - }); | ||
156 | - } | ||
157 | - | ||
158 | - function setDbConfig() { | ||
159 | - $.ajax({ | ||
160 | - url: "<?php echo url('install/index/setDbConfig'); ?>", | ||
161 | - dataType: 'json', | ||
162 | - data:{_hibronet:1}, | ||
163 | - type: 'post', | ||
164 | - success: function (data) { | ||
165 | - if (data.code == 1) { | ||
166 | - $installMsgPanel.append('<li><i class="fa fa-check correct"></i>' + data.msg + '</li>'); | ||
167 | - $log.scrollTop(1000000000); | ||
168 | - setSite(); | ||
169 | - } else { | ||
170 | - $installMsgPanel.append('<li><i class="fa fa-remove error"></i>' + data.msg + '</li>'); | ||
171 | - $log.scrollTop(1000000000); | ||
172 | - noty({ | ||
173 | - text: data.msg + ',请检查 data/conf/database.php 是否可写!', | ||
174 | - type: 'confirm', | ||
175 | - layout: "center", | ||
176 | - timeout: false, | ||
177 | - modal: true, | ||
178 | - buttons: [ | ||
179 | - { | ||
180 | - addClass: 'btn btn-primary', | ||
181 | - text: '重试', | ||
182 | - onClick: function ($noty) { | ||
183 | - $noty.close(); | ||
184 | - setDbConfig(); | ||
185 | - } | ||
186 | - }, | ||
187 | - { | ||
188 | - addClass: 'btn btn-danger', | ||
189 | - text: '取消', | ||
190 | - onClick: function ($noty) { | ||
191 | - $noty.close(); | ||
192 | - } | ||
193 | - } | ||
194 | - ] | ||
195 | - }); | ||
196 | - } | ||
197 | - }, | ||
198 | - error: function () { | ||
199 | - | ||
200 | - } | ||
201 | - }); | ||
202 | - } | ||
203 | - | ||
204 | - function setSite() { | ||
205 | - $.ajax({ | ||
206 | - url: "<?php echo url('install/index/setSite'); ?>", | ||
207 | - dataType: 'json', | ||
208 | - data:{_hibronet:1}, | ||
209 | - type: 'post', | ||
210 | - success: function (data) { | ||
211 | - | ||
212 | - if (data.code == 1) { | ||
213 | - $installMsgPanel.append('<li><i class="fa fa-check correct"></i>' + data.msg + '</li>'); | ||
214 | - $log.scrollTop(1000000000); | ||
215 | - installTheme(); | ||
216 | - } else { | ||
217 | - $installMsgPanel.append('<li><i class="fa fa-remove error"></i>' + data.msg + '</li>'); | ||
218 | - $log.scrollTop(1000000000); | ||
219 | - noty({ | ||
220 | - text: data.msg, | ||
221 | - type: 'confirm', | ||
222 | - layout: "center", | ||
223 | - timeout: false, | ||
224 | - modal: true, | ||
225 | - buttons: [ | ||
226 | - { | ||
227 | - addClass: 'btn btn-primary', | ||
228 | - text: '重试', | ||
229 | - onClick: function ($noty) { | ||
230 | - $noty.close(); | ||
231 | - setSite(); | ||
232 | - } | ||
233 | - }, | ||
234 | - { | ||
235 | - addClass: 'btn btn-danger', | ||
236 | - text: '取消', | ||
237 | - onClick: function ($noty) { | ||
238 | - $noty.close(); | ||
239 | - } | ||
240 | - } | ||
241 | - ] | ||
242 | - }); | ||
243 | - } | ||
244 | - | ||
245 | - }, | ||
246 | - error: function () { | ||
247 | - | ||
248 | - } | ||
249 | - }); | ||
250 | - } | ||
251 | - | ||
252 | - function installTheme() { | ||
253 | - $.ajax({ | ||
254 | - url: "<?php echo url('install/index/installTheme'); ?>", | ||
255 | - dataType: 'json', | ||
256 | - data:{_hibronet:1}, | ||
257 | - type: 'post', | ||
258 | - success: function (data) { | ||
259 | - | ||
260 | - if (data.code == 1) { | ||
261 | - $installMsgPanel.append('<li><i class="fa fa-check correct"></i>' + data.msg + '</li>'); | ||
262 | - $log.scrollTop(1000000000); | ||
263 | - setTimeout(function () { | ||
264 | - window.location = "<?php echo url('install/index/step5'); ?>"; | ||
265 | - }, 1000); | ||
266 | - } else { | ||
267 | - $installMsgPanel.append('<li><i class="fa fa-remove error"></i>' + data.msg + '</li>'); | ||
268 | - $log.scrollTop(1000000000); | ||
269 | - noty({ | ||
270 | - text: data.msg, | ||
271 | - type: 'confirm', | ||
272 | - layout: "center", | ||
273 | - timeout: false, | ||
274 | - modal: true, | ||
275 | - buttons: [ | ||
276 | - { | ||
277 | - addClass: 'btn btn-primary', | ||
278 | - text: '重试', | ||
279 | - onClick: function ($noty) { | ||
280 | - $noty.close(); | ||
281 | - installTheme(); | ||
282 | - } | ||
283 | - }, | ||
284 | - { | ||
285 | - addClass: 'btn btn-danger', | ||
286 | - text: '取消', | ||
287 | - onClick: function ($noty) { | ||
288 | - $noty.close(); | ||
289 | - } | ||
290 | - } | ||
291 | - ] | ||
292 | - }); | ||
293 | - } | ||
294 | - | ||
295 | - }, | ||
296 | - error: function () { | ||
297 | - | ||
298 | - } | ||
299 | - }); | ||
300 | - } | ||
301 | - </script> | ||
302 | -</div> | ||
303 | -<div class="footer"> | ||
304 | - © 2013-<?php echo date('Y'); ?> <a href="http://www.bronet.cn" target="_blank">bronet Team</a> | ||
305 | -</div> | ||
306 | -</body> | ||
307 | -</html> |
1 | -<?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;}*/ ?> | ||
2 | -<!doctype html> | ||
3 | -<html> | ||
4 | -<head> | ||
5 | - <meta charset="utf-8"> | ||
6 | - <!-- Set render engine for 360 browser --> | ||
7 | - <meta name="renderer" content="webkit"> | ||
8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
9 | - <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
10 | - | ||
11 | - <!-- HTML5 shim for IE8 support of HTML5 elements --> | ||
12 | - <!--[if lt IE 9]> | ||
13 | - <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | ||
14 | - <![endif]--> | ||
15 | - | ||
16 | - | ||
17 | - <link href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet"> | ||
18 | - <link href="__TMPL__/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet"> | ||
19 | - <link href="__STATIC__/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> | ||
20 | - <style> | ||
21 | - form .input-order { | ||
22 | - margin-bottom: 0px; | ||
23 | - padding: 0 2px; | ||
24 | - width: 42px; | ||
25 | - font-size: 12px; | ||
26 | - } | ||
27 | - | ||
28 | - form .input-order:focus { | ||
29 | - outline: none; | ||
30 | - } | ||
31 | - | ||
32 | - .table-actions { | ||
33 | - margin-top: 5px; | ||
34 | - margin-bottom: 5px; | ||
35 | - padding: 0px; | ||
36 | - } | ||
37 | - | ||
38 | - .table-list { | ||
39 | - margin-bottom: 0px; | ||
40 | - } | ||
41 | - | ||
42 | - .form-required { | ||
43 | - color: red; | ||
44 | - } | ||
45 | - </style> | ||
46 | - <script type="text/javascript"> | ||
47 | - //全局变量 | ||
48 | - var GV = { | ||
49 | - ROOT: "__ROOT__/", | ||
50 | - WEB_ROOT: "__WEB_ROOT__/", | ||
51 | - JS_ROOT: "static/js/", | ||
52 | - APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/ | ||
53 | - }; | ||
54 | - </script> | ||
55 | - <script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script> | ||
56 | - <script src="__STATIC__/js/wind.js"></script> | ||
57 | - <script src="__TMPL__/public/assets/js/bootstrap.min.js"></script> | ||
58 | - <script> | ||
59 | - Wind.css('artDialog'); | ||
60 | - Wind.css('layer'); | ||
61 | - $(function () { | ||
62 | - $("[data-toggle='tooltip']").tooltip(); | ||
63 | - $("li.dropdown").hover(function () { | ||
64 | - $(this).addClass("open"); | ||
65 | - }, function () { | ||
66 | - $(this).removeClass("open"); | ||
67 | - }); | ||
68 | - }); | ||
69 | - </script> | ||
70 | - <?php if(APP_DEBUG): ?> | ||
71 | - <style> | ||
72 | - #think_page_trace_open { | ||
73 | - z-index: 9999; | ||
74 | - } | ||
75 | - </style> | ||
76 | - <?php endif; ?> | ||
77 | -</head> | ||
78 | -<body> | ||
79 | -<div class="wrap js-check-wrap"> | ||
80 | - <ul class="nav nav-tabs"> | ||
81 | - <li class="active"><a href="javascript:;">所有文章</a></li> | ||
82 | - <li><a href="<?php echo url('AdminArticle/add'); ?>">添加文章</a></li> | ||
83 | - </ul> | ||
84 | - <form class="well form-inline margin-top-20" method="post" action="<?php echo url('AdminArticle/index'); ?>"> | ||
85 | - 分类: | ||
86 | - <select class="form-control" name="category" style="width: 140px;"> | ||
87 | - <option value='0'>全部</option> | ||
88 | - <?php echo (isset($category_tree) && ($category_tree !== '')?$category_tree:''); ?> | ||
89 | - </select> | ||
90 | - 时间: | ||
91 | - <input type="text" class="form-control js-bootstrap-datetime" name="start_time" | ||
92 | - value="<?php echo (isset($start_time) && ($start_time !== '')?$start_time:''); ?>" | ||
93 | - style="width: 140px;" autocomplete="off">- | ||
94 | - <input type="text" class="form-control js-bootstrap-datetime" name="end_time" | ||
95 | - value="<?php echo (isset($end_time) && ($end_time !== '')?$end_time:''); ?>" | ||
96 | - style="width: 140px;" autocomplete="off"> | ||
97 | - 关键字: | ||
98 | - <input type="text" class="form-control" name="keyword" style="width: 200px;" | ||
99 | - value="<?php echo (isset($keyword) && ($keyword !== '')?$keyword:''); ?>" placeholder="请输入关键字..."> | ||
100 | - <input type="submit" class="btn btn-primary" value="搜索"/> | ||
101 | - <a class="btn btn-danger" href="<?php echo url('AdminArticle/index'); ?>">清空</a> | ||
102 | - </form> | ||
103 | - <form class="js-ajax-form" action="" method="post"> | ||
104 | - <div class="table-actions"> | ||
105 | - <?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?> | ||
106 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
107 | - data-action="<?php echo url('AdminArticle/listOrder'); ?>"><?php echo lang('SORT'); ?> | ||
108 | - </button> | ||
109 | - <?php endif; ?> | ||
110 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
111 | - data-action="<?php echo url('AdminArticle/publish',array('yes'=>1)); ?>" data-subcheck="true">发布 | ||
112 | - </button> | ||
113 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
114 | - data-action="<?php echo url('AdminArticle/publish',array('no'=>1)); ?>" data-subcheck="true">取消发布 | ||
115 | - </button> | ||
116 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
117 | - data-action="<?php echo url('AdminArticle/top',array('yes'=>1)); ?>" data-subcheck="true">置顶 | ||
118 | - </button> | ||
119 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
120 | - data-action="<?php echo url('AdminArticle/top',array('no'=>1)); ?>" data-subcheck="true">取消置顶 | ||
121 | - </button> | ||
122 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
123 | - data-action="<?php echo url('AdminArticle/recommend',array('yes'=>1)); ?>" data-subcheck="true">推荐 | ||
124 | - </button> | ||
125 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
126 | - data-action="<?php echo url('AdminArticle/recommend',array('no'=>1)); ?>" data-subcheck="true">取消推荐 | ||
127 | - </button> | ||
128 | - <!-- | ||
129 | - <?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?> | ||
130 | - <button class="btn btn-primary btn-sm js-articles-move" type="button">批量移动</button> | ||
131 | - <?php endif; ?> | ||
132 | - <button class="btn btn-primary btn-sm js-articles-copy" type="button">批量复制</button> | ||
133 | - --> | ||
134 | - <button class="btn btn-danger btn-sm js-ajax-submit" type="submit" | ||
135 | - data-action="<?php echo url('AdminArticle/delete'); ?>" data-subcheck="true" data-msg="您确定删除吗?"> | ||
136 | - <?php echo lang('DELETE'); ?> | ||
137 | - </button> | ||
138 | - </div> | ||
139 | - <table class="table table-hover table-bordered table-list"> | ||
140 | - <thead> | ||
141 | - <tr> | ||
142 | - <th width="15"> | ||
143 | - <label> | ||
144 | - <input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"> | ||
145 | - </label> | ||
146 | - </th> | ||
147 | - <?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?> | ||
148 | - <th width="50"><?php echo lang('SORT'); ?></th> | ||
149 | - <?php endif; ?> | ||
150 | - <th width="50">ID</th> | ||
151 | - <th>标题</th> | ||
152 | - <th>分类</th> | ||
153 | - <th width="50">作者</th> | ||
154 | - <th width="65">点击量</th> | ||
155 | - <th width="65">评论量</th> | ||
156 | - <th width="160">关键字/来源<br>摘要/缩略图</th> | ||
157 | - <th width="130">更新时间</th> | ||
158 | - <th width="130">发布时间</th> | ||
159 | - <th width="70">状态</th> | ||
160 | - <th width="90">操作</th> | ||
161 | - </tr> | ||
162 | - </thead> | ||
163 | - <?php if(is_array($articles) || $articles instanceof \think\Collection || $articles instanceof \think\Paginator): if( count($articles)==0 ) : echo "" ;else: foreach($articles as $key=>$vo): ?> | ||
164 | - <tr> | ||
165 | - <td> | ||
166 | - <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" | ||
167 | - value="<?php echo $vo['id']; ?>" title="ID:<?php echo $vo['id']; ?>"> | ||
168 | - </td> | ||
169 | - <?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?> | ||
170 | - <td> | ||
171 | - <input name="list_orders[<?php echo $vo['post_category_id']; ?>]" class="input-order" type="text" | ||
172 | - value="<?php echo $vo['list_order']; ?>"> | ||
173 | - </td> | ||
174 | - <?php endif; ?> | ||
175 | - <td><b><?php echo $vo['id']; ?></b></td> | ||
176 | - <td> | ||
177 | - <?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?> | ||
178 | - <a href="<?php echo cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$vo['category_id'])); ?>" | ||
179 | - target="_blank"><?php echo $vo['post_title']; ?></a> | ||
180 | - <?php else: ?> | ||
181 | - <a href="<?php echo cmf_url('portal/Article/index',array('id'=>$vo['id'])); ?>" | ||
182 | - target="_blank"><?php echo $vo['post_title']; ?></a> | ||
183 | - <?php endif; ?> | ||
184 | - </td> | ||
185 | - <td> | ||
186 | - <?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): ?> | ||
187 | - <span class="label label-default"> | ||
188 | - <a href="<?php echo cmf_url('portal/List/index',array('id'=>$voo['id'])); ?>" | ||
189 | - style="color: #fff;" | ||
190 | - target="_blank" | ||
191 | - ><?php echo $voo['name']; ?></a> | ||
192 | - </span> | ||
193 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
194 | - </td> | ||
195 | - <td><?php echo $vo['user_nickname']; ?></td> | ||
196 | - <td><?php echo (isset($vo['post_hits']) && ($vo['post_hits'] !== '')?$vo['post_hits']:0); ?></td> | ||
197 | - <td> | ||
198 | - <?php if(!(empty($vo['comment_count']) || (($vo['comment_count'] instanceof \think\Collection || $vo['comment_count'] instanceof \think\Paginator ) && $vo['comment_count']->isEmpty()))): ?> | ||
199 | - <?php echo (isset($vo['comment_count']) && ($vo['comment_count'] !== '')?$vo['comment_count']:'0'); ?> | ||
200 | - <!--<a href="javascript:parent.openIframeDialog('<?php echo url('comment/commentadmin/index',array('post_id'=>$vo['id'])); ?>','评论列表')"><?php echo $vo['comment_count']; ?></a>--> | ||
201 | - <?php else: ?> | ||
202 | - <?php echo (isset($vo['comment_count']) && ($vo['comment_count'] !== '')?$vo['comment_count']:'0'); endif; ?> | ||
203 | - </td> | ||
204 | - <td> | ||
205 | - <?php if(!(empty($vo['post_keywords']) || (($vo['post_keywords'] instanceof \think\Collection || $vo['post_keywords'] instanceof \think\Paginator ) && $vo['post_keywords']->isEmpty()))): ?> | ||
206 | - <i class="fa fa-check fa-fw"></i> | ||
207 | - <?php else: ?> | ||
208 | - <i class="fa fa-close fa-fw"></i> | ||
209 | - <?php endif; if(!(empty($vo['post_source']) || (($vo['post_source'] instanceof \think\Collection || $vo['post_source'] instanceof \think\Paginator ) && $vo['post_source']->isEmpty()))): ?> | ||
210 | - <i class="fa fa-check fa-fw"></i> | ||
211 | - <?php else: ?> | ||
212 | - <i class="fa fa-close fa-fw"></i> | ||
213 | - <?php endif; if(!(empty($vo['post_excerpt']) || (($vo['post_excerpt'] instanceof \think\Collection || $vo['post_excerpt'] instanceof \think\Paginator ) && $vo['post_excerpt']->isEmpty()))): ?> | ||
214 | - <i class="fa fa-check fa-fw"></i> | ||
215 | - <?php else: ?> | ||
216 | - <i class="fa fa-close fa-fw"></i> | ||
217 | - <?php endif; if(!(empty($vo['more']['thumbnail']) || (($vo['more']['thumbnail'] instanceof \think\Collection || $vo['more']['thumbnail'] instanceof \think\Paginator ) && $vo['more']['thumbnail']->isEmpty()))): ?> | ||
218 | - <a href="javascript:parent.imagePreviewDialog('<?php echo cmf_get_image_preview_url($vo['more']['thumbnail']); ?>');"> | ||
219 | - <i class="fa fa-photo fa-fw"></i> | ||
220 | - </a> | ||
221 | - <?php endif; ?> | ||
222 | - </td> | ||
223 | - <td> | ||
224 | - <?php if(!(empty($vo['update_time']) || (($vo['update_time'] instanceof \think\Collection || $vo['update_time'] instanceof \think\Paginator ) && $vo['update_time']->isEmpty()))): ?> | ||
225 | - <?php echo date('Y-m-d H:i',$vo['update_time']); endif; ?> | ||
226 | - | ||
227 | - </td> | ||
228 | - <td> | ||
229 | - <?php if(empty($vo['published_time']) || (($vo['published_time'] instanceof \think\Collection || $vo['published_time'] instanceof \think\Paginator ) && $vo['published_time']->isEmpty())): ?> | ||
230 | - 未发布 | ||
231 | - <?php else: ?> | ||
232 | - <?php echo date('Y-m-d H:i',$vo['published_time']); endif; ?> | ||
233 | - | ||
234 | - </td> | ||
235 | - <td> | ||
236 | - <?php if(!(empty($vo['post_status']) || (($vo['post_status'] instanceof \think\Collection || $vo['post_status'] instanceof \think\Paginator ) && $vo['post_status']->isEmpty()))): ?> | ||
237 | - <a data-toggle="tooltip" title="已发布"><i class="fa fa-check"></i></a> | ||
238 | - <?php else: ?> | ||
239 | - <a data-toggle="tooltip" title="未发布"><i class="fa fa-close"></i></a> | ||
240 | - <?php endif; if(!(empty($vo['is_top']) || (($vo['is_top'] instanceof \think\Collection || $vo['is_top'] instanceof \think\Paginator ) && $vo['is_top']->isEmpty()))): ?> | ||
241 | - <a data-toggle="tooltip" title="已置顶"><i class="fa fa-arrow-up"></i></a> | ||
242 | - <?php else: ?> | ||
243 | - <a data-toggle="tooltip" title="未置顶"><i class="fa fa-arrow-down"></i></a> | ||
244 | - <?php endif; if(!(empty($vo['recommended']) || (($vo['recommended'] instanceof \think\Collection || $vo['recommended'] instanceof \think\Paginator ) && $vo['recommended']->isEmpty()))): ?> | ||
245 | - <a data-toggle="tooltip" title="已推荐"><i class="fa fa-thumbs-up"></i></a> | ||
246 | - <?php else: ?> | ||
247 | - <a data-toggle="tooltip" title="未推荐"><i class="fa fa-thumbs-down"></i></a> | ||
248 | - <?php endif; ?> | ||
249 | - </td> | ||
250 | - <td> | ||
251 | - <a href="<?php echo url('AdminArticle/edit',array('id'=>$vo['id'])); ?>"><?php echo lang('EDIT'); ?></a> | ||
252 | - <a href="<?php echo url('AdminArticle/delete',array('id'=>$vo['id'])); ?>" class="js-ajax-delete"><?php echo lang('DELETE'); ?></a> | ||
253 | - </td> | ||
254 | - </tr> | ||
255 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
256 | - <tfoot> | ||
257 | - <tr> | ||
258 | - <th width="15"><label><input type="checkbox" class="js-check-all" data-direction="x" | ||
259 | - data-checklist="js-check-x"></label></th> | ||
260 | - <?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?> | ||
261 | - <th width="50"><?php echo lang('SORT'); ?></th> | ||
262 | - <?php endif; ?> | ||
263 | - <th width="50">ID</th> | ||
264 | - <th>标题</th> | ||
265 | - <th>分类</th> | ||
266 | - <th width="50">作者</th> | ||
267 | - <th width="65">点击量</th> | ||
268 | - <th width="65">评论量</th> | ||
269 | - <th width="160">关键字/来源<br>摘要/缩略图</th> | ||
270 | - <th width="130">更新时间</th> | ||
271 | - <th width="130">发布时间</th> | ||
272 | - <th width="70">状态</th> | ||
273 | - <th width="90">操作</th> | ||
274 | - </tr> | ||
275 | - </tfoot> | ||
276 | - </table> | ||
277 | - <div class="table-actions"> | ||
278 | - <?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?> | ||
279 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
280 | - data-action="<?php echo url('AdminArticle/listOrder'); ?>"><?php echo lang('SORT'); ?> | ||
281 | - </button> | ||
282 | - <?php endif; ?> | ||
283 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
284 | - data-action="<?php echo url('AdminArticle/publish',array('yes'=>1)); ?>" data-subcheck="true">发布 | ||
285 | - </button> | ||
286 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
287 | - data-action="<?php echo url('AdminArticle/publish',array('no'=>1)); ?>" data-subcheck="true">取消发布 | ||
288 | - </button> | ||
289 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
290 | - data-action="<?php echo url('AdminArticle/top',array('yes'=>1)); ?>" data-subcheck="true">置顶 | ||
291 | - </button> | ||
292 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
293 | - data-action="<?php echo url('AdminArticle/top',array('no'=>1)); ?>" data-subcheck="true">取消置顶 | ||
294 | - </button> | ||
295 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
296 | - data-action="<?php echo url('AdminArticle/recommend',array('yes'=>1)); ?>" data-subcheck="true">推荐 | ||
297 | - </button> | ||
298 | - <button class="btn btn-primary btn-sm js-ajax-submit" type="submit" | ||
299 | - data-action="<?php echo url('AdminArticle/recommend',array('no'=>1)); ?>" data-subcheck="true">取消推荐 | ||
300 | - </button> | ||
301 | - <!-- | ||
302 | - <?php if(!(empty($category) || (($category instanceof \think\Collection || $category instanceof \think\Paginator ) && $category->isEmpty()))): ?> | ||
303 | - <button class="btn btn-primary btn-sm js-articles-move" type="button">批量移动</button> | ||
304 | - <?php endif; ?> | ||
305 | - <button class="btn btn-primary btn-sm js-articles-copy" type="button">批量复制</button> | ||
306 | - --> | ||
307 | - <button class="btn btn-danger btn-sm js-ajax-submit" type="submit" | ||
308 | - data-action="<?php echo url('AdminArticle/delete'); ?>" data-subcheck="true" data-msg="您确定删除吗?"> | ||
309 | - <?php echo lang('DELETE'); ?> | ||
310 | - </button> | ||
311 | - </div> | ||
312 | - <ul class="pagination"><?php echo (isset($page) && ($page !== '')?$page:''); ?></ul> | ||
313 | - </form> | ||
314 | -</div> | ||
315 | -<script src="__STATIC__/js/admin.js"></script> | ||
316 | -<script> | ||
317 | - | ||
318 | - function reloadPage(win) { | ||
319 | - win.location.reload(); | ||
320 | - } | ||
321 | - | ||
322 | - $(function () { | ||
323 | - setCookie("refersh_time", 0); | ||
324 | - Wind.use('ajaxForm', 'artDialog', 'iframeTools', function () { | ||
325 | - //批量复制 | ||
326 | - $('.js-articles-copy').click(function (e) { | ||
327 | - var ids = []; | ||
328 | - $("input[name='ids[]']").each(function () { | ||
329 | - if ($(this).is(':checked')) { | ||
330 | - ids.push($(this).val()); | ||
331 | - } | ||
332 | - }); | ||
333 | - | ||
334 | - if (ids.length == 0) { | ||
335 | - art.dialog.through({ | ||
336 | - id: 'error', | ||
337 | - icon: 'error', | ||
338 | - content: '您没有勾选信息,无法进行操作!', | ||
339 | - cancelVal: '关闭', | ||
340 | - cancel: true | ||
341 | - }); | ||
342 | - return false; | ||
343 | - } | ||
344 | - | ||
345 | - ids = ids.join(','); | ||
346 | - art.dialog.open("__ROOT__/index.php?g=portal&m=AdminArticle&a=copy&ids=" + ids, { | ||
347 | - title: "批量复制", | ||
348 | - width: "300px" | ||
349 | - }); | ||
350 | - }); | ||
351 | - //批量移动 | ||
352 | - $('.js-articles-move').click(function (e) { | ||
353 | - var ids = []; | ||
354 | - $("input[name='ids[]']").each(function () { | ||
355 | - if ($(this).is(':checked')) { | ||
356 | - ids.push($(this).val()); | ||
357 | - } | ||
358 | - }); | ||
359 | - | ||
360 | - if (ids.length == 0) { | ||
361 | - art.dialog.through({ | ||
362 | - id: 'error', | ||
363 | - icon: 'error', | ||
364 | - content: '您没有勾选信息,无法进行操作!', | ||
365 | - cancelVal: '关闭', | ||
366 | - cancel: true | ||
367 | - }); | ||
368 | - return false; | ||
369 | - } | ||
370 | - | ||
371 | - ids = ids.join(','); | ||
372 | - 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, { | ||
373 | - title: "批量移动", | ||
374 | - width: "300px" | ||
375 | - }); | ||
376 | - }); | ||
377 | - }); | ||
378 | - }); | ||
379 | -</script> | ||
380 | -</body> | ||
381 | -</html> |
1 | -<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:47:"themes/admin_simpleboot3/admin\index\index.html";i:1542250542;}*/ ?> | ||
2 | -<!DOCTYPE html> | ||
3 | -<html lang="zh_CN" style="overflow: hidden;"> | ||
4 | -<head> | ||
5 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"/> | ||
6 | - <!-- Set render engine for 360 browser --> | ||
7 | - <meta name="renderer" content="webkit"> | ||
8 | - <meta charset="utf-8"> | ||
9 | - <title><?php echo (isset($site_info['site_name']) && ($site_info['site_name'] !== '')?$site_info['site_name']:''); ?> <?php echo lang('ADMIN_CENTER'); ?></title> | ||
10 | - | ||
11 | - <meta name="description" content="This is page-header (.page-header > h1)"> | ||
12 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
13 | - | ||
14 | - <link href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet"> | ||
15 | - <link href="__TMPL__/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet"> | ||
16 | - <link href="__STATIC__/font-awesome/css/font-awesome.min.css?page=index" rel="stylesheet" type="text/css"> | ||
17 | - <link rel="stylesheet" href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/simplebootadminindex.min.css"> | ||
18 | - <style> | ||
19 | - /*-----------------导航hack--------------------*/ | ||
20 | - .nav-list > li.open { | ||
21 | - position: relative; | ||
22 | - } | ||
23 | - | ||
24 | - .nav-list > li.open .back { | ||
25 | - display: none; | ||
26 | - } | ||
27 | - | ||
28 | - .nav-list > li.open .normal { | ||
29 | - display: inline-block !important; | ||
30 | - } | ||
31 | - | ||
32 | - .nav-list > li.open a { | ||
33 | - padding-left: 7px; | ||
34 | - } | ||
35 | - | ||
36 | - .nav-list > li .submenu > li > a { | ||
37 | - background: #fff; | ||
38 | - } | ||
39 | - | ||
40 | - .nav-list > li .submenu > li a > [class*="fa-"]:first-child { | ||
41 | - left: 20px; | ||
42 | - } | ||
43 | - | ||
44 | - .nav-list > li ul.submenu ul.submenu > li a > [class*="fa-"]:first-child { | ||
45 | - left: 30px; | ||
46 | - } | ||
47 | - | ||
48 | - /*----------------导航hack--------------------*/ | ||
49 | - </style> | ||
50 | - | ||
51 | - <script> | ||
52 | - //全局变量 | ||
53 | - var GV = { | ||
54 | - HOST: "<?php echo $_SERVER['HTTP_HOST']; ?>", | ||
55 | - ROOT: "__ROOT__/", | ||
56 | - WEB_ROOT: "__WEB_ROOT__/", | ||
57 | - JS_ROOT: "static/js/" | ||
58 | - }; | ||
59 | - </script> | ||
60 | - <?php $submenus=$menus; function getsubmenu($submenus){ if(!(empty($submenus) || (($submenus instanceof \think\Collection || $submenus instanceof \think\Paginator ) && $submenus->isEmpty()))): foreach($submenus as $menu){ ?> | ||
61 | - <li> | ||
62 | - <?php | ||
63 | - $menu_name=lang($menu['lang']); | ||
64 | - $menu_name=$menu['lang']==$menu_name?$menu['name']:$menu_name; | ||
65 | - if(empty($menu['items'])){ ?> | ||
66 | - <a href="javascript:openapp('<?php echo $menu['url']; ?>','<?php echo $menu['id']; ?>','<?php echo $menu_name; ?>',true);"> | ||
67 | - <i class="fa fa-<?php echo (isset($menu['icon']) && ($menu['icon'] !== '')?$menu['icon']:'desktop'); ?>"></i> | ||
68 | - <span class="menu-text"> <?php echo $menu_name; ?> </span> | ||
69 | - </a> | ||
70 | - <?php }else{ ?> | ||
71 | - <a href="#" class="dropdown-toggle"> | ||
72 | - <i class="fa fa-<?php echo (isset($menu['icon']) && ($menu['icon'] !== '')?$menu['icon']:'desktop'); ?> normal"></i> | ||
73 | - <span class="menu-text normal"> <?php echo $menu_name; ?> </span> | ||
74 | - <b class="arrow fa fa-angle-right normal"></b> | ||
75 | - <i class="fa fa-reply back"></i> | ||
76 | - <span class="menu-text back">返回</span> | ||
77 | - | ||
78 | - </a> | ||
79 | - | ||
80 | - <ul class="submenu"> | ||
81 | - <?php getsubmenu1($menu['items']) ?> | ||
82 | - </ul> | ||
83 | - <?php } ?> | ||
84 | - | ||
85 | - </li> | ||
86 | - | ||
87 | - <?php } endif; } function getsubmenu1($submenus){ foreach($submenus as $menu){ ?> | ||
88 | - <li> | ||
89 | - <?php | ||
90 | - $menu_name=lang($menu['lang']); | ||
91 | - $menu_name=$menu['lang']==$menu_name?$menu['name']:$menu_name; | ||
92 | - if(empty($menu['items'])){ ?> | ||
93 | - <a href="javascript:openapp('<?php echo $menu['url']; ?>','<?php echo $menu['id']; ?>','<?php echo $menu_name; ?>',true);"> | ||
94 | - <i class="fa fa-caret-right"></i> | ||
95 | - <span class="menu-text"> | ||
96 | - <?php echo $menu_name; ?> | ||
97 | - </span> | ||
98 | - </a> | ||
99 | - <?php }else{ ?> | ||
100 | - <a href="#" class="dropdown-toggle"> | ||
101 | - <i class="fa fa-caret-right"></i> | ||
102 | - <span class="menu-text"> | ||
103 | - <?php echo $menu_name; ?> | ||
104 | - </span> | ||
105 | - <b class="arrow fa fa-angle-right"></b> | ||
106 | - </a> | ||
107 | - <ul class="submenu"> | ||
108 | - <?php getsubmenu2($menu['items']) ?> | ||
109 | - </ul> | ||
110 | - <?php } ?> | ||
111 | - | ||
112 | - </li> | ||
113 | - | ||
114 | - <?php } } function getsubmenu2($submenus){ foreach($submenus as $menu){ ?> | ||
115 | - <li> | ||
116 | - <?php | ||
117 | - $menu_name=lang($menu['lang']); | ||
118 | - $menu_name=$menu['lang']==$menu_name?$menu['name']:$menu_name; | ||
119 | - ?> | ||
120 | - | ||
121 | - <a href="javascript:openapp('<?php echo $menu['url']; ?>','<?php echo $menu['id']; ?>','<?php echo $menu_name; ?>',true);"> | ||
122 | - <i class="fa fa-angle-double-right"></i> | ||
123 | - <span class="menu-text"> | ||
124 | - <?php echo $menu_name; ?> | ||
125 | - </span> | ||
126 | - </a> | ||
127 | - </li> | ||
128 | - | ||
129 | - <?php } } if(APP_DEBUG): ?> | ||
130 | - <style> | ||
131 | - #think_page_trace_open { | ||
132 | - left: 0 !important; | ||
133 | - right: initial !important; | ||
134 | - } | ||
135 | - </style> | ||
136 | - <?php endif; ?> | ||
137 | - | ||
138 | -</head> | ||
139 | - | ||
140 | -<body style="min-width:900px;overflow: hidden;"> | ||
141 | -<div id="loading"><i class="loadingicon"></i><span><?php echo lang('LOADING'); ?></span></div> | ||
142 | -<div id="right-tools-wrapper"> | ||
143 | - <!--<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>--> | ||
144 | - <!--<span id="refresh-wrapper" title="<?php echo lang('REFRESH_CURRENT_PAGE'); ?>"><i--> | ||
145 | - <!--class="fa fa-refresh right_tool_icon"></i></span>--> | ||
146 | -</div> | ||
147 | -<div class="navbar navbar-default"> | ||
148 | - <div class="container-fluid"> | ||
149 | - <div class="navbar-header"> | ||
150 | - <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> | ||
151 | - <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main"> | ||
152 | - <span class="icon-bar"></span> | ||
153 | - <span class="icon-bar"></span> | ||
154 | - <span class="icon-bar"></span> | ||
155 | - </button> | ||
156 | - </div> | ||
157 | - | ||
158 | - <div class="navbar-collapse collapse" id="navbar-main"> | ||
159 | - <div class="pull-left" style="position: relative;"> | ||
160 | - <a id="task-pre" class="task-changebt"><i class="fa fa-chevron-left"></i></a> | ||
161 | - <div id="task-content"> | ||
162 | - <ul class="nav navbar-nav cmf-component-tab" id="task-content-inner"> | ||
163 | - <li class="cmf-component-tabitem noclose" app-id="0" app-url="<?php echo url('main/index'); ?>" | ||
164 | - app-name="首页"> | ||
165 | - <a class="cmf-tabs-item-text"><?php echo lang('HOME'); ?></a> | ||
166 | - </li> | ||
167 | - </ul> | ||
168 | - <div style="clear:both;"></div> | ||
169 | - </div> | ||
170 | - <a id="task-next" class="task-changebt"><i class="fa fa-chevron-right"></i></a> | ||
171 | - </div> | ||
172 | - | ||
173 | - <ul class="nav navbar-nav navbar-right simplewind-nav"> | ||
174 | - <li class="light-blue" style="border-left:none;"> | ||
175 | - <a id="refresh-wrapper" href="javacript:void(0);" title="<?php echo lang('REFRESH_CURRENT_PAGE'); ?>" style="color:#fff;font-size: 16px"> | ||
176 | - <i class="fa fa-refresh right_tool_icon"></i> | ||
177 | - </a> | ||
178 | - </li> | ||
179 | - <li class="light-blue dropdown" style="border-left:none;"> | ||
180 | - <a data-toggle="dropdown" href="#" class="dropdown-toggle"> | ||
181 | - <?php if(isset($admin['avatar']) && $admin['avatar']): ?> | ||
182 | - <img class="nav-user-photo" width="30" height="30" | ||
183 | - src="<?php echo cmf_get_user_avatar_url($admin['avatar']); ?>" alt="<?php echo $admin['user_login']; ?>"> | ||
184 | - <?php endif; ?> | ||
185 | - <span class="user-info"> | ||
186 | - <?php echo lang('WELCOME_USER',array('user_nickname' => empty($admin['user_nickname'] )? $admin['user_login'] : $admin['user_nickname'])); ?> | ||
187 | - </span> | ||
188 | - <i class="fa fa-caret-down"></i> | ||
189 | - </a> | ||
190 | - <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-closer"> | ||
191 | - <?php if(cmf_auth_check(cmf_get_current_admin_id(),'admin/Setting/site')): ?> | ||
192 | - <li> | ||
193 | - <a href="javascript:openapp('<?php echo url('setting/site'); ?>','index_site','<?php echo lang('ADMIN_SETTING_SITE'); ?>');"><i | ||
194 | - class="fa fa-cog"></i> <?php echo lang('ADMIN_SETTING_SITE'); ?></a></li> | ||
195 | - <?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'admin/user/userinfo')): ?> | ||
196 | - <li> | ||
197 | - <a href="javascript:openapp('<?php echo url('user/userinfo'); ?>','index_userinfo','<?php echo lang('ADMIN_USER_USERINFO'); ?>');"><i | ||
198 | - class="fa fa-user"></i> <?php echo lang('ADMIN_USER_USERINFO'); ?></a></li> | ||
199 | - <?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'admin/Setting/password')): ?> | ||
200 | - <li> | ||
201 | - <a href="javascript:openapp('<?php echo url('setting/password'); ?>','index_password','<?php echo lang('ADMIN_SETTING_PASSWORD'); ?>');"><i | ||
202 | - class="fa fa-lock"></i> <?php echo lang('ADMIN_SETTING_PASSWORD'); ?></a></li> | ||
203 | - <?php endif; ?> | ||
204 | - <li><a href="<?php echo url('Public/logout'); ?>"><i class="fa fa-sign-out"></i> <?php echo lang('LOGOUT'); ?></a></li> | ||
205 | - </ul> | ||
206 | - </li> | ||
207 | - </ul> | ||
208 | - </div> | ||
209 | - </div> | ||
210 | -</div> | ||
211 | - | ||
212 | -<div class="main-container container-fluid"> | ||
213 | - | ||
214 | - <div class="sidebar" id="sidebar"> | ||
215 | - <div class="sidebar-shortcuts" id="sidebar-shortcuts"> | ||
216 | - <a class="btn btn-sm btn-warning" href="__ROOT__/" | ||
217 | - title="<?php echo lang('WEBSITE_HOME_PAGE'); ?>" | ||
218 | - target="_blank" | ||
219 | - data-toggle="tooltip"> | ||
220 | - <i class="fa fa-home"></i> | ||
221 | - </a> | ||
222 | - <!-- | ||
223 | - <?php if(cmf_auth_check(cmf_get_current_admin_id(),'portal/AdminCategory/index')): ?> | ||
224 | - <a class="btn btn-sm btn-success" href="javascript:openapp('<?php echo url('portal/AdminCategory/index'); ?>','index_termlist','文章分类管理');" title="文章分类管理"> | ||
225 | - <i class="fa fa-th"></i> | ||
226 | - </a> | ||
227 | - <?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'portal/AdminArticle/index')): ?> | ||
228 | - <a class="btn btn-sm btn-info" href="javascript:openapp('<?php echo url('portal/AdminArticle/index'); ?>','index_postlist','文章管理');" title="文章管理"> | ||
229 | - <i class="fa fa-pencil"></i> | ||
230 | - </a> | ||
231 | - <?php endif; ?> | ||
232 | - --> | ||
233 | - | ||
234 | - <?php if(cmf_auth_check(cmf_get_current_admin_id(),'user/AdminAsset/index')): ?> | ||
235 | - <a class="btn btn-sm btn-info" | ||
236 | - href="javascript:openapp('<?php echo url('user/AdminAsset/index'); ?>','userAdminAssetindex','资源管理',true);" | ||
237 | - title="资源管理" | ||
238 | - data-toggle="tooltip"> | ||
239 | - <i class="fa fa-file"></i> | ||
240 | - </a> | ||
241 | - <?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'admin/Setting/clearcache')): ?> | ||
242 | - <a class="btn btn-sm btn-danger" | ||
243 | - href="javascript:openapp('<?php echo url('admin/Setting/clearcache'); ?>','index_clearcache','<?php echo lang('ADMIN_SETTING_CLEARCACHE'); ?>',true);" | ||
244 | - title="<?php echo lang('ADMIN_SETTING_CLEARCACHE'); ?>" | ||
245 | - data-toggle="tooltip"> | ||
246 | - <i class="fa fa-trash-o"></i> | ||
247 | - </a> | ||
248 | - <?php endif; if(cmf_auth_check(cmf_get_current_admin_id(),'admin/RecycleBin/index')): ?> | ||
249 | - <a class="btn btn-sm btn-danger" | ||
250 | - href="javascript:openapp('<?php echo url('admin/RecycleBin/index'); ?>','index_recycle','回收站',true);" | ||
251 | - title="回收站" | ||
252 | - data-toggle="tooltip"> | ||
253 | - <i class="fa fa-recycle"></i> | ||
254 | - </a> | ||
255 | - <?php endif; if(APP_DEBUG): ?> | ||
256 | - <a class="btn btn-sm btn-default" | ||
257 | - href="javascript:openapp('<?php echo url('admin/Menu/index'); ?>','index_menu','<?php echo lang('ADMIN_MENU_INDEX'); ?>',true);" | ||
258 | - title="<?php echo lang('ADMIN_MENU_INDEX'); ?>" | ||
259 | - data-toggle="tooltip"> | ||
260 | - <i class="fa fa-list"></i> | ||
261 | - </a> | ||
262 | - <?php endif; ?> | ||
263 | - | ||
264 | - </div> | ||
265 | - <div id="nav-wrapper"> | ||
266 | - <ul class="nav nav-list"> | ||
267 | - <?php echo getsubmenu($submenus); ?> | ||
268 | - </ul> | ||
269 | - </div> | ||
270 | - | ||
271 | - </div> | ||
272 | - | ||
273 | - <div class="main-content"> | ||
274 | - <div class="page-content" id="content"> | ||
275 | - <iframe src="<?php echo url('Main/index'); ?>" style="width:100%;height: 100%;" frameborder="0" id="appiframe-0" | ||
276 | - class="appiframe"></iframe> | ||
277 | - </div> | ||
278 | - </div> | ||
279 | -</div> | ||
280 | - | ||
281 | -<script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script> | ||
282 | -<script src="__STATIC__/js/wind.js"></script> | ||
283 | -<script src="__TMPL__/public/assets/js/bootstrap.min.js"></script> | ||
284 | -<script src="__STATIC__/js/admin.js"></script> | ||
285 | -<script src="__TMPL__/public/assets/simpleboot3/js/adminindex.js"></script> | ||
286 | -<script> | ||
287 | - $(function () { | ||
288 | - $("[data-toggle='tooltip']").tooltip(); | ||
289 | - $("li.dropdown").hover(function () { | ||
290 | - $(this).addClass("open"); | ||
291 | - }, function () { | ||
292 | - $(this).removeClass("open"); | ||
293 | - }); | ||
294 | - }); | ||
295 | - | ||
296 | - var ismenumin = $("#sidebar").hasClass("menu-min"); | ||
297 | - $(".nav-list").on("click", function (event) { | ||
298 | - var closest_a = $(event.target).closest("a"); | ||
299 | - if (!closest_a || closest_a.length == 0) { | ||
300 | - return | ||
301 | - } | ||
302 | - if (!closest_a.hasClass("dropdown-toggle")) { | ||
303 | - if (ismenumin && "click" == "tap" && closest_a.get(0).parentNode.parentNode == this) { | ||
304 | - var closest_a_menu_text = closest_a.find(".menu-text").get(0); | ||
305 | - if (event.target != closest_a_menu_text && !$.contains(closest_a_menu_text, event.target)) { | ||
306 | - return false | ||
307 | - } | ||
308 | - } | ||
309 | - return | ||
310 | - } | ||
311 | - var closest_a_next = closest_a.next().get(0); | ||
312 | - if (!$(closest_a_next).is(":visible")) { | ||
313 | - var closest_ul = $(closest_a_next.parentNode).closest("ul"); | ||
314 | - if (ismenumin && closest_ul.hasClass("nav-list")) { | ||
315 | - return | ||
316 | - } | ||
317 | - closest_ul.find("> .open > .submenu").each(function () { | ||
318 | - if (this != closest_a_next && !$(this.parentNode).hasClass("active")) { | ||
319 | - $(this).slideUp(150).parent().removeClass("open") | ||
320 | - } | ||
321 | - }); | ||
322 | - } | ||
323 | - if (ismenumin && $(closest_a_next.parentNode.parentNode).hasClass("nav-list")) { | ||
324 | - return false; | ||
325 | - } | ||
326 | - $(closest_a_next).slideToggle(150).parent().toggleClass("open"); | ||
327 | - return false; | ||
328 | - }); | ||
329 | -</script> | ||
330 | -</body> | ||
331 | -</html> |
1 | -<?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;}*/ ?> | ||
2 | -<!doctype html> | ||
3 | -<html> | ||
4 | -<head> | ||
5 | -<meta charset="utf-8" /> | ||
6 | -<title>bronet安装</title> | ||
7 | -<link rel="stylesheet" href="__STATIC__/install/simpleboot/themes/flat/theme.min.css" /> | ||
8 | -<link rel="stylesheet" href="__STATIC__/install/css/install.css" /> | ||
9 | -<link rel="stylesheet" href="__STATIC__/font-awesome/css/font-awesome.min.css" type="text/css"> | ||
10 | - | ||
11 | - | ||
12 | -</head> | ||
13 | -<body> | ||
14 | - <div class="wrap"> | ||
15 | - <div class="header"> | ||
16 | - <h1 class="logo">bronet 安装向导</h1> | ||
17 | - <div class="version"><?php echo BRONET_VERSION; ?></div> | ||
18 | -</div> | ||
19 | - <div class="section"> | ||
20 | - <div class="main"> | ||
21 | - <pre class="agreement">bronet软件使用协议 | ||
22 | - | ||
23 | -版权所有 ©2013-<?php echo date("Y"); ?>,bronet开源社区 | ||
24 | - | ||
25 | -感谢您选择bronet内容管理框架, 希望我们的产品能够帮您把网站发展的更快、更好、更强! | ||
26 | - | ||
27 | -bronet遵循Apache Lisense 2.0开源协议发布,并提供免费使用。 | ||
28 | - | ||
29 | -bronet建站系统由简约风网络科技(以下简称简约风,官网http://www.bronet.cn)发起并开源发布。 | ||
30 | -简约风网络科技包含以下网站: | ||
31 | -bronet官网: http://www.bronet.cn | ||
32 | - | ||
33 | -bronet免责声明 | ||
34 | - 1、使用bronet构建的网站的任何信息内容以及导致的任何版权纠纷和法律争议及后果,bronet官方不承担任何责任。 | ||
35 | - 2、您一旦安装使用bronet,即被视为完全理解并接受本协议的各项条款,在享有上述条款授予的权力的同时,受到相关的约束和限制。</pre> | ||
36 | - </div> | ||
37 | - <div class="bottom text-center"> | ||
38 | - <a href="<?php echo url('index/step2'); ?>" class="btn btn-primary"><?php echo lang('ACCEPT'); ?></a> | ||
39 | - </div> | ||
40 | - </div> | ||
41 | - </div> | ||
42 | - <div class="footer"> | ||
43 | - © 2013-<?php echo date('Y'); ?> <a href="http://www.bronet.cn" target="_blank">bronet Team</a> | ||
44 | -</div> | ||
45 | -</body> | ||
46 | -</html> |
1 | -<?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;}*/ ?> | ||
2 | -<!doctype html> | ||
3 | -<html> | ||
4 | -<head> | ||
5 | - <meta charset="utf-8"> | ||
6 | - <!-- Set render engine for 360 browser --> | ||
7 | - <meta name="renderer" content="webkit"> | ||
8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
9 | - <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
10 | - | ||
11 | - <!-- HTML5 shim for IE8 support of HTML5 elements --> | ||
12 | - <!--[if lt IE 9]> | ||
13 | - <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | ||
14 | - <![endif]--> | ||
15 | - | ||
16 | - | ||
17 | - <link href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet"> | ||
18 | - <link href="__TMPL__/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet"> | ||
19 | - <link href="__STATIC__/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> | ||
20 | - <style> | ||
21 | - form .input-order { | ||
22 | - margin-bottom: 0px; | ||
23 | - padding: 0 2px; | ||
24 | - width: 42px; | ||
25 | - font-size: 12px; | ||
26 | - } | ||
27 | - | ||
28 | - form .input-order:focus { | ||
29 | - outline: none; | ||
30 | - } | ||
31 | - | ||
32 | - .table-actions { | ||
33 | - margin-top: 5px; | ||
34 | - margin-bottom: 5px; | ||
35 | - padding: 0px; | ||
36 | - } | ||
37 | - | ||
38 | - .table-list { | ||
39 | - margin-bottom: 0px; | ||
40 | - } | ||
41 | - | ||
42 | - .form-required { | ||
43 | - color: red; | ||
44 | - } | ||
45 | - </style> | ||
46 | - <script type="text/javascript"> | ||
47 | - //全局变量 | ||
48 | - var GV = { | ||
49 | - ROOT: "__ROOT__/", | ||
50 | - WEB_ROOT: "__WEB_ROOT__/", | ||
51 | - JS_ROOT: "static/js/", | ||
52 | - APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/ | ||
53 | - }; | ||
54 | - </script> | ||
55 | - <script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script> | ||
56 | - <script src="__STATIC__/js/wind.js"></script> | ||
57 | - <script src="__TMPL__/public/assets/js/bootstrap.min.js"></script> | ||
58 | - <script> | ||
59 | - Wind.css('artDialog'); | ||
60 | - Wind.css('layer'); | ||
61 | - $(function () { | ||
62 | - $("[data-toggle='tooltip']").tooltip(); | ||
63 | - $("li.dropdown").hover(function () { | ||
64 | - $(this).addClass("open"); | ||
65 | - }, function () { | ||
66 | - $(this).removeClass("open"); | ||
67 | - }); | ||
68 | - }); | ||
69 | - </script> | ||
70 | - <?php if(APP_DEBUG): ?> | ||
71 | - <style> | ||
72 | - #think_page_trace_open { | ||
73 | - z-index: 9999; | ||
74 | - } | ||
75 | - </style> | ||
76 | - <?php endif; ?> | ||
77 | -</head> | ||
78 | -<body> | ||
79 | - <div class="wrap"> | ||
80 | - <ul class="nav nav-tabs"> | ||
81 | - <li class="active"><a href="<?php echo url('AdminCategory/index'); ?>">分类管理</a></li> | ||
82 | - <li><a href="<?php echo url('AdminCategory/add'); ?>">添加分类</a></li> | ||
83 | - </ul> | ||
84 | - <form method="post" class="js-ajax-form" action="<?php echo url('AdminCategory/listOrder'); ?>"> | ||
85 | - <div class="table-actions"> | ||
86 | - <button type="submit" class="btn btn-primary btn-sm js-ajax-submit"><?php echo lang('SORT'); ?></button> | ||
87 | - </div> | ||
88 | - <table class="table table-hover table-bordered table-list"> | ||
89 | - <thead> | ||
90 | - <tr> | ||
91 | - <th width="50">排序</th> | ||
92 | - <th width="50">ID</th> | ||
93 | - <th>分类名称</th> | ||
94 | - <th>描述</th> | ||
95 | - <th width="180">操作</th> | ||
96 | - </tr> | ||
97 | - </thead> | ||
98 | - <tbody> | ||
99 | - <?php echo $category_tree; ?> | ||
100 | - </tbody> | ||
101 | - <tfoot> | ||
102 | - <tr> | ||
103 | - <th width="50">排序</th> | ||
104 | - <th width="50">ID</th> | ||
105 | - <th>分类名称</th> | ||
106 | - <th>描述</th> | ||
107 | - <th width="180">操作</th> | ||
108 | - </tr> | ||
109 | - </tfoot> | ||
110 | - </table> | ||
111 | - <div class="table-actions"> | ||
112 | - <button type="submit" class="btn btn-primary btn-sm js-ajax-submit"><?php echo lang('SORT'); ?></button> | ||
113 | - </div> | ||
114 | - </form> | ||
115 | - </div> | ||
116 | - <script src="__STATIC__/js/admin.js"></script> | ||
117 | -</body> | ||
118 | -</html> |
1 | -<?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;}*/ ?> | ||
2 | -<!doctype html> | ||
3 | -<html> | ||
4 | -<head> | ||
5 | - <meta charset="utf-8"> | ||
6 | - <!-- Set render engine for 360 browser --> | ||
7 | - <meta name="renderer" content="webkit"> | ||
8 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
9 | - <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
10 | - | ||
11 | - <!-- HTML5 shim for IE8 support of HTML5 elements --> | ||
12 | - <!--[if lt IE 9]> | ||
13 | - <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | ||
14 | - <![endif]--> | ||
15 | - | ||
16 | - | ||
17 | - <link href="__TMPL__/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet"> | ||
18 | - <link href="__TMPL__/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet"> | ||
19 | - <link href="__STATIC__/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> | ||
20 | - <style> | ||
21 | - form .input-order { | ||
22 | - margin-bottom: 0px; | ||
23 | - padding: 0 2px; | ||
24 | - width: 42px; | ||
25 | - font-size: 12px; | ||
26 | - } | ||
27 | - | ||
28 | - form .input-order:focus { | ||
29 | - outline: none; | ||
30 | - } | ||
31 | - | ||
32 | - .table-actions { | ||
33 | - margin-top: 5px; | ||
34 | - margin-bottom: 5px; | ||
35 | - padding: 0px; | ||
36 | - } | ||
37 | - | ||
38 | - .table-list { | ||
39 | - margin-bottom: 0px; | ||
40 | - } | ||
41 | - | ||
42 | - .form-required { | ||
43 | - color: red; | ||
44 | - } | ||
45 | - </style> | ||
46 | - <script type="text/javascript"> | ||
47 | - //全局变量 | ||
48 | - var GV = { | ||
49 | - ROOT: "__ROOT__/", | ||
50 | - WEB_ROOT: "__WEB_ROOT__/", | ||
51 | - JS_ROOT: "static/js/", | ||
52 | - APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/ | ||
53 | - }; | ||
54 | - </script> | ||
55 | - <script src="__TMPL__/public/assets/js/jquery-1.10.2.min.js"></script> | ||
56 | - <script src="__STATIC__/js/wind.js"></script> | ||
57 | - <script src="__TMPL__/public/assets/js/bootstrap.min.js"></script> | ||
58 | - <script> | ||
59 | - Wind.css('artDialog'); | ||
60 | - Wind.css('layer'); | ||
61 | - $(function () { | ||
62 | - $("[data-toggle='tooltip']").tooltip(); | ||
63 | - $("li.dropdown").hover(function () { | ||
64 | - $(this).addClass("open"); | ||
65 | - }, function () { | ||
66 | - $(this).removeClass("open"); | ||
67 | - }); | ||
68 | - }); | ||
69 | - </script> | ||
70 | - <?php if(APP_DEBUG): ?> | ||
71 | - <style> | ||
72 | - #think_page_trace_open { | ||
73 | - z-index: 9999; | ||
74 | - } | ||
75 | - </style> | ||
76 | - <?php endif; ?> | ||
77 | -</head> | ||
78 | -<body> | ||
79 | - <div class="wrap js-check-wrap"> | ||
80 | - <ul class="nav nav-tabs"> | ||
81 | - <li class="active"><a href="#A" data-toggle="tab"><?php echo lang('WEB_SITE_INFOS'); ?></a></li> | ||
82 | - <li><a href="#B" data-toggle="tab"><?php echo lang('SEO_SETTING'); ?></a></li> | ||
83 | - <!--<li><a href="#C" data-toggle="tab"><?php echo lang('URL_SETTING'); ?></a></li>--> | ||
84 | - <!--<li><a href="#E" data-toggle="tab"><?php echo lang('COMMENT_SETTING'); ?></a></li>--> | ||
85 | - <li><a href="#F" data-toggle="tab">用户注册设置</a></li> | ||
86 | - <li><a href="#G" data-toggle="tab">CDN设置</a></li> | ||
87 | - </ul> | ||
88 | - <form class="form-horizontal js-ajax-form margin-top-20" role="form" action="<?php echo url('setting/sitePost'); ?>" method="post"> | ||
89 | - <fieldset> | ||
90 | - <div class="tabbable"> | ||
91 | - <div class="tab-content"> | ||
92 | - <div class="tab-pane active" id="A"> | ||
93 | - <div class="form-group"> | ||
94 | - <label for="input-site-name" class="col-sm-2 control-label"><span class="form-required">*</span><?php echo lang('WEBSITE_NAME'); ?></label> | ||
95 | - <div class="col-md-6 col-sm-10"> | ||
96 | - <input type="text" class="form-control" id="input-site-name" name="options[site_name]" value="<?php echo (isset($site_name) && ($site_name !== '')?$site_name:''); ?>"> | ||
97 | - </div> | ||
98 | - </div> | ||
99 | - <div class="form-group"> | ||
100 | - <label for="input-admin_url_password" class="col-sm-2 control-label">后台加密码</label> | ||
101 | - <div class="col-md-6 col-sm-10"> | ||
102 | - <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"> | ||
103 | - <p class="help-block">英文字母数字,不能为纯数字</p> | ||
104 | - <?php if(!empty($admin_settings['admin_password'])): ?> | ||
105 | - <p class="help-block" style="color: red;">设置加密码后必须通过以下地址访问后台,请劳记此地址,为了安全,您也可以定期更换此加密码!</p> | ||
106 | - <?php | ||
107 | - $site_admin_url_password =config("SP_SITE_ADMIN_URL_PASSWORD"); | ||
108 | - $root=cmf_get_root(); | ||
109 | - $root=empty($root)?'':'/'.$root; | ||
110 | - $site_domain = cmf_get_domain().$root; | ||
111 | - ?> | ||
112 | - <p class="help-block">后台登录地址:<span id="js-site-admin-url"><?php echo $site_domain; ?>/<?php echo $admin_settings['admin_password']; ?></span></p> | ||
113 | - <?php endif; ?> | ||
114 | - </div> | ||
115 | - </div> | ||
116 | - <!-- | ||
117 | - <div class="form-group"> | ||
118 | - <label for="input-mobile_tpl_enabled" class="col-sm-2 control-label"><?php echo lang('ENABLE_MOBILE_THEME'); ?></label> | ||
119 | - <div class="col-md-6 col-sm-10"> | ||
120 | - <?php $mobile_tpl_enabled_checked=empty($mobile_tpl_enabled)?'':'checked'; ?> | ||
121 | - <div class="checkbox"> | ||
122 | - <label><input type="checkbox" name="options[mobile_tpl_enabled]" value="1" id="input-mobile_tpl_enabled" <?php echo $mobile_tpl_enabled_checked; ?>></label> | ||
123 | - </div> | ||
124 | - </div> | ||
125 | - </div> | ||
126 | - --> | ||
127 | - <div class="form-group"> | ||
128 | - <label for="input-site_adminstyle" class="col-sm-2 control-label"><?php echo lang('WEBSITE_ADMIN_THEME'); ?></label> | ||
129 | - <div class="col-md-6 col-sm-10"> | ||
130 | - <?php $site_admin_style=empty($admin_settings['admin_style'])?'':$admin_settings['admin_style']; ?> | ||
131 | - <select class="form-control" name="admin_settings[admin_style]" id="input-site_adminstyle"> | ||
132 | - <?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" : ""; ?> | ||
133 | - <option value="<?php echo $vo; ?>" <?php echo $admin_style_selected; ?>><?php echo $vo; ?></option> | ||
134 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
135 | - </select> | ||
136 | - </div> | ||
137 | - </div> | ||
138 | - <!-- | ||
139 | - <div class="form-group"> | ||
140 | - <label for="input-html_cache_on" class="col-sm-2 control-label"><?php echo lang('HTML_CACHE'); ?></label> | ||
141 | - <div class="col-md-6 col-sm-10"> | ||
142 | - <?php $html_cache_on_checked=empty($html_cache_on)?'':'checked'; ?> | ||
143 | - <div class="checkbox"> | ||
144 | - <label><input type="checkbox" name="options[mobile_tpl_enabled]" value="1" id="input-html_cache_on" <?php echo $html_cache_on_checked; ?>></label> | ||
145 | - </div> | ||
146 | - </div> | ||
147 | - </div> | ||
148 | - --> | ||
149 | - <div class="form-group"> | ||
150 | - <label for="input-site_icp" class="col-sm-2 control-label"><?php echo lang('WEBSITE_ICP'); ?></label> | ||
151 | - <div class="col-md-6 col-sm-10"> | ||
152 | - <input type="text" class="form-control" id="input-site_icp" name="options[site_icp]" value="<?php echo (isset($site_icp) && ($site_icp !== '')?$site_icp:''); ?>"> | ||
153 | - </div> | ||
154 | - </div> | ||
155 | - <div class="form-group"> | ||
156 | - <label for="input-site_admin_email" class="col-sm-2 control-label"><?php echo lang('WEBMASTER_EMAIL'); ?></label> | ||
157 | - <div class="col-md-6 col-sm-10"> | ||
158 | - <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:''); ?>"> | ||
159 | - </div> | ||
160 | - </div> | ||
161 | - <div class="form-group"> | ||
162 | - <label for="input-site_analytics" class="col-sm-2 control-label"><?php echo lang('WEBSITE_STATISTICAL_CODE'); ?></label> | ||
163 | - <div class="col-md-6 col-sm-10"> | ||
164 | - <textarea class="form-control" id="input-site_analytics" name="options[site_analytics]"><?php echo (isset($site_analytics) && ($site_analytics !== '')?$site_analytics:''); ?></textarea> | ||
165 | - </div> | ||
166 | - </div> | ||
167 | - <!--<div class="form-group">--> | ||
168 | - <!--<label for="input-site_copyright" class="col-sm-2 control-label"><?php echo lang('WEBSITE_COPYRIGHT_INFOMATION'); ?></label>--> | ||
169 | - <!--<div class="col-md-6 col-sm-10">--> | ||
170 | - <!--<input type="text" class="form-control" id="input-site_copyright" name="options[site_copyright]" value="<?php echo (isset($site_copyright) && ($site_copyright !== '')?$site_copyright:''); ?>">--> | ||
171 | - <!--</div>--> | ||
172 | - <!--</div>--> | ||
173 | - <div class="form-group"> | ||
174 | - <div class="col-sm-offset-2 col-sm-10"> | ||
175 | - <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1"><?php echo lang('SAVE'); ?></button> | ||
176 | - </div> | ||
177 | - </div> | ||
178 | - </div> | ||
179 | - <div class="tab-pane" id="B"> | ||
180 | - <div class="form-group"> | ||
181 | - <label for="input-site_seo_title" class="col-sm-2 control-label"><?php echo lang('WEBSITE_SEO_TITLE'); ?></label> | ||
182 | - <div class="col-md-6 col-sm-10"> | ||
183 | - <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:''); ?>"> | ||
184 | - </div> | ||
185 | - </div> | ||
186 | - <div class="form-group"> | ||
187 | - <label for="input-site_seo_keywords" class="col-sm-2 control-label"><?php echo lang('WEBSITE_SEO_KEYWORDS'); ?></label> | ||
188 | - <div class="col-md-6 col-sm-10"> | ||
189 | - <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:''); ?>"> | ||
190 | - </div> | ||
191 | - </div> | ||
192 | - <div class="form-group"> | ||
193 | - <label for="input-site_seo_description" class="col-sm-2 control-label"><?php echo lang('WEBSITE_SEO_DESCRIPTION'); ?></label> | ||
194 | - <div class="col-md-6 col-sm-10"> | ||
195 | - <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> | ||
196 | - </div> | ||
197 | - </div> | ||
198 | - <div class="form-group"> | ||
199 | - <div class="col-sm-offset-2 col-sm-10"> | ||
200 | - <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button> | ||
201 | - </div> | ||
202 | - </div> | ||
203 | - </div> | ||
204 | - <div class="tab-pane" id="C"> | ||
205 | - <div class="form-group"> | ||
206 | - <label for="input-urlmode" class="col-sm-2 control-label"><?php echo lang('URL_MODE'); ?></label> | ||
207 | - <div class="col-md-6 col-sm-10"> | ||
208 | - <?php $url_modes=array( "1"=>lang('URL_PATHINFO_MODE'), "2"=>lang('URL_REWRITE_MODE')); ?> | ||
209 | - <select class="form-control" name="options[urlmode]" id="input-urlmode"> | ||
210 | - <?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":""; ?> | ||
211 | - <option value="<?php echo $key; ?>" <?php echo $url_mode_selected; ?>><?php echo $vo; ?></option> | ||
212 | - <?php endforeach; endif; else: echo "" ;endif; ?> | ||
213 | - </select> | ||
214 | - </div> | ||
215 | - </div> | ||
216 | - <div class="form-group"> | ||
217 | - <label for="input-html_suffix" class="col-sm-2 control-label"><?php echo lang('URL_REWRITE_SUFFIX'); ?></label> | ||
218 | - <div class="col-md-6 col-sm-10"> | ||
219 | - <input type="text" class="form-control" id="input-html_suffix" name="options[html_suffix]" value="<?php echo (isset($html_suffix) && ($html_suffix !== '')?$html_suffix:''); ?>"> | ||
220 | - </div> | ||
221 | - </div> | ||
222 | - <div class="form-group"> | ||
223 | - <div class="col-sm-offset-2 col-sm-10"> | ||
224 | - <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button> | ||
225 | - </div> | ||
226 | - </div> | ||
227 | - </div> | ||
228 | - <!-- | ||
229 | - <div class="tab-pane" id="E"> | ||
230 | - <div class="form-group"> | ||
231 | - <label class="col-sm-2 control-label"><?php echo lang('COMMENT_CHECK'); ?></label> | ||
232 | - <div class="col-md-6 col-sm-10"> | ||
233 | - <?php $comment_need_checked=empty($comment_need_check)?"":"checked"; ?> | ||
234 | - <div class="checkbox"> | ||
235 | - <label><input type="checkbox" name="options[comment_need_check]" value="1" <?php echo $comment_need_checked; ?>></label> | ||
236 | - </div> | ||
237 | - </div> | ||
238 | - </div> | ||
239 | - <div class="form-group"> | ||
240 | - <label for="input-comment_time_interval" class="col-sm-2 control-label"><?php echo lang('COMMENT_TIME_INTERVAL'); ?></label> | ||
241 | - <div class="col-md-6 col-sm-10"> | ||
242 | - <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); ?>"> | ||
243 | - <p class="help-block">单位秒</p> | ||
244 | - </div> | ||
245 | - </div> | ||
246 | - </div> | ||
247 | - --> | ||
248 | - <div class="tab-pane" id="F"> | ||
249 | - <div class="form-group"> | ||
250 | - <label for="input-banned_usernames" class="col-sm-2 control-label">是否开放注册</label> | ||
251 | - <div class="col-md-6 col-sm-10"> | ||
252 | - <select class="form-control" name="cmf_settings[open_registration]"> | ||
253 | - <option value="0">否</option> | ||
254 | - <?php $open_registration_selected = empty($cmf_settings['open_registration'])?'':'selected'; ?> | ||
255 | - <option value="1" <?php echo $open_registration_selected; ?>>是</option> | ||
256 | - </select> | ||
257 | - </div> | ||
258 | - </div> | ||
259 | - <div class="form-group"> | ||
260 | - <label for="input-banned_usernames" class="col-sm-2 control-label"><?php echo lang('SPECAIL_USERNAME'); ?></label> | ||
261 | - <div class="col-md-6 col-sm-10"> | ||
262 | - <textarea class="form-control" id="input-banned_usernames" name="cmf_settings[banned_usernames]"><?php echo $cmf_settings['banned_usernames']; ?></textarea> | ||
263 | - </div> | ||
264 | - </div> | ||
265 | - <div class="form-group"> | ||
266 | - <div class="col-sm-offset-2 col-sm-10"> | ||
267 | - <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button> | ||
268 | - </div> | ||
269 | - </div> | ||
270 | - </div> | ||
271 | - <div class="tab-pane" id="G"> | ||
272 | - <div class="form-group"> | ||
273 | - <label for="input-cdn_static_root" class="col-sm-2 control-label">静态资源cdn地址</label> | ||
274 | - <div class="col-md-6 col-sm-10"> | ||
275 | - <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']:''); ?>"> | ||
276 | - <p class="help-block"> | ||
277 | - 不能以/结尾;设置这个地址后,请将bronet下的静态资源文件放在其下面;<br> | ||
278 | - bronet下的静态资源文件大致包含以下(如果你自定义后,请自行增加):<br> | ||
279 | - themes/admin_simplebootx/public/assets<br> | ||
280 | - static<br> | ||
281 | - themes/simplebootx/public/assets<br> | ||
282 | - 例如未设置cdn前:jquery的访问地址是/static/js/jquery.js, <br> | ||
283 | - 设置cdn是后它的访问地址就是:静态资源cdn地址/static/js/jquery.js | ||
284 | - </p> | ||
285 | - </div> | ||
286 | - </div> | ||
287 | - <div class="form-group"> | ||
288 | - <div class="col-sm-offset-2 col-sm-10"> | ||
289 | - <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"><?php echo lang('SAVE'); ?></button> | ||
290 | - </div> | ||
291 | - </div> | ||
292 | - </div> | ||
293 | - </div> | ||
294 | - </div> | ||
295 | - </fieldset> | ||
296 | - </form> | ||
297 | - | ||
298 | - </div> | ||
299 | - <script type="text/javascript" src="__STATIC__/js/admin.js"></script> | ||
300 | -</body> | ||
301 | -</html> |
-
请 注册 或 登录 后发表评论