提交 9fed8ee2 authored 作者: 王鹏飞's avatar 王鹏飞

bug fxies

上级 a6fe49f6
......@@ -28,10 +28,10 @@ export default {
pay() {
const options = {
appId: this.appId,
timeStamp: new Date().getTime().toString(),
nonceStr: Math.random().toString(36).slice(-8),
package: `prepay_id=${this.prepayId}`,
signType: 'MD5'
signType: 'MD5',
timeStamp: new Date().getTime().toString()
}
const key = 'aV9wPQxDiz1zmXBGlT5xQw0jz8G1Jecv'
const str = qs.stringify(Object.assign({}, options, { key }))
......@@ -43,7 +43,7 @@ export default {
window.location.href = this.redirectURI
} else {
window.alert(res.err_msg)
window.location.href = this.redirectURI
// window.location.href = this.redirectURI
}
})
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论