mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 21:53:42 +00:00
308 lines
9.4 KiB
JSON
308 lines
9.4 KiB
JSON
[
|
||
{
|
||
"comment": "登录",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "https://www.youjiaoku.com/wp-json/jwt-auth/v1/token",
|
||
"headers": [
|
||
{
|
||
"name": "accept",
|
||
"value": "application/json, text/plain, */*"
|
||
},
|
||
{
|
||
"name": "accept-encoding",
|
||
"value": "gzip, deflate, br"
|
||
},
|
||
{
|
||
"name": "accept-language",
|
||
"value": "zh-CN,zh;q=0.9"
|
||
},
|
||
{
|
||
"name": "cache-control",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "dnt",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.youjiaoku.com"
|
||
},
|
||
{
|
||
"name": "pragma",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.youjiaoku.com/"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "nickname=&username={{username}}&password={{password}}&code=&img_code=&invitation_code=&token=&smsToken=&luoToken=&confirmPassword=&loginType="
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [
|
||
{
|
||
"re": "\"code\"",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"extract_variables": [
|
||
{
|
||
"name": "token",
|
||
"re": "\"token\":\"(.+?)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "更新Mission",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "https://www.youjiaoku.com/wp-json/b2/v1/getUserMission",
|
||
"headers": [
|
||
{
|
||
"name": "accept",
|
||
"value": "application/json, text/plain, */*"
|
||
},
|
||
{
|
||
"name": "accept-encoding",
|
||
"value": "gzip, deflate, br"
|
||
},
|
||
{
|
||
"name": "accept-language",
|
||
"value": "zh-CN,zh;q=0.9"
|
||
},
|
||
{
|
||
"name": "authorization",
|
||
"value": "Bearer {{token}}"
|
||
},
|
||
{
|
||
"name": "cache-control",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "content-type",
|
||
"value": "application/x-www-form-urlencoded"
|
||
},
|
||
{
|
||
"name": "dnt",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.youjiaoku.com"
|
||
},
|
||
{
|
||
"name": "pragma",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.youjiaoku.com/"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "count=4&paged=1",
|
||
"mimeType": "application/x-www-form-urlencoded"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": []
|
||
}
|
||
},
|
||
{
|
||
"comment": "签到",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "https://www.youjiaoku.com/wp-json/b2/v1/userMission",
|
||
"headers": [
|
||
{
|
||
"name": "accept",
|
||
"value": "application/json, text/plain, */*"
|
||
},
|
||
{
|
||
"name": "accept-encoding",
|
||
"value": "gzip, deflate, br"
|
||
},
|
||
{
|
||
"name": "accept-language",
|
||
"value": "zh-CN,zh;q=0.9"
|
||
},
|
||
{
|
||
"name": "authorization",
|
||
"value": "Bearer {{token}}"
|
||
},
|
||
{
|
||
"name": "cache-control",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "dnt",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.youjiaoku.com"
|
||
},
|
||
{
|
||
"name": "pragma",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.youjiaoku.com/"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
|
||
}
|
||
],
|
||
"cookies": []
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "credit",
|
||
"re": "\"(\\d+)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "用户信息",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "https://www.youjiaoku.com/wp-json/b2/v1/getUserInfo",
|
||
"headers": [
|
||
{
|
||
"name": "accept",
|
||
"value": "application/json, text/plain, */*"
|
||
},
|
||
{
|
||
"name": "accept-encoding",
|
||
"value": "gzip, deflate, br"
|
||
},
|
||
{
|
||
"name": "accept-language",
|
||
"value": "zh-CN,zh;q=0.9"
|
||
},
|
||
{
|
||
"name": "authorization",
|
||
"value": "Bearer {{token}}"
|
||
},
|
||
{
|
||
"name": "cache-control",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "dnt",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "origin",
|
||
"value": "https://www.youjiaoku.com"
|
||
},
|
||
{
|
||
"name": "pragma",
|
||
"value": "no-cache"
|
||
},
|
||
{
|
||
"name": "referer",
|
||
"value": "https://www.youjiaoku.com/"
|
||
},
|
||
{
|
||
"name": "user-agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
|
||
}
|
||
],
|
||
"cookies": []
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "zjf",
|
||
"re": "\"credit\":\"(\\d+)\",",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "nickName",
|
||
"re": "\"name\":\"(.+?)\"",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "lvname",
|
||
"re": "},\"lv\":{\"name\":\"(.+?)\",",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "Unicode转换",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "api://util/unicode",
|
||
"headers": [],
|
||
"cookies": [],
|
||
"data": "content=签到结果:【今日签到获得{{credit}}积分】\\r\\n用户:【{{unicode(nickName)}}】,等级:【{{unicode(lvname)}}】,总积分【{{zjf}}】"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
},
|
||
{
|
||
"re": "\"状态\": \"200\"",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "__log__",
|
||
"re": "\"转换后\": \"(.*)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
] |