diff --git a/pages/index/index.vue b/pages/index/index.vue index 782a19b..f69c0d8 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -132,21 +132,13 @@ this.getFavourite() }, onLoad(options) { - // console.log('=======11111=======',options) - // if (options.scene) { - // // 单个参数 - // let str = decodeURIComponent(options.scene); - // let obj = this.parseData(str); - // console.log('==============',str) - // return - // if (obj.type == 'de_qr') { - // this.click_type = 'department_qr'; - // this.qr_id = obj.first_id; - // }else if(obj.type == 'sp_qr'){ - // this.click_type = 'special_qr'; - // this.qr_id = obj.special_id; - // } - // } + if (options.scene) { + // 单个参数 + let str = decodeURIComponent(options.scene); + this.$http(this.API.API_CONFIRM_CODE, {verify_code: str}).then(res => { + this.$msg('核销成功!'); + }); + } }, methods: { //获取猜你喜欢 diff --git a/pages/message/detail.vue b/pages/message/detail.vue index 90f7056..b83e2ee 100644 --- a/pages/message/detail.vue +++ b/pages/message/detail.vue @@ -1,5 +1,5 @@