[更新]
This commit is contained in:
@@ -53,7 +53,7 @@ const unicom = (mobile, channel, code) => req({url: "unicom/get", method: "POST"
|
|||||||
const merchant_card = (coupon_id) => req({url: "coupons/merchant_card", method: "GET", data:{coupon_id : coupon_id}})
|
const merchant_card = (coupon_id) => req({url: "coupons/merchant_card", method: "GET", data:{coupon_id : coupon_id}})
|
||||||
|
|
||||||
// 获取商家券信息
|
// 获取商家券信息
|
||||||
const washcarBuy = (welfare_id, right_id, qty, address_id) => req({url: "washcar/create", data:{welfare_id : welfare_id, right_id : right_id, qty : qty, address_id : address_id || ''}})
|
const washcarBuy = (welfare_id, right_id, qty, address_id, is_deliver) => req({url: "washcar/create", data:{welfare_id : welfare_id, right_id : right_id, qty : qty, address_id : address_id || '', is_deliver : is_deliver}})
|
||||||
|
|
||||||
// 收银台提交
|
// 收银台提交
|
||||||
const washcarCreate = (welfare_id, right_id, qty, address_id, is_deliver) => req({url: "washcar/create", method: "POST", data:{welfare_id : welfare_id, right_id : right_id, qty : qty, address_id : address_id || '', is_deliver : is_deliver}})
|
const washcarCreate = (welfare_id, right_id, qty, address_id, is_deliver) => req({url: "washcar/create", method: "POST", data:{welfare_id : welfare_id, right_id : right_id, qty : qty, address_id : address_id || '', is_deliver : is_deliver}})
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ Page({
|
|||||||
* 卡券列表
|
* 卡券列表
|
||||||
*/
|
*/
|
||||||
couponInfo() {
|
couponInfo() {
|
||||||
wx.$api.user.washcarBuy(this.data.welfareId, this.data.rightId, this.data.num, this.data.address.id).then(res=>{
|
wx.$api.user.washcarBuy(this.data.welfareId, this.data.rightId, this.data.num, this.data.address.id, this.data.isdeliver).then(res=>{
|
||||||
let obj = res.data.detail.express
|
let obj = res.data.detail.express
|
||||||
let defGet = res.data.detail.def_get
|
let defGet = res.data.detail.def_get
|
||||||
let arr = new Array
|
let arr = new Array
|
||||||
|
|||||||
Reference in New Issue
Block a user