Commit f140fd89 authored by 张伯涛's avatar 张伯涛

修改

parent 3cd88efe
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
) )
: this.backToken + '---' + JSON.stringify(this.checkPosArr) : this.backToken + '---' + JSON.stringify(this.checkPosArr)
const data = { const data = {
captchaType: this.captchaType, captchaType: this.paramsType,
pointJson: this.secretKey pointJson: this.secretKey
? aesEncrypt(JSON.stringify(this.checkPosArr), this.secretKey) ? aesEncrypt(JSON.stringify(this.checkPosArr), this.secretKey)
: JSON.stringify(this.checkPosArr), : JSON.stringify(this.checkPosArr),
......
...@@ -326,7 +326,7 @@ export default { ...@@ -326,7 +326,7 @@ export default {
moveLeftDistance = moveLeftDistance =
(moveLeftDistance * 310) / parseInt(this.setSize.imgWidth) (moveLeftDistance * 310) / parseInt(this.setSize.imgWidth)
const data = { const data = {
captchaType: this.captchaType, captchaType: this.paramsType,
pointJson: this.secretKey ? aesEncrypt(JSON.stringify({ x: moveLeftDistance, y: 5.0 }), this.secretKey) : JSON.stringify({ x: moveLeftDistance, y: 5.0 }), pointJson: this.secretKey ? aesEncrypt(JSON.stringify({ x: moveLeftDistance, y: 5.0 }), this.secretKey) : JSON.stringify({ x: moveLeftDistance, y: 5.0 }),
token: this.backToken token: this.backToken
} }
......
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