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

bug fixes

上级 243e05c4
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
pay() { pay() {
const options = { const options = {
appId: this.appId, appId: this.appId,
timeStamp: new Date().getTime(), timeStamp: new Date().getTime().toString(),
nonceStr: Math.random().toString(36).slice(-8), nonceStr: Math.random().toString(36).slice(-8),
package: `prepay_id=${this.prepayId}`, package: `prepay_id=${this.prepayId}`,
signType: 'MD5' signType: 'MD5'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论