Merge pull request '添加了进入提醒' (#364) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/364
This commit is contained in:
commit
f076c03c99
6
App.vue
6
App.vue
@ -35,6 +35,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() {
|
||||
|
||||
|
@ -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})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user