Commit 829b355b72ae12812943c33924103ba9cf24acd7
1 parent
5267a896
后台如果有控制广告不显示,则不能显示广告
Showing
1 changed file
with
1 additions
and
1 deletions
pages/index/index/index.js
@@ -165,7 +165,7 @@ Page({ | @@ -165,7 +165,7 @@ Page({ | ||
165 | //----广告---- | 165 | //----广告---- |
166 | var e = this; | 166 | var e = this; |
167 | await getApp().request.promiseGet("/api/weshop/ad/list?pid=2&store_id=" + o.stoid, { | 167 | await getApp().request.promiseGet("/api/weshop/ad/list?pid=2&store_id=" + o.stoid, { |
168 | - 1:1 | 168 | + data:{enabled:1} |
169 | }).then(res=>{ | 169 | }).then(res=>{ |
170 | var a = res.data.data; | 170 | var a = res.data.data; |
171 | var arr = new Array(); | 171 | var arr = new Array(); |