1
This commit is contained in:
@@ -548,12 +548,12 @@ func (a *API) OrderListAll(shopID string, baiduShopID int64, startTime, endTime
|
||||
return nil, err
|
||||
}
|
||||
listOrder = append(listOrder, result.List...)
|
||||
// 这个地方暂停是应为接口请求超频
|
||||
time.Sleep(1 * time.Second)
|
||||
if result.Page >= result.Pages {
|
||||
break
|
||||
}
|
||||
page++
|
||||
// 这个地方暂停是应为接口请求超频
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
return listOrder, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user