From 829b355b72ae12812943c33924103ba9cf24acd7 Mon Sep 17 00:00:00 2001 From: yvan.ni <765199919@qq.com> Date: Sun, 20 Oct 2019 10:56:00 +0800 Subject: [PATCH] 后台如果有控制广告不显示,则不能显示广告 --- pages/index/index/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/index/index.js b/pages/index/index/index.js index 2e36821..5e01fbb 100644 --- a/pages/index/index/index.js +++ b/pages/index/index/index.js @@ -165,7 +165,7 @@ Page({ //----广告---- var e = this; await getApp().request.promiseGet("/api/weshop/ad/list?pid=2&store_id=" + o.stoid, { - 1:1 + data:{enabled:1} }).then(res=>{ var a = res.data.data; var arr = new Array(); -- libgit2 0.21.4