-
Notifications
You must be signed in to change notification settings - Fork 87
/
海底捞小程序.har
1 lines (1 loc) · 3.35 KB
/
海底捞小程序.har
1
[{"comment":"登录","request":{"method":"POST","url":"https://superapp-public.kiwa-tech.com/login/thirdCommLogin","headers":[{"name":"Host","value":"superapp-public.kiwa-tech.com"},{"name":"appId","value":"15"},{"name":"content-type","value":"application/json"},{"name":"Accept-Encoding","value":"gzip,compress,br,deflate"},{"name":"User-Agent","value":"Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.31(0x18001f34) NetType/WIFI Language/zh_CN"},{"name":"Referer","value":"https://servicewechat.com/wx1ddeb67115f30d1a/14/page-frame.html"}],"cookies":[],"data":"{\n \"openId\": \"{{openId}}\",\n \"country\": \"CN\",\n \"uid\": \"{{uid}}\",\n \"type\": 1,\n \"codeType\": 1\n}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"\"success\":false","from":"content"}],"extract_variables":[{"name":"token","re":"\"token\":\"(.+?)\"","from":"content"},{"name":"nickName","re":"\"pnpName\":\"(.+?)\"","from":"content"}]}},{"comment":"签到","request":{"method":"POST","url":"https://superapp-public.kiwa-tech.com/activity/wxapp/signin/signin","headers":[{"name":"Host","value":"superapp-public.kiwa-tech.com"},{"name":"appId","value":"15"},{"name":"content-type","value":"application/json"},{"name":"Accept-Encoding","value":"gzip,compress,br,deflate"},{"name":"User-Agent","value":"Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.31(0x18001f34) NetType/WIFI Language/zh_CN"},{"name":"Referer","value":"https://superapp-public.kiwa-tech.com/app-sign-in/?SignInToken={{token}}&source=MiniApp"},{"name":"_HAIDILAO_APP_TOKEN","value":"{{token}}"},{"name":"ReqType","value":"APPH5"}],"cookies":[],"data":"{\"signinSource\": \"MiniApp\"}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"qdmsg","re":"\"msg\":(.+?),","from":"content"}]}},{"comment":"积分查询","request":{"method":"POST","url":"https://superapp-public.kiwa-tech.com/activity/wxapp/signin/queryFragment","headers":[{"name":"Host","value":"superapp-public.kiwa-tech.com"},{"name":"appId","value":"15"},{"name":"content-type","value":"application/json"},{"name":"Accept-Encoding","value":"gzip,compress,br,deflate"},{"name":"User-Agent","value":"Mozilla/5.0 (iPad; CPU OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.31(0x18001f34) NetType/WIFI Language/zh_CN"},{"name":"Referer","value":"https://superapp-public.kiwa-tech.com/app-sign-in/?SignInToken={{token}}&source=MiniApp"},{"name":"_HAIDILAO_APP_TOKEN","value":"{{token}}"},{"name":"ReqType","value":"APPH5"}],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"sp","re":"\"total\":(\\d+)","from":"content"},{"name":"expireDate","re":"\"expireDate\":\"(.+?)\"","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content=账号:【{{nickName}}】 签到成功\\r\\n碎片余额:【{{sp}}】,碎片有效期:【{{expireDate}}】"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]