mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 21:53:42 +00:00
74 lines
2.1 KiB
JSON
74 lines
2.1 KiB
JSON
[
|
|
{
|
|
"comment": "返回当前时间戳和时间",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "api://util/timestamp",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": ""
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "time",
|
|
"re": "\"16位时间戳\": (\\d{13})",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://app.jf.360.cn/signin/signin/start?cb=jsonpCB_{{time|urlencode}}&os_type=pc&tag=H5&app_id=1025&source_id=1024&is_encrypt=0&pctag=pc&biz_data=%7B%7D&_={{time|urlencode}}",
|
|
"headers": [
|
|
{
|
|
"name": "Referer",
|
|
"value": "https://jf.360.cn/"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
|
|
},
|
|
{
|
|
"name": "Cookie",
|
|
"value": "{{cookie}}"
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "今日已签到",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [
|
|
{
|
|
"re": "用户未登录",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"extract_variables": [
|
|
{
|
|
"name": "__log__",
|
|
"re": "\"msg\":\"(.+?)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |