mirror of
https://github.com/shufflewzc/faker3.git
synced 2025-03-13 14:14:41 +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 = {
|
||||
method: 'POST',
|
||||
url: `${args_xh.h5st_server}/h5st`,
|
||||
headers: { 'content-type': 'application/json' },
|
||||
data: {
|
||||
version: version,
|
||||
pin: $.UserName,
|
||||
ua: $.userAgent,
|
||||
body,
|
||||
appId,
|
||||
},
|
||||
if (version) {
|
||||
data.version = version;
|
||||
}
|
||||
};
|
||||
const { data } = await axios.request(options);
|
||||
return data.body;
|
||||
|
File diff suppressed because one or more lines are too long
3021
utils/baseUtils.js
3021
utils/baseUtils.js
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user