modulData = [{"stockid":[5677,5676]}]
let signature = md5(`${JSON.stringify(modulData)}2************************5`);
let data = {
station: "2******6-8****2-4****2-8****0-0********3",
plugin: "getPDFAll",
company: "demo",
message: {
netPassportID: "test",
pluginData: modulData
},
signature: signature
}
console.log(data);
const config = {
method: "post",
url: "https://ws.wizground.com/api",
headers: {
"Content-Type": "application/json",
},
data: data,
};
console.log(Date.now());
axios(config)
.then(function (response) {
console.log(Date.now());
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(Date.now());
console.log(error.response.data);
});