支持设置模型按次计费

This commit is contained in:
CaIon committed 2023-12-21 20:14:04 +08:00
1 parent 48b94dd24d
commit ffbde7d751
6 files changed
+87 -17

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ import (
)
type Ability struct {
Group string `json:"group" gorm:"type:varchar(32);primaryKey;autoIncrement:false"`
Group string `json:"group" gorm:"type:varchar(255);primaryKey;autoIncrement:false"`
Model string `json:"model" gorm:"primaryKey;autoIncrement:false"`
ChannelId int `json:"channel_id" gorm:"primaryKey;autoIncrement:false;index"`
Enabled bool `json:"enabled"`