소스 검색

sys config upgrade

abiao 4 년 전
부모
커밋
140570dc37
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      go/gopath/src/fohow.com/apps/models/sys_config/sys_config.go

+ 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)