Revert "扫码核销"

This reverts commit 39deace8a1.
huipay-h5
游梦婷 1 year ago
parent 044208354a
commit 28760a4ca7
  1. 3
      App.vue
  2. 8
      Utils/groupBuying.js
  3. 2
      pages/index/merchant-details/merchant-details.vue
  4. 8
      pages/welcome/welcome.vue
  5. 21
      subpackages/groupBuyingConfiguration/groupVerify/groupVerify.vue

@ -7,13 +7,10 @@
// url: 'https://pay.dctpay.com/crest', // url: 'https://pay.dctpay.com/crest',
// imgUrl: 'https://gratia-pay.obs.cn-southwest-2.myhuaweicloud.com', // imgUrl: 'https://gratia-pay.obs.cn-southwest-2.myhuaweicloud.com',
// redirectUrl:'https://pay.dctpay.com/cweb', // redirectUrl:'https://pay.dctpay.com/cweb',
// hsgUrl:'https://hsg.dctpay.com',
// //
url: 'https://gratia-pay.dctpay.com/crest', url: 'https://gratia-pay.dctpay.com/crest',
imgUrl: 'https://gratia-pay-test.obs.cn-east-3.myhuaweicloud.com', imgUrl: 'https://gratia-pay-test.obs.cn-east-3.myhuaweicloud.com',
redirectUrl:'https://gratia-pay.dctpay.com/cweb', redirectUrl:'https://gratia-pay.dctpay.com/cweb',
hsgUrl:'https://hsgcs.dctpay.com',
userInfo: "", userInfo: "",
openId: '', openId: '',
h5code: '', h5code: '',

@ -3,8 +3,7 @@ import {
} from './Request.js'; } from './Request.js';
let app = getApp(); let app = getApp();
let base = app.globalData.url; let base = app.globalData.url;
let hsgCrest = app.globalData.hsgUrl+'/crest';
let hsgOrder = app.globalData.hsgUrl+'/order';
//新增门店图片 //新增门店图片
export const insertStoreImg = params => { export const insertStoreImg = params => {
@ -107,8 +106,3 @@ export const editStoreExtMsg = params => {
export const findStoreExtMsgByStoreId = params => { export const findStoreExtMsgByStoreId = params => {
return POST('POST', `${base}/storeGroup/findStoreExtMsgByStoreId`, params).then(res => res.data); return POST('POST', `${base}/storeGroup/findStoreExtMsgByStoreId`, params).then(res => res.data);
} }
//查询获取团购内容code
export const getGroupContentByCode = params => {
return POST('GET', `${hsgOrder}/group/getGroupContentByCode`, params).then(res => res.data);
}

@ -93,7 +93,7 @@
<button class="btns mart10 margle10" @click.stop="jumpBindScan(item.id,1)">绑定二维码</button> <button class="btns mart10 margle10" @click.stop="jumpBindScan(item.id,1)">绑定二维码</button>
<button class="btns mart10 margle10" @click.stop="jumpBindScan(item.id,2)">二维码列表</button> <button class="btns mart10 margle10" @click.stop="jumpBindScan(item.id,2)">二维码列表</button>
<button class="btns mart10 margle10" @click.stop="jumpService(item.id)">绑定设备</button> <button class="btns mart10 margle10" @click.stop="jumpService(item.id)">绑定设备</button>
<button class="btns mart10 margle10" @click.stop="jumpGroupService(item.id)">团购配置</button> <!-- <button class="btns mart10 margle10" @click.stop="jumpGroupService(item.id)">团购配置</button> -->
<!-- <button class="btns mart10 marRight10" @click.stop="jumpService(item.id,2)">设备列表</button> --> <!-- <button class="btns mart10 marRight10" @click.stop="jumpService(item.id,2)">设备列表</button> -->
</view> </view>
<view class="lin10"></view> <view class="lin10"></view>

@ -16,14 +16,8 @@
} }
}, },
onLoad(options) { onLoad(options) {
uni.redirectTo({
url: '/subpackages/groupBuyingConfiguration/groupVerify/groupVerify?orderKey='+7725856862418052,
})
return
// uni.reLaunch({ // uni.reLaunch({
// url: '/pages/login/login' // url: '../tabBar/home/home'
// }) // })
// return // return

@ -1,33 +1,18 @@
<template> <template>
<view> <view>
========={{groupCode}}======== ========={{key}}========
</view> </view>
</template> </template>
<script> <script>
import {getGroupContentByCode} from '@/Utils/groupBuying.js';
export default { export default {
data(){ data(){
return{ return{
groupCode:'', key:'',
} }
}, },
onLoad(option){ onLoad(option){
if(option.orderKey){ this.key = option.orderKey;
this.groupCode = option.orderKey;
this.getGroupContentByCode();
}
},
methods:{
getGroupContentByCode(){
let params={
groupCode:this.groupCode
}
getGroupContentByCode(params).then(res=>{
})
},
} }
} }
</script> </script>

Loading…
Cancel
Save