aa
This commit is contained in:
@@ -3775,8 +3775,8 @@ func GetDiffJxStoreAndMTWMStoreInfo(ctx *jxcontext.Context, storeIDs []int) (err
|
||||
return err
|
||||
}
|
||||
|
||||
func GetBrands(ctx *jxcontext.Context, name string) (brands []*model.Brand, err error) {
|
||||
return dao.GetBrands(dao.GetDB(), name)
|
||||
func GetBrands(ctx *jxcontext.Context, name string, brandID int) (brands []*model.Brand, err error) {
|
||||
return dao.GetBrands(dao.GetDB(), name, brandID)
|
||||
}
|
||||
|
||||
func AddBrand(ctx *jxcontext.Context, brand *model.Brand) (err error) {
|
||||
|
||||
Reference in New Issue
Block a user