Merge pull request #61 from LQYBill/feature/addPurchaseMabang

fix : mabang sku job error
pull/6221/head
Qiuyi LI 2024-02-20 17:08:46 +01:00 committed by GitHub
commit 4f49712e74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class SkuListRawStream implements NetworkDataStream<SkuListResponse> {
if (!hasNext())
throw new NoSuchElementException();
log.info("Sending request for page {}/{}.", toSend.getPage(), toSend.getTotalPages());
log.info("Sending request for page {}/{}.", toSend.getPage(), toSend.getTotal() == null ? "?" : toSend.getTotalPages());
this.currentResponse = new SkuListRequest(toSend).send();
toSend.nextPage();
return this.currentResponse;