|
@@ -211,7 +211,7 @@ func syncGnIndex(currIndex, pageSize int, baseLastUpdateTimeStr string) (err err
|
|
|
}
|
|
|
|
|
|
// 如果还有下一页,那么就继续请求下一页
|
|
|
- if currIndex < result.Data.Paging.Pages {
|
|
|
+ if !result.Data.Paging.IsEnd {
|
|
|
_, tmpErrMsgList := syncGnIndex(currIndex+1, utils.SyncCrmIndexNum, baseLastUpdateTimeStr)
|
|
|
errMsgList = append(errMsgList, tmpErrMsgList...)
|
|
|
}
|