From e2555d180273d1daec766da37443212fe5f067c0 Mon Sep 17 00:00:00 2001 From: caiyuchao Date: Fri, 20 Jun 2025 17:36:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A5=E5=85=85=E6=8F=90=E9=86=92?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../conf/templates/user/balanceReminder.html | 70 ++++++++++++++++++ .../conf/templates/user/trafficReminder.html | 71 +++++++++++++++++++ build/docker/wfc/gateway/dockerfile | 4 ++ 3 files changed, 145 insertions(+) create mode 100644 build/docker/conf/templates/user/balanceReminder.html create mode 100644 build/docker/conf/templates/user/trafficReminder.html diff --git a/build/docker/conf/templates/user/balanceReminder.html b/build/docker/conf/templates/user/balanceReminder.html new file mode 100644 index 0000000..9c34074 --- /dev/null +++ b/build/docker/conf/templates/user/balanceReminder.html @@ -0,0 +1,70 @@ + + + + + + Verification Code + + + +
+
+

Balance Reminder

+
+ +

Dear User,

+ +

Thank you for using our service. We want to inform you that from now on, your balance is less than $10.

+ +
+
Balance: $100
+
+ +

To avoid service interruption, please recharge in time.

+ +

Best regards,
+ Your Company Name

+ + +
+ + \ No newline at end of file diff --git a/build/docker/conf/templates/user/trafficReminder.html b/build/docker/conf/templates/user/trafficReminder.html new file mode 100644 index 0000000..1458807 --- /dev/null +++ b/build/docker/conf/templates/user/trafficReminder.html @@ -0,0 +1,71 @@ + + + + + + Verification Code + + + +
+
+

Traffic Reminder

+
+ +

Dear User,

+ +

Thank you for using our service. We want to inform you that from now on, your package traffic is less than 10%.

+ +
+
Total Traffic: 10 GB
+
Used Traffic: 1 GB
+
+ +

To avoid service interruption, please purchase the package in time.

+ +

Best regards,
+ Your Company Name

+ + +
+ + \ No newline at end of file diff --git a/build/docker/wfc/gateway/dockerfile b/build/docker/wfc/gateway/dockerfile index fa30d21..59dd525 100644 --- a/build/docker/wfc/gateway/dockerfile +++ b/build/docker/wfc/gateway/dockerfile @@ -9,6 +9,10 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 + +# 设置华为云源 +RUN sed -i 's/http:\/\/archive.ubuntu.com\/ubuntu\//http:\/\/repo.huaweicloud.com\/ubuntu\//g' /etc/apt/sources.list && \ + sed -i 's#http://security.ubuntu.com/ubuntu#http://repo.huaweicloud.com/ubuntu#' /etc/apt/sources.list20 # 安装OpenJDK 8 RUN apt-get update && \