This commit is contained in:
tcubic 2022-08-02 17:15:14 +08:00
parent 6cc6503270
commit 4c253247e8

View File

@ -185,9 +185,6 @@ const btn = () => {
const drawBtn = () => { const drawBtn = () => {
console.log("抽奖:"); console.log("抽奖:");
getluckyBag(1) getluckyBag(1)
}; };
// //
@ -254,7 +251,7 @@ const getMyPrizeRecored = ()=>{
service service
.post(process.env.VUE_APP_API + "/cms-activity/cms88/prize/list",{}) .post(process.env.VUE_APP_API + "/cms-activity/cms88/prize/list",{})
.then((res) => { .then((res) => {
console.log(res); console.log("红包记录:",res);
}); });
} }
@ -264,18 +261,17 @@ const getIsAddService = ()=>{
service service
.post(process.env.VUE_APP_API + "/cms-activity/cms88/qywx/isadded/"+ isInActivityDate) .post(process.env.VUE_APP_API + "/cms-activity/cms88/qywx/isadded/"+ isInActivityDate)
.then((res) => { .then((res) => {
console.log(res); console.log("是否添加了企微",res);
}); });
} }
// type 1 2 // type 1 2
const getluckyBag = (id)=>{ const getluckyBag = (id)=>{
let type = id let type = id
service service
.post(process.env.VUE_APP_API + "/cms-activity/cms88/redpacket/draw/"+ type,{}) .post(process.env.VUE_APP_API + "/cms-activity/cms88/redpacket/draw/"+ type,{})
.then((res) => { .then((res) => {
console.log(res); console.log("抽取红包结果:",res);
}); });
} }