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