提交 a5ce602d 编写于 作者: huangwensu's avatar huangwensu

点赞接口调试

上级 f60a853b
...@@ -165,12 +165,15 @@ export default { ...@@ -165,12 +165,15 @@ export default {
activityId: this.activityId activityId: this.activityId
} }
pointResult(param).then(res => { pointResult(param).then(res => {
if(res.code == '900001') { if(res.code == '000000') {
this.$toast('不能给自己点赞哦'); if(res.data == '900001') {
this.$toast('不能给自己点赞哦');
}else {
this.$router.push({path: "/login-point/point-result",query: {code: res.data}});
}
}else { }else {
this.$router.push({path: "/login-point/point-result",query: {code: res.code}}); this.$toast(res.message);
} }
}) })
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册