Commit 53597fd6 authored by FE-安焕焕's avatar FE-安焕焕 👣

优惠券接口增加设备id

parent ffd60de4
...@@ -40,8 +40,13 @@ const h5AppyUrl = function() { ...@@ -40,8 +40,13 @@ const h5AppyUrl = function() {
return request.get(`${talosHost}/vcc/xyqb_mall/app_url`); return request.get(`${talosHost}/vcc/xyqb_mall/app_url`);
}; };
const getCoupon = function(params) { const getCoupon = async function(params) {
return request.post(`${talosHost}/open/checkout/pay_coupon_list`, params); const scDeviceId = await saDeviceId();
return request.post(`${talosHost}/open/checkout/pay_coupon_list`, params, {
customHeader: {
scDeviceId
}
});
}; };
const ocrFaceId = function(params) { const ocrFaceId = function(params) {
......
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