|
|
@@ -289,7 +289,18 @@ async function tryAutoVerifyCode(base64Data) {
|
|
|
async function doVerifyCodeBy345Api(base64Data) {
|
|
|
return new Promise((resolve, _reject) => {
|
|
|
try {
|
|
|
- const headers = CommonHeaders;
|
|
|
+ const headers = {
|
|
|
+ 'Accept': `application/json, text/plain, */*`,
|
|
|
+ 'Origin': `https://www.345api.cn`,
|
|
|
+ 'Accept-Encoding': `gzip, deflate, br`,
|
|
|
+ 'Content-Type': `application/json;charset=UTF-8`,
|
|
|
+ 'Connection': `keep-alive`,
|
|
|
+ 'Host': `www.345api.cn`,
|
|
|
+ 'User-Agent': CommonUserAgent,
|
|
|
+ 'Referer': `https://www.345api.cn/`,
|
|
|
+ 'Accept-Language': `zh-CN,zh-Hans;q=0.9`,
|
|
|
+ 'token': gandartToken
|
|
|
+ };
|
|
|
let reqData = {
|
|
|
key: W_345API_KEY,
|
|
|
data: base64Data,
|