添加了进入提醒 #364

Merged
theluyuan merged 1 commits from xbx into master 2020-09-11 09:01:03 +00:00
2 changed files with 11 additions and 0 deletions
Showing only changes of commit d5f9055445 - Show all commits

View File

@ -29,6 +29,12 @@
},
onShow(){
// 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() {

View File

@ -370,6 +370,11 @@ export default {
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})
}
}
}