feat: MiniMax support (#50)

This commit is contained in:
Buer
2024-01-22 12:25:55 +08:00
committed by GitHub
parent 2cc120f35b
commit 705804e6dd
11 changed files with 601 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ import (
type Channel struct {
Id int `json:"id"`
Type int `json:"type" gorm:"default:0"`
Key string `json:"key" gorm:"not null;index"`
Key string `json:"key" gorm:"type:varchar(767);not null;index"`
Status int `json:"status" gorm:"default:1"`
Name string `json:"name" gorm:"index"`
Weight *uint `json:"weight" gorm:"default:0"`