修改脚本

This commit is contained in:
mzl
2025-07-29 19:02:49 +08:00
parent 0ad2bf162c
commit c641b5cb1f
2 changed files with 101 additions and 1 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class DomainCommand extends Command
* @param string $oldDomain 旧域名(如: http://219.157.255.213:25326)
* @return string 处理后的富文本内容
*/
function processRichTextImagesEnhanced($content, $newDomain = 'https://fdesk.hnxinyouhe.com', $oldDomain = 'http://219.157.255.213:25326') {
function processRichTextImagesEnhanced($content, $newDomain = 'https://x-server.hnxinyouhe.com', $oldDomain = 'http://219.157.255.213:25326') {
// 标准化域名格式(去除末尾斜杠)
$newDomain = rtrim($newDomain, '/');
$oldDomain = rtrim($oldDomain, '/');