mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-10 20:40:56 +08:00
增加基础的用户邮件通知
This commit is contained in:
@@ -33,6 +33,7 @@ type User struct {
|
||||
PriceType string `field:"priceType"` // 计费类型:traffic|bandwidth
|
||||
PricePeriod string `field:"pricePeriod"` // 结算周期
|
||||
ServersEnabled uint8 `field:"serversEnabled"` // 是否禁用所有服务
|
||||
Notification dbs.JSON `field:"notification"` // 通知设置
|
||||
}
|
||||
|
||||
type UserOperator struct {
|
||||
@@ -65,6 +66,7 @@ type UserOperator struct {
|
||||
PriceType any // 计费类型:traffic|bandwidth
|
||||
PricePeriod any // 结算周期
|
||||
ServersEnabled any // 是否禁用所有服务
|
||||
Notification any // 通知设置
|
||||
}
|
||||
|
||||
func NewUserOperator() *UserOperator {
|
||||
|
||||
Reference in New Issue
Block a user