diff --git a/58tc.js b/58tc.js index ba07d6d..b70794b 100644 --- a/58tc.js +++ b/58tc.js @@ -249,7 +249,7 @@ class UserInfo { let furnitureId = await this.houseGetCleanId(); while (furnitureId != '0') { let url = `https://lovely-house.58.com/housework/clean` - let body = `furnitureId=${index}` + let body = `furnitureId=${furnitureId}` let urlObject = populateUrlObject(url, this.cookie, body) await httpRequest('post', urlObject) let result = httpResult;