feat(app): Application 模型添加 Token 字段
This commit is contained in:
@@ -9,6 +9,7 @@ type Application struct {
|
|||||||
Name string `xorm:"varchar(32)" json:"name"`
|
Name string `xorm:"varchar(32)" json:"name"`
|
||||||
Code string `xorm:"varchar(32)" json:"code"`
|
Code string `xorm:"varchar(32)" json:"code"`
|
||||||
ServiceId string `xorm:"varchar(64)" json:"serviceId"`
|
ServiceId string `xorm:"varchar(64)" json:"serviceId"`
|
||||||
|
Token string `xorm:"varchar(64)" json:"token"`
|
||||||
IsModule bool `xorm:"tinyint(1) default 1" json:"isModule"`
|
IsModule bool `xorm:"tinyint(1) default 1" json:"isModule"`
|
||||||
OwnerId *int `xorm:"int" json:"ownerId"`
|
OwnerId *int `xorm:"int" json:"ownerId"`
|
||||||
OwnerName string `xorm:"varchar(16)" json:"ownerName"`
|
OwnerName string `xorm:"varchar(16)" json:"ownerName"`
|
||||||
|
|||||||
Reference in New Issue
Block a user