This commit is contained in:
toom1996
2025-06-18 15:12:42 +08:00
parent ce68974b58
commit 2f985d9f6f
3 changed files with 15 additions and 2 deletions

View File

@ -2,6 +2,7 @@
namespace App\Controller\admin\api;
use App\Constants\Config;
use App\Controller\AbstractController;
use App\Helpers\ExcelHelper;
use App\Model\AppKeywordsMonitor;
@ -171,7 +172,7 @@ class KeywordsController extends AbstractController
foreach ($res as &$v) {
$v['keyword'] = AppKeywordsMonitorTask::find($v['aid'])->keyword;
$v['screen_path'] = 'http://127..0.0.1:9503' . $v['screen_path'];
$v['screen_path'] = Config::DOMAIN . $v['screen_path'];
}
$fileName = date('Y-m-d') . '关键词监控结果';
return ExcelHelper::exportData($this->response, list: $res, header: [