更新
This commit is contained in:
parent
6cc6503270
commit
4c253247e8
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user