Ver Fonte

新增品种bug

xyxie há 1 ano atrás
pai
commit
3f0e0114a8
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      models/crm/chart_permission.go

+ 1 - 1
models/crm/chart_permission.go

@@ -11,7 +11,7 @@ type ChartPermission struct {
 	ChartPermissionName   string    `gorm:"column:chart_permission_name;default:NULL;comment:'名称'" json:"chart_permission_name"`
 	PermissionName        string    `gorm:"column:permission_name;default:;comment:'权限名'" json:"permission_name"`
 	Sort                  int       `gorm:"column:sort;default:1;comment:'排序'" json:"sort"`
-	Enabled               int       `gorm:"column:enabled;default:1;comment:'是否可用 0禁用, 1启用'" json:"enabled"`
+	Enabled               int       `gorm:"column:enabled;comment:'是否可用 0禁用, 1启用'" json:"enabled"`
 	CreatedTime           time.Time `gorm:"column:created_time;default:CURRENT_TIMESTAMP;comment:'创建时间'" json:"created_time"`
 	LastUpdatedTime       time.Time `gorm:"column:last_updated_time;default:CURRENT_TIMESTAMP;NOT NULL" json:"last_updated_time"`
 	TeleconferenceSort    int       `gorm:"column:teleconference_sort;default:0;comment:'电话会类型排序'" json:"teleconference_sort"`