- GetVendorCategories

This commit is contained in:
gazebo
2018-09-18 10:35:47 +08:00
parent 4102e05ac7
commit 23ff663492
3 changed files with 4 additions and 7 deletions

View File

@@ -113,7 +113,7 @@ type SkuVendorCategory struct {
Name string `orm:"size(255);index" json:"name"`
IsLeaf int8 `json:"isLeaf"`
Level int `json:"level"`
ParentID string `orm:"column(parent_id);size(255);index" json:"parentID"` // 父ID引用的是VendorCategoryID而不是ID
ParentID string `orm:"column(parent_id);size(48);index" json:"parentID"` // 父ID引用的是VendorCategoryID而不是ID
}
func (*SkuVendorCategory) TableUnique() [][]string {