景点浏览小程序接口

内部成员使用


所有景点数据

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>所有景点数据(位置:pages/index1/index1.js)</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:8090/wxf/content/scenery.php</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <h5>代码示例</h5> <pre><code>  async getAllScenery(){     let allScenery=await request('/wxf/content/scenery.php');     wx.setStorageSync('allScenery', allScenery); //设置在本地缓存中   },</code></pre> <h5>返回参数说明</h5> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=6a1d0cd0de86a3a47124703426ad2198&amp;amp;file=file.png" alt="" /></p>

页面列表

ITEM_HTML