Commit 9a5c3833 authored by 俞嘉婷's avatar 俞嘉婷

del: 去掉visit.do

parent a7217452
export default [
{
url: '/common/visit.do',
method: 'get',
response: ({ query }) => {
return {
success: true,
code: "",
message: "",
data: {
code: '111'
},
}
}
},
{
url: '/game/queryBoundYk.do',
method: 'get',
......
......@@ -133,8 +133,6 @@ const API = generateAPI({
getLongLinkQrcode: `/customActivity/qrcode/getQrcode`,
/**数据推送 */
visit:`common/visit.do`,
/** 绑定友客业务员信息接口 */
bindYk: {
uri: "game/bindYk.do",
......
......@@ -105,7 +105,6 @@ class Store {
newGuideFlag?: number,
} = {};
firstIn = true;
async updateIndex() {
const { success, data } = await API.index();
if (!success) {
......@@ -129,10 +128,6 @@ class Store {
}
}
if (this.firstIn && data.validUid) {
API.visit()
this.firstIn = false
}
if (data.rulePop) {
ModalCtrl.showModal(RulePop)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment