Commit 3232eae9 authored by gaodapeng's avatar gaodapeng

更改兑换接口

parent 3c12889d
......@@ -3,7 +3,7 @@ export const API_LOGIN = "store/cashier/login";
//查询商品
export const API_SCAN = "market/barcodeQuery";
//核销券
export const API_USE_COUPON = "coupon/use";
export const API_USE_COUPON = "coupon/mch/coupon/use";
//创建订单
export const API_CREATE_ORDER = "order/create";
//支付接口
......
......@@ -479,6 +479,7 @@ Page({
this.sendConvertCouponToBack(commonRequest)
var couponRequest = api.createCommonRequest();
couponRequest.couponCode = code;
couponRequest.storeId = getApp().globalData.localAccountInfo.storeId;
console.log("兑换码的请求 ==>" + JSON.stringify(couponRequest));
let context = this;
my.request({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment