Merge pull request #143 from wsczx/dev

增加自定义首页功能
This commit is contained in:
bjdgyc
2022-09-30 15:01:49 +08:00
committed by GitHub
8 changed files with 53 additions and 39 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"`
}