Commit 38501ea3 by gxfeng

Update system.js

parent bf897934
......@@ -458,20 +458,20 @@ module.exports = System;
// }
// })()
(async () => {
var obj = {
"postWay": '2',
"courier_number": '1805679087555',
"companyId": 102,
"customerId": 499482,
"sign": '57acb7037f64d558edf2e844340791e2',
"currentPeriod": 202001
}
var secret = "2a24a72dc78679bb0796dd3af50a429a";
try {
var flag = await System.signValid(obj, secret)
console.log(flag);
} catch (e) {
console.log(e);
}
})()
\ No newline at end of file
// (async () => {
// var obj = {
// "postWay": '2',
// "courier_number": '1805679087555',
// "companyId": 102,
// "customerId": 499482,
// "sign": '57acb7037f64d558edf2e844340791e2',
// "currentPeriod": 202001
// }
// var secret = "2a24a72dc78679bb0796dd3af50a429a";
// try {
// var flag = await System.signValid(obj, secret)
// console.log(flag);
// } catch (e) {
// console.log(e);
// }
// })()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment