| 123456789101112131415161718192021 | package handlerimport (	model2 "cold-delivery/common/model")type SysService struct {	model2.Model	No         string `gorm:"size:8;not null;" json:"no"`                         // 服务编号	Name       string `gorm:"size:128;" json:"name"`                              // 服务名称	Host       string `gorm:"size:512;not null;comment:服务地址" json:"host"`         // 服务地址	AuthCode   string `gorm:"size:32;not null;comment:授权码" json:"authCode"`       // 授权码	Status     int    `gorm:"size:4;not null;default:2;comment:状态" json:"status"` // 状态 1-停用 2-正常	RoleApiUrl string `gorm:"size:128;" json:"roleApiUrl"`                        // 角色权限回调地址	model2.ControlBy	model2.ModelTime}func (SysService) TableName() string {	return "sys_service"}
 |