feat: 弃用腾讯tts,改用火山引擎tts
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package response
|
||||
|
||||
import "time"
|
||||
|
||||
// RadioUserItem 电台用户列表项
|
||||
type RadioUserItem struct {
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
NickName string `json:"nickName"`
|
||||
Account string `json:"account"`
|
||||
Phone string `json:"phone"`
|
||||
AvatarUrl string `json:"avatarUrl"`
|
||||
Gender int `json:"gender"` // 0:未知 1:男 2:女
|
||||
IsVip int `json:"isVip"` // 0:否 1:是
|
||||
VipExpireAt *time.Time `json:"vipExpireAt"` // VIP过期时间
|
||||
LastLoginAt *time.Time `json:"lastLoginAt"` // 最后登录时间
|
||||
LastLoginIp string `json:"lastLoginIp"` // 最后登录IP
|
||||
CreatedAt time.Time `json:"createdAt"` // 注册时间
|
||||
SubscribeCount int64 `json:"subscribeCount"` // 订阅频道数
|
||||
ListenCount int64 `json:"listenCount"` // 收听次数
|
||||
FavoriteCount int64 `json:"favoriteCount"` // 收藏数
|
||||
TotalSpent int64 `json:"totalSpent"` // 累计消费(分)
|
||||
OrderCount int64 `json:"orderCount"` // 订单数
|
||||
}
|
||||
@@ -13,6 +13,7 @@ type GetUserList struct {
|
||||
common.PageInfo
|
||||
Account string `json:"account" form:"account"`
|
||||
Phone string `json:"phone" form:"phone"`
|
||||
IsVip *int `json:"isVip" form:"isVip"`
|
||||
}
|
||||
|
||||
type ChangePwd struct {
|
||||
|
||||
@@ -14,10 +14,10 @@ type User struct {
|
||||
global.BaseModel
|
||||
TenantId string `gorm:"size:20;" json:"tenantId" form:"tenantId"`
|
||||
ClientId string `gorm:"size:20;" json:"clientId"`
|
||||
Name string `gorm:"size:20" json:"name" form:"name"`
|
||||
Name string `gorm:"size:100" json:"name" form:"name"`
|
||||
Account string `gorm:"size:11;" json:"account" form:"account"`
|
||||
Password string `gorm:"size:100;" json:"-" form:"password"`
|
||||
NickName string `gorm:"size:20;column:nick_name" json:"nickName" form:"nickName"`
|
||||
NickName string `gorm:"size:100;column:nick_name" json:"nickName" form:"nickName"`
|
||||
Phone string `gorm:"size:20;column:phone" json:"phone" form:"phone"`
|
||||
SessionKey string `gorm:"size:80;column:session_key" json:"sessionKey" form:"sessionKey"`
|
||||
UnionId string `gorm:"size:80;column:union_id" json:"unionId"`
|
||||
|
||||
Reference in New Issue
Block a user