mirror of
https://github.com/shufflewzc/faker3.git
synced 2025-03-15 15:05:19 +08:00
1
This commit is contained in:
parent
db220a49e0
commit
f30b31e860
File diff suppressed because one or more lines are too long
@ -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
1137
utils/baseUtils.js
1137
utils/baseUtils.js
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user