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

修改领取状态的问题

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