fix: 图片地址修改

This commit is contained in:
裴浩宇 2024-05-15 17:46:17 +08:00
parent e03e1e2f53
commit 6b3934ff49
8 changed files with 10 additions and 8 deletions

View File

@ -1,5 +1,7 @@
package com.pnkx.common.utils.random; package com.pnkx.common.utils.random;
import com.pnkx.common.constant.WebsiteAddressConstants;
import java.util.Random; import java.util.Random;
/** /**
@ -43,7 +45,7 @@ public class NameAndHeader {
*/ */
public static String randomHeader() { public static String randomHeader() {
Random random = new Random(); 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) { public static void main(String[] args) {

View File

@ -38,7 +38,7 @@
</p> </p>
<p> <p>
<img style='width:340px;height:120px; border-radius: 0.5rem' <img style='width:340px;height:120px; border-radius: 0.5rem'
src="https://pnkx.cloud:8866/ftp/pnkx/images/wechat.jpg"/> src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>
</p> </p>
<p style='color:#bbb;'> <p style='color:#bbb;'>
回复邮件TD退订 回复邮件TD退订

View File

@ -40,7 +40,7 @@
</p> </p>
<p> <p>
<img style='width:340px;height:120px; border-radius: 0.5rem' <img style='width:340px;height:120px; border-radius: 0.5rem'
src="https://pnkx.cloud:8866/ftp/pnkx/images/wechat.jpg"/> src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>
</p> </p>
<p style='color:#bbb;'> <p style='color:#bbb;'>
回复邮件TD退订 回复邮件TD退订

View File

@ -38,7 +38,7 @@
</p> </p>
<p> <p>
<img style='width:340px;height:120px; border-radius: 0.5rem' <img style='width:340px;height:120px; border-radius: 0.5rem'
src="https://pnkx.cloud:8866/ftp/pnkx/images/wechat.jpg"/> src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>
</p> </p>
<p style='color:#bbb;'> <p style='color:#bbb;'>
回复邮件TD退订 回复邮件TD退订

View File

@ -47,7 +47,7 @@
</p> </p>
<p> <p>
<img style='width:340px;height:120px; border-radius: 0.5rem' <img style='width:340px;height:120px; border-radius: 0.5rem'
src="https://pnkx.cloud:8866/ftp/pnkx/images/wechat.jpg"/> src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>
</p> </p>
<p style='color:#bbb;'> <p style='color:#bbb;'>
回复邮件TD退订 回复邮件TD退订

View File

@ -35,7 +35,7 @@
</p> </p>
<p> <p>
<img style='width:340px;height:120px; border-radius: 0.5rem' <img style='width:340px;height:120px; border-radius: 0.5rem'
src="https://pnkx.cloud:8866/ftp/pnkx/images/wechat.jpg"/> src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>
</p> </p>
<p style='color:#bbb;'> <p style='color:#bbb;'>
回复邮件TD退订 回复邮件TD退订

View File

@ -31,7 +31,7 @@
</p> </p>
<p> <p>
<img style='width:340px;height:120px; border-radius: 0.5rem' <img style='width:340px;height:120px; border-radius: 0.5rem'
src="https://pnkx.cloud:8866/ftp/pnkx/images/wechat.jpg"/> src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>
</p> </p>
<p style='color:#bbb;'> <p style='color:#bbb;'>
回复邮件TD退订 回复邮件TD退订

View File

@ -37,7 +37,7 @@
</p> </p>
<p> <p>
<img style='width:340px;height:120px; border-radius: 0.5rem' <img style='width:340px;height:120px; border-radius: 0.5rem'
src="https://pnkx.cloud:8866/ftp/pnkx/images/wechat.jpg"/> src="https://ftp.pnkx.top:8/ftp/pnkx/images/wechat.jpg"/>
</p> </p>
<p style='color:#bbb;'> <p style='color:#bbb;'>
回复邮件TD退订 回复邮件TD退订