提交 e04485f5 编写于 作者: tao.wu's avatar tao.wu

修改领取状态的问题

上级 335db24f
......@@ -100,7 +100,6 @@
}
},
mounted(){
alert(JSON.stringify(this.parsed))
document.querySelector('body').setAttribute('style', 'background: #FE9A51;');
// document.querySelector('body').setAttribute('style', 'overflow-x: hidden;');
this.checkCache();
......@@ -196,6 +195,7 @@
taskId,
activityId
}).then(res=>{
alert('领取状态getCourseById接口'+JSON.stringify(res))
this.isReq = false;
// res.data true 登记成功 、 false 登记失败
if(res.code === '000000'){
......
......@@ -56,8 +56,11 @@ export const checkToken = async (token) => {
// 获取邀请人的头像和名字信息
export const getInviteInfo = async (id) => {
return request({
url: `campaign/inviteOne/info?id=${id}`,
method: 'get'
url: `campaign/inviteOne/info`,
method: 'get',
params: {
id
}
})
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册