提交 33500e40 编写于 作者: H hdx

chrod: 调整广告加载失败后的重试策略

上级 8491575a
......@@ -64,12 +64,7 @@ class AdBase {
detail: detail
}
if (this._retry && code === -5008) {
this._loadAd()
return
}
if (this._retry && this._retryCount < RETRY_COUNT) {
if (code === -5008 && this._retry && this._retryCount < RETRY_COUNT) {
this._retryCount += 1
this._loadAd()
return
......
const UNI_PLUGINS = [{
name: 'uni-ad',
version: '1.2.1',
version: '1.3.0',
provider: 'wxf72d316417b6767f'
},
{
name: 'coral-adv',
version: '1.0.24',
version: '1.0.25',
provider: 'wx0e203209e27b1e66'
}
]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册