feat: 支持CozeV3

This commit is contained in:
suziheng
2025-01-22 16:43:40 +08:00
parent 6eb4e788c7
commit 533f9853ac
13 changed files with 359 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ const (
type Token struct {
Id int `json:"id"`
UserId int `json:"user_id"`
Key string `json:"key" gorm:"type:char(48);uniqueIndex"`
Key string `json:"key" gorm:"type:char(48)"`
Status int `json:"status" gorm:"default:1"`
Name string `json:"name" gorm:"index" `
CreatedTime int64 `json:"created_time" gorm:"bigint"`