diff --git a/pnkx-common/src/main/java/com/pnkx/common/utils/random/NameAndHeader.java b/pnkx-common/src/main/java/com/pnkx/common/utils/random/NameAndHeader.java index 2ab601a..6eeb290 100644 --- a/pnkx-common/src/main/java/com/pnkx/common/utils/random/NameAndHeader.java +++ b/pnkx-common/src/main/java/com/pnkx/common/utils/random/NameAndHeader.java @@ -1,5 +1,7 @@ package com.pnkx.common.utils.random; +import com.pnkx.common.constant.WebsiteAddressConstants; + import java.util.Random; /** @@ -43,7 +45,7 @@ public class NameAndHeader { */ public static String randomHeader() { Random random = new Random(); - return "https://pnkx.cloud:8866/ftp/pnkx/header/" + random.nextInt(54) + ".png"; + return WebsiteAddressConstants.FTP_SITE_ADDRESS + "/ftp/pnkx/header/" + random.nextInt(54) + ".png"; } public static void main(String[] args) { diff --git a/pnkx-common/src/main/resources/template/activation.html b/pnkx-common/src/main/resources/template/activation.html index 28987df..fc5315e 100644 --- a/pnkx-common/src/main/resources/template/activation.html +++ b/pnkx-common/src/main/resources/template/activation.html @@ -38,7 +38,7 @@

+ src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>

回复邮件TD退订 diff --git a/pnkx-common/src/main/resources/template/link.html b/pnkx-common/src/main/resources/template/link.html index 66c37ee..6ad494c 100644 --- a/pnkx-common/src/main/resources/template/link.html +++ b/pnkx-common/src/main/resources/template/link.html @@ -40,7 +40,7 @@

+ src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>

回复邮件TD退订 diff --git a/pnkx-common/src/main/resources/template/message.html b/pnkx-common/src/main/resources/template/message.html index 103ce2f..1a45fa1 100644 --- a/pnkx-common/src/main/resources/template/message.html +++ b/pnkx-common/src/main/resources/template/message.html @@ -38,7 +38,7 @@

+ src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>

回复邮件TD退订 diff --git a/pnkx-common/src/main/resources/template/reply.html b/pnkx-common/src/main/resources/template/reply.html index aad1e22..c5712f3 100644 --- a/pnkx-common/src/main/resources/template/reply.html +++ b/pnkx-common/src/main/resources/template/reply.html @@ -47,7 +47,7 @@

+ src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>

回复邮件TD退订 diff --git a/pnkx-common/src/main/resources/template/rest.html b/pnkx-common/src/main/resources/template/rest.html index 9078690..e3b5f1b 100644 --- a/pnkx-common/src/main/resources/template/rest.html +++ b/pnkx-common/src/main/resources/template/rest.html @@ -35,7 +35,7 @@

+ src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>

回复邮件TD退订 diff --git a/pnkx-common/src/main/resources/template/todo.html b/pnkx-common/src/main/resources/template/todo.html index 5a8b91a..0d3d754 100644 --- a/pnkx-common/src/main/resources/template/todo.html +++ b/pnkx-common/src/main/resources/template/todo.html @@ -31,7 +31,7 @@

+ src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>

回复邮件TD退订 diff --git a/pnkx-quartz/src/main/resources/template/message.html b/pnkx-quartz/src/main/resources/template/message.html index 2d848b5..c94ad86 100644 --- a/pnkx-quartz/src/main/resources/template/message.html +++ b/pnkx-quartz/src/main/resources/template/message.html @@ -37,7 +37,7 @@

+ src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>

回复邮件TD退订