()
| 199 | } |
| 200 | |
| 201 | async function shopMain() { |
| 202 | $.unsubscribeShopsCount = 0; |
| 203 | if ((shopPageSize * 1) !== 0) { |
| 204 | await unsubscribeShops(); |
| 205 | const le = Math.ceil($.shopsTotalNum / 20) - 1 >= 0 ? Math.ceil($.shopsTotalNum / 20) - 1 : 0; |
| 206 | for (let i = 0; i < new Array(le).length; i++) { |
| 207 | await $.wait(100); |
| 208 | await unsubscribeShops(); |
| 209 | } |
| 210 | } else { |
| 211 | console.log(`\n您设置的是不取关店铺\n`); |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | async function unsubscribeShops() { |
| 216 | let followShops = await getFollowShops(); |
no test coverage detected