mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 20:23:05 +00:00
483 lines
15 KiB
JSON
483 lines
15 KiB
JSON
[
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://pandafly.site/api/v1/passport/auth/login",
|
|
"headers": [
|
|
{
|
|
"name": ":authority",
|
|
"value": "pandafly.site"
|
|
},
|
|
{
|
|
"name": ":method",
|
|
"value": "POST"
|
|
},
|
|
{
|
|
"name": ":path",
|
|
"value": "/api/v1/passport/auth/login"
|
|
},
|
|
{
|
|
"name": ":scheme",
|
|
"value": "https"
|
|
},
|
|
{
|
|
"name": "accept",
|
|
"value": "application/json, text/plain, */*"
|
|
},
|
|
{
|
|
"name": "accept-encoding",
|
|
"value": "gzip, deflate, br, zstd"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
|
|
},
|
|
{
|
|
"name": "content-language",
|
|
"value": "zh-CN"
|
|
},
|
|
{
|
|
"name": "content-type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "origin",
|
|
"value": "https://pandafly.site"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"value": "u=1, i"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://pandafly.site/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not A(Brand\";v=\"8\", \"Chromium\";v=\"132\", \"Microsoft Edge\";v=\"132\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"macOS\""
|
|
},
|
|
{
|
|
"name": "sec-fetch-dest",
|
|
"value": "empty"
|
|
},
|
|
{
|
|
"name": "sec-fetch-mode",
|
|
"value": "cors"
|
|
},
|
|
{
|
|
"name": "sec-fetch-site",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "email={{ username |urlencode}}&password={{ password |urlencode}}",
|
|
"mimeType": "application/x-www-form-urlencoded"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "token",
|
|
"re": "\"auth_data\":\"([^\"]+)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://pandafly.site/api/v1/user/order/save",
|
|
"headers": [
|
|
{
|
|
"name": ":authority",
|
|
"value": "pandafly.site"
|
|
},
|
|
{
|
|
"name": ":method",
|
|
"value": "POST"
|
|
},
|
|
{
|
|
"name": ":path",
|
|
"value": "/api/v1/user/order/save"
|
|
},
|
|
{
|
|
"name": ":scheme",
|
|
"value": "https"
|
|
},
|
|
{
|
|
"name": "accept",
|
|
"value": "application/json, text/plain, */*"
|
|
},
|
|
{
|
|
"name": "accept-encoding",
|
|
"value": "gzip, deflate, br, zstd"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
|
|
},
|
|
{
|
|
"name": "content-language",
|
|
"value": "zh-CN"
|
|
},
|
|
{
|
|
"name": "content-type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "origin",
|
|
"value": "https://pandafly.site"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"value": "u=1, i"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://pandafly.site/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not A(Brand\";v=\"8\", \"Chromium\";v=\"132\", \"Microsoft Edge\";v=\"132\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"macOS\""
|
|
},
|
|
{
|
|
"name": "sec-fetch-dest",
|
|
"value": "empty"
|
|
},
|
|
{
|
|
"name": "sec-fetch-mode",
|
|
"value": "cors"
|
|
},
|
|
{
|
|
"name": "sec-fetch-site",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0"
|
|
},
|
|
{
|
|
"name": "authorization",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "plan_id=1&period=month_price",
|
|
"mimeType": "application/x-www-form-urlencoded"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "order",
|
|
"re": "\"data\":\"([^\"]+)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "返回对应时间戳和时间",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/timestamp",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "ts=&form=&dt="
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "time",
|
|
"re": "\"时间戳\":([^\"]+),",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://pandafly.site/api/v1/user/order/detail?trade_no={{order|urlencode}}&t={{time|urlencode}}132",
|
|
"headers": [
|
|
{
|
|
"name": ":authority",
|
|
"value": "pandafly.site"
|
|
},
|
|
{
|
|
"name": ":method",
|
|
"value": "GET"
|
|
},
|
|
{
|
|
"name": ":scheme",
|
|
"value": "https"
|
|
},
|
|
{
|
|
"name": "accept",
|
|
"value": "application/json, text/plain, */*"
|
|
},
|
|
{
|
|
"name": "accept-encoding",
|
|
"value": "gzip, deflate, br, zstd"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
|
|
},
|
|
{
|
|
"name": "content-language",
|
|
"value": "zh-CN"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"value": "u=1, i"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://pandafly.site/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not A(Brand\";v=\"8\", \"Chromium\";v=\"132\", \"Microsoft Edge\";v=\"132\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"macOS\""
|
|
},
|
|
{
|
|
"name": "sec-fetch-dest",
|
|
"value": "empty"
|
|
},
|
|
{
|
|
"name": "sec-fetch-mode",
|
|
"value": "cors"
|
|
},
|
|
{
|
|
"name": "sec-fetch-site",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0"
|
|
},
|
|
{
|
|
"name": "authorization",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://pandafly.site/api/v1/user/order/checkout",
|
|
"headers": [
|
|
{
|
|
"name": ":authority",
|
|
"value": "pandafly.site"
|
|
},
|
|
{
|
|
"name": ":method",
|
|
"value": "POST"
|
|
},
|
|
{
|
|
"name": ":path",
|
|
"value": "/api/v1/user/order/checkout"
|
|
},
|
|
{
|
|
"name": ":scheme",
|
|
"value": "https"
|
|
},
|
|
{
|
|
"name": "accept",
|
|
"value": "application/json, text/plain, */*"
|
|
},
|
|
{
|
|
"name": "accept-encoding",
|
|
"value": "gzip, deflate, br, zstd"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
|
|
},
|
|
{
|
|
"name": "content-language",
|
|
"value": "zh-CN"
|
|
},
|
|
{
|
|
"name": "content-type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "origin",
|
|
"value": "https://pandafly.site"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"value": "u=1, i"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://pandafly.site/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not A(Brand\";v=\"8\", \"Chromium\";v=\"132\", \"Microsoft Edge\";v=\"132\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"macOS\""
|
|
},
|
|
{
|
|
"name": "sec-fetch-dest",
|
|
"value": "empty"
|
|
},
|
|
{
|
|
"name": "sec-fetch-mode",
|
|
"value": "cors"
|
|
},
|
|
{
|
|
"name": "sec-fetch-site",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0"
|
|
},
|
|
{
|
|
"name": "authorization\n",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "trade_no={{order|urlencode}}&method=1",
|
|
"mimeType": "application/x-www-form-urlencoded"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [
|
|
{
|
|
"re": "\"data\":false",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"extract_variables": [
|
|
{
|
|
"name": "status",
|
|
"re": "\"data\":([^\"]+)}",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "Unicode转换",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/unicode",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "html_unescape=false&content=续期状态:{{ternary(status == \"true\", \"已完成^_^\", \"续期异常!\") }}"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\"状态\": \"200\"",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "__log__",
|
|
"re": "\"转换后\": \"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |