- rename ReadStoreCategory to GetStoreAllCategories
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
||||
)
|
||||
|
||||
// 门店分类
|
||||
func (p *PurchaseHandler) ReadStoreCategory(ctx *jxcontext.Context, vendorStoreID string) (cats []*partner.BareCategoryInfo, err error) {
|
||||
func (p *PurchaseHandler) GetStoreAllCategories(ctx *jxcontext.Context, vendorStoreID string) (cats []*partner.BareCategoryInfo, err error) {
|
||||
remoteCats, err := api.WeimobAPI.QueryClassifyInfoList()
|
||||
if err == nil {
|
||||
cats = convertVendorCatList(remoteCats)
|
||||
|
||||
Reference in New Issue
Block a user