Commit 829b355b72ae12812943c33924103ba9cf24acd7

Authored by yvan.ni
1 parent 5267a896

后台如果有控制广告不显示,则不能显示广告

Showing 1 changed file with 1 additions and 1 deletions
pages/index/index/index.js
... ... @@ -165,7 +165,7 @@ Page({
165 165 //----广告----
166 166 var e = this;
167 167 await getApp().request.promiseGet("/api/weshop/ad/list?pid=2&store_id=" + o.stoid, {
168   - 1:1
  168 + data:{enabled:1}
169 169 }).then(res=>{
170 170 var a = res.data.data;
171 171 var arr = new Array();
... ...