+ GetAllStoresVendorID

This commit is contained in:
gazebo
2019-07-22 15:38:01 +08:00
parent a4470e5fb5
commit 8406359a7c
6 changed files with 31 additions and 17 deletions

View File

@@ -536,7 +536,7 @@ func (c *PurchaseHandler) ListOrders(ctx *jxcontext.Context, parentTask tasksch.
var vendorStoreIDs []string
if vendorStoreID == "" {
vendorStoreIDs, err = api.MtwmAPI.PoiGetIDs()
vendorStoreIDs, err = c.GetAllStoresVendorID(ctx)
if err != nil {
return nil, err
}