-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Afsss223 <[email protected]>
- Loading branch information
1 parent
8044b6a
commit d1bcb17
Showing
2 changed files
with
241 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,229 @@ | ||
[ | ||
{ | ||
"request": { | ||
"method": "POST", | ||
"url": "https://api.aclink.top/user/login", | ||
"headers": [ | ||
{ | ||
"name": ":method", | ||
"value": "POST" | ||
}, | ||
{ | ||
"name": ":path", | ||
"value": "/user/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" | ||
}, | ||
{ | ||
"name": "content-type", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"name": "origin", | ||
"value": "https://www.aclink.top" | ||
}, | ||
{ | ||
"name": "priority", | ||
"value": "u=1, i" | ||
}, | ||
{ | ||
"name": "referer", | ||
"value": "https://www.aclink.top/" | ||
}, | ||
{ | ||
"name": "sec-ch-ua", | ||
"value": "\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Google Chrome\";v=\"126\"" | ||
}, | ||
{ | ||
"name": "sec-ch-ua-mobile", | ||
"value": "?0" | ||
}, | ||
{ | ||
"name": "sec-ch-ua-platform", | ||
"value": "\"Windows\"" | ||
}, | ||
{ | ||
"name": "sec-fetch-dest", | ||
"value": "empty" | ||
}, | ||
{ | ||
"name": "sec-fetch-mode", | ||
"value": "cors" | ||
}, | ||
{ | ||
"name": "sec-fetch-site", | ||
"value": "same-site" | ||
}, | ||
{ | ||
"name": "user-agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" | ||
} | ||
], | ||
"cookies": [], | ||
"data": "{\"Email\":\"{{username}}\",\"Password\":\"{{password}}\"}", | ||
"mimeType": "application/json" | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
} | ||
], | ||
"failed_asserts": [ | ||
{ | ||
"re": "用户不存在", | ||
"from": "content" | ||
}, | ||
{ | ||
"re": "密码错误", | ||
"from": "content" | ||
} | ||
], | ||
"extract_variables": [] | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"url": "https://api.aclink.top/user/qd", | ||
"headers": [ | ||
{ | ||
"name": ":method", | ||
"value": "GET" | ||
}, | ||
{ | ||
"name": ":path", | ||
"value": "/user/qd" | ||
}, | ||
{ | ||
"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" | ||
}, | ||
{ | ||
"name": "origin", | ||
"value": "https://www.aclink.top" | ||
}, | ||
{ | ||
"name": "priority", | ||
"value": "u=1, i" | ||
}, | ||
{ | ||
"name": "referer", | ||
"value": "https://www.aclink.top/" | ||
}, | ||
{ | ||
"name": "sec-ch-ua", | ||
"value": "\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Google Chrome\";v=\"126\"" | ||
}, | ||
{ | ||
"name": "sec-ch-ua-mobile", | ||
"value": "?0" | ||
}, | ||
{ | ||
"name": "sec-ch-ua-platform", | ||
"value": "\"Windows\"" | ||
}, | ||
{ | ||
"name": "sec-fetch-dest", | ||
"value": "empty" | ||
}, | ||
{ | ||
"name": "sec-fetch-mode", | ||
"value": "cors" | ||
}, | ||
{ | ||
"name": "sec-fetch-site", | ||
"value": "same-site" | ||
}, | ||
{ | ||
"name": "user-agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" | ||
} | ||
], | ||
"cookies": [] | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "msg", | ||
"re": "Msg\":\"(\\s+||\\S+)\"(,\"|})", | ||
"from": "content" | ||
}, | ||
{ | ||
"name": "time", | ||
"re": "QDTime\":\"(\\S+)", | ||
"from": "content" | ||
}, | ||
{ | ||
"name": "jf", | ||
"re": "\"Sou\":(\\S+)}", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"comment": "Unicode转换", | ||
"request": { | ||
"method": "POST", | ||
"url": "api://util/unicode", | ||
"headers": [], | ||
"cookies": [], | ||
"data": "html_unescape=false&content=【状态】:{{msg}} 【签到时间】:{{time}}【积分】:{{jf}}" | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
}, | ||
{ | ||
"re": "\"状态\": \"200\"", | ||
"from": "content" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "__log__", | ||
"re": "\"转换后\": \"(.*)\"", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters