From 4c253247e87c4379b3124e74af8cfab76aeb0dfc Mon Sep 17 00:00:00 2001 From: tcubic <123456> Date: Tue, 2 Aug 2022 17:15:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Index.vue | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/Index.vue b/src/components/Index.vue index b44bde2..8b4be14 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -185,9 +185,6 @@ const btn = () => { const drawBtn = () => { console.log("抽奖:"); getluckyBag(1) - - - }; // 活动点击 @@ -254,7 +251,7 @@ const getMyPrizeRecored = ()=>{ service .post(process.env.VUE_APP_API + "/cms-activity/cms88/prize/list",{}) .then((res) => { - console.log(res); + console.log("红包记录:",res); }); } @@ -264,18 +261,17 @@ const getIsAddService = ()=>{ service .post(process.env.VUE_APP_API + "/cms-activity/cms88/qywx/isadded/"+ isInActivityDate) .then((res) => { - console.log(res); + console.log("是否添加了企微",res); }); } // 抽取红包 type为红包类型 1为参与红包 2为加企微 const getluckyBag = (id)=>{ - let type = id service .post(process.env.VUE_APP_API + "/cms-activity/cms88/redpacket/draw/"+ type,{}) .then((res) => { - console.log(res); + console.log("抽取红包结果:",res); }); }