Commit 9da02f99 by 前端

修改

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