Procházet zdrojové kódy

sys config upgrade

abiao před 4 roky
rodič
revize
140570dc37

+ 2 - 2
go/gopath/src/fohow.com/apps/models/sys_config/sys_config.go

@@ -27,9 +27,9 @@ const (
 )
 
 type SysConfig struct {
-	Id        int64     `orm:"column(id);pk"                                json:"id"`       // int(11)
+	Id        int64     `orm:"column(id);pk"                              json:"id"`         // int(11)
 	Code      string    `orm:"column(code);null"                          json:"-"`          // varchar(64)
-	CodeType  int64     `orm:"column(code_type)"                          json:"-"`          // int(11)
+	CodeType  int64     `orm:"column(config_type)"                        json:"-"`          // int(11)
 	CodeValue string    `orm:"column(code_value);null"                    json:"-"`          // varchar(64)
 	DepartId  int64     `orm:"column(depart_record_id)"                   json:"-"`          // int(11)
 	Sort      int64     `orm:"column(sort)"                               json:"-"`          // int(11)