- rename ReadStoreCategory to GetStoreAllCategories

This commit is contained in:
gazebo
2019-07-12 08:42:39 +08:00
parent b6ce75191b
commit d2cfe07d20
4 changed files with 4 additions and 4 deletions

View File

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