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

点赞接口联调

上级 18b66357
...@@ -165,13 +165,12 @@ export default { ...@@ -165,13 +165,12 @@ export default {
activityId: this.activityId activityId: this.activityId
} }
pointResult(param).then(res => { pointResult(param).then(res => {
if(res.code == '000000') { if(res.code == '900001') {
if(res.data.code == '900001') { this.$toast('不能给自己点赞哦');
this.$toast('不能给自己点赞哦'); }else {
}else { this.$router.push({path: "/login-point/point-result",query: {code: res.code}});
this.$router.push({path: "/login-point/point-result",query: {code: res.data.code}});
}
} }
}) })
} }
} }
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
this.pointText1 = "点赞成功"; this.pointText1 = "点赞成功";
this.pointText2 = "登陆云鹊医APP,您也可获得75勤奋分"; this.pointText2 = "登陆云鹊医APP,您也可获得75勤奋分";
this.btnText = "打开APP参与瓜分云鹊豆"; this.btnText = "打开APP参与瓜分云鹊豆";
}else if(this.code == '900003') { }else if(this.code == '900008') {
this.status = 1; this.status = 1;
this.pointText1 = "点赞成功"; this.pointText1 = "点赞成功";
this.pointText2 = "登陆云鹊医APP,参加活动瓜分云鹊豆"; this.pointText2 = "登陆云鹊医APP,参加活动瓜分云鹊豆";
......
...@@ -4,7 +4,7 @@ import rocNative from '@/utils/jsbridge'; ...@@ -4,7 +4,7 @@ import rocNative from '@/utils/jsbridge';
import WebBuriedPoint, { sendBuriedData } from 'web-buried-point'; import WebBuriedPoint, { sendBuriedData } from 'web-buried-point';
import { callApp } from 'pica-call-app'; // H5唤起APP组件 import { callApp } from 'pica-call-app'; // H5唤起APP组件
import VConsole from 'vconsole/dist/vconsole.min.js'; import VConsole from 'vconsole/dist/vconsole.min.js';
import jsencrypt from 'jsencrypt'; import { jsencrypt } from 'jsencrypt';
import { import {
CountDown, CountDown,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册