This commit is contained in:
Faker 2025-01-19 01:32:26 +08:00
parent db220a49e0
commit f30b31e860
4 changed files with 1515 additions and 1516 deletions

File diff suppressed because one or more lines are too long

View File

@ -730,18 +730,20 @@ async function try_feedsList(tabId, page) {
} }
} }
async function h5stSign(body, appId, version = '5.0.3') { async function h5stSign(body, appId, version) {
const options = { const options = {
method: 'POST', method: 'POST',
url: `${args_xh.h5st_server}/h5st`, url: `${args_xh.h5st_server}/h5st`,
headers: { 'content-type': 'application/json' }, headers: { 'content-type': 'application/json' },
data: { data: {
version: version,
pin: $.UserName, pin: $.UserName,
ua: $.userAgent, ua: $.userAgent,
body, body,
appId, appId,
}, },
if (version) {
data.version = version;
}
}; };
const { data } = await axios.request(options); const { data } = await axios.request(options);
return data.body; return data.body;

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff