请求广告播完掉接口
This commit is contained in:
@@ -160,12 +160,12 @@
|
||||
},
|
||||
async onadclose(e) {
|
||||
const detail = e.detail
|
||||
// 用户点击了【关闭广告】按钮
|
||||
console.log(e.detail)
|
||||
if (detail && detail.isEnded) {
|
||||
// 正常播放结束
|
||||
// /sqx_fast/app/ad/state
|
||||
let res = this.$Request.getT('app/ad/state')
|
||||
let res = this.$Request.getT('app/ad/state', {
|
||||
extraKey: 1
|
||||
})
|
||||
console.log(res)
|
||||
} else {
|
||||
// 播放中途退出
|
||||
@@ -175,7 +175,6 @@
|
||||
},
|
||||
onaderror(e) {
|
||||
// 广告加载失败
|
||||
console.log(e.detail);
|
||||
this.isLoading = false;
|
||||
},
|
||||
getsignIn() {
|
||||
|
||||
Reference in New Issue
Block a user