添加了进入提醒

This commit is contained in:
luyuan 2020-09-11 17:00:13 +08:00
parent 9efa4d198f
commit d5f9055445
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
2 changed files with 11 additions and 0 deletions

View File

@ -29,6 +29,12 @@
}, },
onShow(){ onShow(){
// this.getVersion(); // this.getVersion();
// console.log(this.$u.os())
let device_type = this.$u.os()
console.log({appversion:this.$app_version,device_type})
this.$u.api.recordAppOpenTimes({appversion:this.$app_version,device_type}).then((res)=>{
console.log(JSON.stringify(res))
});
}, },
onLoad() { onLoad() {

View File

@ -370,6 +370,11 @@ export default {
advClick({ adv_id }) { advClick({ adv_id }) {
return vm.$u.post('adv/advClick',{ adv_id }) return vm.$u.post('adv/advClick',{ adv_id })
}, },
//统计登录
recordAppOpenTimes({appversion,device_type}){
// appversion=1.0.0&device_type=android/ios
return vm.$u.post("Member/recordAppOpenTimes",{appversion,device_type})
}
} }
} }