- 修正各平台与拉取订单相关的API的bug
This commit is contained in:
@@ -476,7 +476,7 @@ func (a *API) OrderListAll(shopID string, baiduShopID int64, startTime, endTime
|
||||
return nil, err
|
||||
}
|
||||
listOrder = append(listOrder, result.List...)
|
||||
if result.Page == result.Pages {
|
||||
if result.Page >= result.Pages {
|
||||
break
|
||||
}
|
||||
page++
|
||||
|
||||
Reference in New Issue
Block a user