增加自定义首页功能

This commit is contained in:
wsczx
2022-09-25 04:16:48 +08:00
parent 10ca7c9c85
commit 68bb5d24b6
4 changed files with 15 additions and 2 deletions

View File

@@ -88,6 +88,7 @@ func addInitData() error {
other := &SettingOther{
LinkAddr: "vpn.xx.com",
Banner: "您已接入公司网络,请按照公司规定使用。\n请勿进行非工作下载及视频行为",
Homeindex: "AnyLink 是一个企业级远程办公 sslvpn 的软件,可以支持多人同时在线使用。",
AccountMail: accountMail,
}
err = SettingSessAdd(sess, other)

View File

@@ -22,6 +22,7 @@ type SettingSmtp struct {
type SettingOther struct {
LinkAddr string `json:"link_addr"`
Banner string `json:"banner"`
Homeindex string `json:"homeindex"`
AccountMail string `json:"account_mail"`
}