abiao 5 anni fa
parent
commit
6c7d2ca4ce

+ 1 - 1
go/gopath/src/fohow.com/apps/models/product_model/product_attr.go

@@ -43,7 +43,7 @@ type ProductAttrConfig struct {
 	Id        int64     `orm:"column(id);pk"                          json:"id,omitempty"` // int(11)
 	AttrKeyId int64     `orm:"column(attr_key_id)"                    json:"attr_key_id"`  // int(11)
 	ProductId int64     `orm:"column(product_id)"                    json:"product_id"`    // int(11)
-	SizeType  string    `orm:"column(name);null"            json:"name"`                   // varchar(64)
+	SizeType  string    `orm:"column(size_type);null"            json:"-"`                 // varchar(64)
 	CreatedAt time.Time `orm:"column(created_at);auto_now_add;type(datetime)" json:"-"`    // datetime
 	UpdatedAt time.Time `orm:"column(updated_at);auto_now;type(datetime)"     json:"-"`    // datetime
 }