change sth
This commit is contained in:
parent
4b1ad8511d
commit
c8926d99be
@ -28,8 +28,8 @@ class WorkFlowController extends BaseController {
|
||||
@role('anon')
|
||||
@router('post /workflow/notify')
|
||||
async flowNotify(req, res) {
|
||||
let { msg_signature, timestamp, nonce, Encrypt } = req.params
|
||||
console.log(Encrypt)
|
||||
let { msg_signature, timestamp, nonce, xml, Encrypt } = req.params
|
||||
console.log(xml)
|
||||
const signature = getSignature(TOKEN, timestamp, nonce, Encrypt)
|
||||
if (msg_signature !== signature) {
|
||||
throw new ZError(10, 'sign check failed')
|
||||
|
Loading…
x
Reference in New Issue
Block a user