Skip to content

Commit 041b3f6

Browse files
committed
更新[美团]签到脚本: 删除测试数据
1 parent c67f188 commit 041b3f6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

meituan/meituan.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ function sign() {
1717
const url = { url: signurlVal, headers: JSON.parse(signheaderVal), body: signBodyVal }
1818
chavy.post(url, (error, response, data) => {
1919
chavy.log(`${cookieName}, data: ${data}`)
20-
const result = JSON.parse(
21-
`{\"code\":0,\"msg\":\"操作成功\",\"data\":[{\"activityId\":100219,\"errorCode\":0,\"signInAwardRecords\":[{\"type\":4,\"info\":\"{\\\"amount\\\":206,\\\"id\\\":137735,\\\"manual\\\":false,\\\"type\\\":\\\"cash\\\"}\"},{\"type\":1,\"info\":\"{\\\"amount\\\":25.0,\\\"condition\\\":\\\"满200元可用\\\",\\\"name\\\":\\\"签到酒店首单券\\\",\\\"isMoney\\\":false,\\\"id\\\":137742,\\\"type\\\":\\\"coupon\\\",\\\"manual\\\":true,\\\"couponId\\\":\\\"0c7a0ebe5a\\\",\\\"personaId\\\":980}\"},{\"type\":1,\"info\":\"{\\\"amount\\\":4.0,\\\"condition\\\":\\\"满49元可用\\\",\\\"name\\\":\\\"签到美食券\\\",\\\"isMoney\\\":false,\\\"id\\\":137743,\\\"type\\\":\\\"coupon\\\",\\\"manual\\\":true,\\\"couponId\\\":\\\"6afa6cc079\\\",\\\"personaId\\\":110509}\"}],\"circleSignTimes\":1,\"circleSize\":7,\"firstSignDay\":true,\"success\":true,\"lastDayInCircle\":false}]}`
22-
)
20+
const result = JSON.parse(data)
2321
let subTitle = ``
2422
let detail = ``
2523
if (result.code == 0) {

0 commit comments

Comments
 (0)