Commit 9da02f99 by 前端

修改

1 parent 72c2b06f
...@@ -160,8 +160,7 @@ Page({ ...@@ -160,8 +160,7 @@ Page({
// 提交表单 // 提交表单
submitApply() { submitApply() {
// wx.$util.showLoading('提交中...') wx.$util.showLoading('提交中...')
const cardId = wx.$util.getStorageSync("scene").cardId
let params = this.data.applyForm let params = this.data.applyForm
// 校验表单 // 校验表单
if (!this.WxValidate.checkForm(params)) { if (!this.WxValidate.checkForm(params)) {
...@@ -193,7 +192,8 @@ Page({ ...@@ -193,7 +192,8 @@ Page({
params.businessScenario = businessItem.title params.businessScenario = businessItem.title
params.productItems = productItems.join(',') params.productItems = productItems.join(',')
} }
params.cardId = cardId params.cardId = wx.$util.getStorageSync("scene").cardId
params.merchant = wx.$util.getStorageSync("scene").merchantId
params.openId = wx.$util.getStorageSync('aicard_info').openId params.openId = wx.$util.getStorageSync('aicard_info').openId
params.unionId = wx.$util.getStorageSync('aicard_info').unionId params.unionId = wx.$util.getStorageSync('aicard_info').unionId
entmicroApi.activityApply(params).then(({ entmicroApi.activityApply(params).then(({
...@@ -201,7 +201,7 @@ Page({ ...@@ -201,7 +201,7 @@ Page({
code, code,
message message
}) => { }) => {
if (code == -1) { if (code == 0) {
wx.hideLoading() wx.hideLoading()
wx.showToast({ wx.showToast({
msg: '提交成功' msg: '提交成功'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!