feat: 渠道支持指定组织

This commit is contained in:
CaIon
2023-09-15 17:59:01 +08:00
parent d1d789616f
commit cc09dd4f9d
4 changed files with 17 additions and 1 deletions

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"`