提交 f3918ab7 编写于 作者: guofeng.chen's avatar guofeng.chen

修改参数

上级 e44b7f52
...@@ -322,11 +322,12 @@ export default { ...@@ -322,11 +322,12 @@ export default {
userId: this.$store.state.user.info.id userId: this.$store.state.user.info.id
} }
this.POST('trade/center/jsapi_prepay', data).then(res => { this.POST('trade/center/jsapi_prepay', data).then(res => {
if (res.code == "000000") { if (res.code == "000000" && res.data) {
console.log('______prepay_____', res.data); // console.log('______prepay_____', res.data);
const that = this; const that = this;
const payData = { const payData = {
...res.data, ...res.data,
appid: res.data.appId,
success: function() { success: function() {
let query = { orderId }; let query = { orderId };
if (that.projectId) { if (that.projectId) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册