update
This commit is contained in:
@ -208,6 +208,7 @@ class KeywordsController extends AbstractController
|
|||||||
foreach ($baiduPCRes as &$v) {
|
foreach ($baiduPCRes as &$v) {
|
||||||
$v['keyword'] = AppKeywordsMonitorTask::find($v['aid'])->keyword;
|
$v['keyword'] = AppKeywordsMonitorTask::find($v['aid'])->keyword;
|
||||||
$v['screen_path'] = Config::getDomain() . $v['screen_path'];
|
$v['screen_path'] = Config::getDomain() . $v['screen_path'];
|
||||||
|
$v['created_at'] = date('Y-m-d H:i:s', $v['created_at']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$baiduWAPRes = AppKeywordsMonitorResult::query()
|
$baiduWAPRes = AppKeywordsMonitorResult::query()
|
||||||
@ -221,6 +222,7 @@ class KeywordsController extends AbstractController
|
|||||||
foreach ($baiduWAPRes as &$v) {
|
foreach ($baiduWAPRes as &$v) {
|
||||||
$v['keyword'] = AppKeywordsMonitorTask::find($v['aid'])->keyword;
|
$v['keyword'] = AppKeywordsMonitorTask::find($v['aid'])->keyword;
|
||||||
$v['screen_path'] = Config::getDomain() . $v['screen_path'];
|
$v['screen_path'] = Config::getDomain() . $v['screen_path'];
|
||||||
|
$v['created_at'] = date('Y-m-d H:i:s', $v['created_at']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$fileName = date('Y-m-d') . '关键词监控结果';
|
$fileName = date('Y-m-d') . '关键词监控结果';
|
||||||
@ -242,6 +244,7 @@ class KeywordsController extends AbstractController
|
|||||||
['链接地址', 'url', 'text'],
|
['链接地址', 'url', 'text'],
|
||||||
['ip归属地', 'ip_source', 'text'],
|
['ip归属地', 'ip_source', 'text'],
|
||||||
['截图地址', 'screen_path', 'text'],
|
['截图地址', 'screen_path', 'text'],
|
||||||
|
['查询时间', 'created_at', 'text'],
|
||||||
], filename:$fileName);
|
], filename:$fileName);
|
||||||
|
|
||||||
return [];
|
return [];
|
||||||
|
Reference in New Issue
Block a user