diff --git a/App.vue b/App.vue index 22be895..82a2902 100644 --- a/App.vue +++ b/App.vue @@ -7,10 +7,12 @@ // url: 'https://pay.dctpay.com/crest', // imgUrl: 'https://gratia-pay.obs.cn-southwest-2.myhuaweicloud.com', // redirectUrl:'https://pay.dctpay.com/cweb', + // hsgUrl:'https://hsg.dctpay.com', //测试 url: 'https://gratia-pay.dctpay.com/crest', imgUrl: 'https://gratia-pay-test.obs.cn-east-3.myhuaweicloud.com', redirectUrl:'https://gratia-pay.dctpay.com/cweb', + hsgUrl:'https://hsgcs.dctpay.com', userInfo: "", openId: '', h5code: '', diff --git a/Utils/groupBuying.js b/Utils/groupBuying.js index 8bf9cea..430efa2 100644 --- a/Utils/groupBuying.js +++ b/Utils/groupBuying.js @@ -3,7 +3,8 @@ import { } from './Request.js'; let app = getApp(); let base = app.globalData.url; - +let hsgCrest = app.globalData.hsgUrl+'/crest'; +let hsgOrder = app.globalData.hsgUrl+'/order'; //新增门店图片 export const insertStoreImg = params => { @@ -105,4 +106,14 @@ export const editStoreExtMsg = params => { //查询门店扩展信息 export const findStoreExtMsgByStoreId = params => { return POST('POST', `${base}/storeGroup/findStoreExtMsgByStoreId`, params).then(res => res.data); +} + +//查询获取团购内容code +export const getGroupContentByCode = params => { + return POST('GET', `${hsgCrest}/group/getGroupContentByCode`, params).then(res => res.data); +} + +//核销团购码 +export const gorOrderNotify = params => { + return POST('GET', `${hsgOrder}/groupOrder/gorOrderNotify`, params).then(res => res.data); } \ No newline at end of file diff --git a/subpackages/groupBuyingConfiguration/groupVerify/groupVerify.vue b/subpackages/groupBuyingConfiguration/groupVerify/groupVerify.vue index 3201a0d..9cb453a 100644 --- a/subpackages/groupBuyingConfiguration/groupVerify/groupVerify.vue +++ b/subpackages/groupBuyingConfiguration/groupVerify/groupVerify.vue @@ -1,22 +1,264 @@ - \ No newline at end of file