feat: 渠道支持指定组织

This commit is contained in:
CaIon
2023-09-15 17:59:01 +08:00
parent 76c0c7918e
commit 2a961f1cbc
4 changed files with 17 additions and 1 deletions
+1
View File
@@ -9,6 +9,7 @@ type Channel struct {
Id int `json:"id"`
Type int `json:"type" gorm:"default:0"`
Key string `json:"key" gorm:"not null;index"`
OpenAIOrganization *string `json:"openai_organization"`
Status int `json:"status" gorm:"default:1"`
Name string `json:"name" gorm:"index"`
Weight int `json:"weight"`