mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 21:53:42 +00:00
329 lines
9.7 KiB
JSON
329 lines
9.7 KiB
JSON
[
|
||
{
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "https://www.zhuoyoux.com/lzy/login",
|
||
"headers": [
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0"
|
||
},
|
||
{
|
||
"name": "Accept",
|
||
"value": "application/json, text/plain, */*"
|
||
},
|
||
{
|
||
"name": "Accept-Language",
|
||
"value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
|
||
},
|
||
{
|
||
"name": "Accept-Encoding",
|
||
"value": "gzip, deflate, br, zstd"
|
||
},
|
||
{
|
||
"name": "Content-Type",
|
||
"value": "application/json;charset=UTF-8"
|
||
},
|
||
{
|
||
"name": "ywj",
|
||
"value": "ywj"
|
||
},
|
||
{
|
||
"name": "Origin",
|
||
"value": "https://www.zhuoyoux.com"
|
||
},
|
||
{
|
||
"name": "DNT",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "Sec-GPC",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "Connection",
|
||
"value": "keep-alive"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://www.zhuoyoux.com/"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Dest",
|
||
"value": "empty"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Mode",
|
||
"value": "cors"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Site",
|
||
"value": "same-origin"
|
||
},
|
||
{
|
||
"name": "Priority",
|
||
"value": "u=0"
|
||
},
|
||
{
|
||
"name": "Pragma",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "Cache-Control",
|
||
"value": "no-cache"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "{\"username\":\"{{username}}\",\"password\":\"{{password}}\"}",
|
||
"mimeType": "application/json;charset=UTF-8"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [
|
||
{
|
||
"re": "403",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"extract_variables": [
|
||
{
|
||
"name": "token",
|
||
"re": "\"token\":\"(.+?)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.zhuoyoux.com/lzy/user/sign",
|
||
"headers": [
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0"
|
||
},
|
||
{
|
||
"name": "Accept",
|
||
"value": "application/json, text/plain, */*"
|
||
},
|
||
{
|
||
"name": "Accept-Language",
|
||
"value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
|
||
},
|
||
{
|
||
"name": "Accept-Encoding",
|
||
"value": "gzip, deflate, br, zstd"
|
||
},
|
||
{
|
||
"name": "ywj",
|
||
"value": "ywj"
|
||
},
|
||
{
|
||
"name": "Authorization",
|
||
"value": "{{token}}"
|
||
},
|
||
{
|
||
"name": "DNT",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "Sec-GPC",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "Connection",
|
||
"value": "keep-alive"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://www.zhuoyoux.com/"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Dest",
|
||
"value": "empty"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Mode",
|
||
"value": "cors"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Site",
|
||
"value": "same-origin"
|
||
},
|
||
{
|
||
"name": "Priority",
|
||
"value": "u=0"
|
||
},
|
||
{
|
||
"name": "Pragma",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "Cache-Control",
|
||
"value": "no-cache"
|
||
}
|
||
],
|
||
"cookies": []
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
},
|
||
{
|
||
"re": "您已经签到过了",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "qd_back",
|
||
"re": "data\":\"(.*?)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://www.zhuoyoux.com/lzy/user/information",
|
||
"headers": [
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0"
|
||
},
|
||
{
|
||
"name": "Accept",
|
||
"value": "application/json, text/plain, */*"
|
||
},
|
||
{
|
||
"name": "Accept-Language",
|
||
"value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
|
||
},
|
||
{
|
||
"name": "Accept-Encoding",
|
||
"value": "gzip, deflate, br, zstd"
|
||
},
|
||
{
|
||
"name": "ywj",
|
||
"value": "ywj"
|
||
},
|
||
{
|
||
"name": "Authorization",
|
||
"value": "{{token}}"
|
||
},
|
||
{
|
||
"name": "DNT",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "Sec-GPC",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "Connection",
|
||
"value": "keep-alive"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://www.zhuoyoux.com/user?id=1"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Dest",
|
||
"value": "empty"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Mode",
|
||
"value": "cors"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Site",
|
||
"value": "same-origin"
|
||
},
|
||
{
|
||
"name": "Priority",
|
||
"value": "u=0"
|
||
},
|
||
{
|
||
"name": "Pragma",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "Cache-Control",
|
||
"value": "no-cache"
|
||
}
|
||
],
|
||
"cookies": []
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [
|
||
{
|
||
"re": "403",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"extract_variables": [
|
||
{
|
||
"name": "money",
|
||
"re": "money\":\"(.*?)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "nickname",
|
||
"re": "nickname\":\"(.*?)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "email",
|
||
"re": "email\":\"(.*?)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "Unicode转换",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "api://util/unicode",
|
||
"headers": [],
|
||
"cookies": [],
|
||
"data": "html_unescape=false&content=昵称:{{nickname}}\\r\\n邮箱:{{email}}\\r\\n当前米宝:{{money}}\\r\\n签到结果:{{qd_back}}"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
},
|
||
{
|
||
"re": "\"状态\": \"200\"",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "__log__",
|
||
"re": "\"转换后\": \"(.*)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
] |