Directly on the bar code
Two data as requested by post
The first request data --------------------------
function getUserAccount() {
return axios ({
methods:"post",
url: 'https://api.it120.cc/small4/user/m/login?deviceId=007&deviceName=monkey',
params:{
mobile:13500000000,
pwd:12345
}
});
}
The second data request --------------------------
function getUserPermissions() {
return axios ({
methods:"post",
url: 'https://api.it120.cc/small4/user/m/login?deviceId=007&deviceName=monkey',
params:{
mobile:13500000000,
pwd:12345
}
});
}
Which will be printed by the console console.log console through which data need to print ---------------------------
axios.all([getUserAccount(), getUserPermissions()])
.then(axios.spread(function (acct, perms) {
// request now perform two complete
console.log(perms)
}));
console.dir (axios) Axios console Printing methods are all found in the constructor.
Thank you for informational purposes only.