|
|
@ -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(); |
|
|
|