Browse Source

修复缺陷

main
haptear 3 years ago
parent
commit
d151075dcb
  1. 8
      58tc.js

8
58tc.js

@ -248,11 +248,11 @@ class UserInfo {
async houseClean () {
let furnitureId = await this.houseGetCleanId();
while (furnitureId != '0') {
url = `https://lovely-house.58.com/housework/clean`
body = `furnitureId=${index}`
urlObject = populateUrlObject(url, this.cookie, body)
let url = `https://lovely-house.58.com/housework/clean`
let body = `furnitureId=${index}`
let urlObject = populateUrlObject(url, this.cookie, body)
await httpRequest('post', urlObject)
result = httpResult;
let result = httpResult;
//if(result.code == 0)
//break;
furnitureId = await houseGetCleanId();

Loading…
Cancel
Save