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 = () => {
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);
});
}