[{"comment":"登陆","request":{"method":"POST","url":"https://auth.sonkwo.com/api/access_token.json?locale=js","headers":[{"name":"Host","value":"auth.sonkwo.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"name":"Accept","value":"application/vnd.sonkwo.v1+json"},{"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"},{"name":"Content-Type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"Origin","value":"https://www.sonkwo.com"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Referer","value":"https://www.sonkwo.com/sign_in?return_addr=%2F"}],"cookies":[],"data":"sonkwo_version=1&sonkwo_client=web&account%5Bremember_me%5D=true&account%5Bemail_or_phone_number_eq%5D={{ username |urlencode}}&account%5Bpassword%5D={{ password |urlencode}}","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"access_token\":\"(.+?)\"","from":"content","name":"auth"}]}},{"comment":"签到","request":{"method":"POST","url":"https://auth.sonkwo.com/api/me/clock_in.json?locale=js","headers":[{"name":"Host","value":"auth.sonkwo.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"name":"Accept","value":"application/vnd.sonkwo.v1+json"},{"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"},{"name":"Content-Type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"Authorization","value":"Bearer {{auth|urlencode}}"},{"name":"Content-Length","value":"34"},{"name":"Origin","value":"https://www.sonkwo.com"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Referer","value":"https://www.sonkwo.com/"},{"name":"Pragma","value":"no-cache"},{"name":"Cache-Control","value":"no-cache"}],"cookies":[],"data":"sonkwo_version=1&sonkwo_client=web","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"greater_than","from":"content"},{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"获取13位时间戳","request":{"method":"GET","url":"http://localhost/util/timestamp","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"时间戳\": (.+?),","from":"content","name":"time"}]}},{"request":{"method":"GET","url":"https://auth.sonkwo.com/api/me.json?locale=js&sonkwo_version=1&sonkwo_client=web&q%5Bintroduction%5D=true&q%5Bbirthday%5D=true&q%5Bshow_steam_review%5D=true&q%5Blast_sign_in_at_timestamp%5D=true&q%5Blast_sign_in_ip%5D=true&q%5Bset_password%5D=true&q%5Bgender%5D=true&q%5Bemail_asterisks%5D=true&q%5Bphone_number_asterisks%5D=true&q%5Bcredential_num_asterisks%5D=true&q%5Bunmute_at_timestamp%5D=true&q%5Bpoint%5D%5Bxp%5D=true&q%5Bpoint%5D%5Bscore%5D=true&q%5Bpoint%5D%5Btasks%5D=true&q%5Bplatforms%5D%5Bshow_id%5D=true&q%5Bplatforms%5D%5Bkind%5D=true&q%5Bwallet%5D%5Bbalance%5D=true&q%5Bwallet%5D%5Bstatus%5D=true&q%5Bregion%5D=true&_={{time|urlencode}}","headers":[{"name":"Host","value":"auth.sonkwo.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"name":"Accept","value":"application/vnd.sonkwo.v1+json"},{"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"},{"name":"Authorization","value":"Bearer {{auth}}"},{"name":"Origin","value":"https://www.sonkwo.com"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Referer","value":"https://www.sonkwo.com/setting"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"score\":(.+?),","from":"content","name":"log_score"}]}},{"comment":"生成日志","request":{"method":"GET","url":"http://localhost/util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E7%A7%AF%E5%88%86%3A%20{{log_score|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":".+","from":"content","name":"__log__"}]}}]