Commit 38501ea3 by gxfeng

Update system.js

parent bf897934
...@@ -458,20 +458,20 @@ module.exports = System; ...@@ -458,20 +458,20 @@ module.exports = System;
// } // }
// })() // })()
(async () => { // (async () => {
var obj = { // var obj = {
"postWay": '2', // "postWay": '2',
"courier_number": '1805679087555', // "courier_number": '1805679087555',
"companyId": 102, // "companyId": 102,
"customerId": 499482, // "customerId": 499482,
"sign": '57acb7037f64d558edf2e844340791e2', // "sign": '57acb7037f64d558edf2e844340791e2',
"currentPeriod": 202001 // "currentPeriod": 202001
} // }
var secret = "2a24a72dc78679bb0796dd3af50a429a"; // var secret = "2a24a72dc78679bb0796dd3af50a429a";
try { // try {
var flag = await System.signValid(obj, secret) // var flag = await System.signValid(obj, secret)
console.log(flag); // console.log(flag);
} catch (e) { // } catch (e) {
console.log(e); // console.log(e);
} // }
})() // })()
\ No newline at end of file \ 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