丰都外部应用打开日志
This commit is contained in:
@@ -126,6 +126,7 @@ export default {
|
|||||||
this.grids = res.data.records;
|
this.grids = res.data.records;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
getSwiperList() {
|
getSwiperList() {
|
||||||
this.$instance.post('/app/appbanner/listForWx', null, {
|
this.$instance.post('/app/appbanner/listForWx', null, {
|
||||||
@@ -138,6 +139,9 @@ export default {
|
|||||||
},
|
},
|
||||||
handleClick({type, appId, modulePath, url, checkType, corpId}) {
|
handleClick({type, appId, modulePath, url, checkType, corpId}) {
|
||||||
//先判读是不是系统应用
|
//先判读是不是系统应用
|
||||||
|
if(appId) { //统计外部应用打开次数
|
||||||
|
this.$instance.post(`/app/appminiappclicklog/add`, {appId}).then(res => {})
|
||||||
|
}
|
||||||
if (type != "0") {
|
if (type != "0") {
|
||||||
if (type == "1") {
|
if (type == "1") {
|
||||||
uni.navigateToMiniProgram({appId});
|
uni.navigateToMiniProgram({appId});
|
||||||
|
|||||||
Reference in New Issue
Block a user