feat: 添加回调未开启提示

This commit is contained in:
CaIon
2024-03-15 22:15:16 +08:00
parent 2d2fec24d0
commit a6ba1d01d9
4 changed files with 18 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ import (
"fmt"
"net/http"
"one-api/common"
"one-api/constant"
"one-api/model"
"strings"
@@ -59,6 +60,7 @@ func GetStatus(c *gin.Context) {
"data_export_default_time": common.DataExportDefaultTime,
"default_collapse_sidebar": common.DefaultCollapseSidebar,
"enable_online_topup": common.PayAddress != "" && common.EpayId != "" && common.EpayKey != "",
"mj_notify_enabled": constant.MjNotifyEnabled,
},
})
return