公众号接口

公众号接口


获取项目列表

<h2>获取项目列表-自己的库</h2> <p><strong>简要描述:</strong> </p> <ul> <li>从微信公众号数据库读取</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>127.0.0.1:8091/szsti-officialAccount-web/prevention/projectinfo/getPrjPage</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> { &quot;limit&quot;:&quot;5&quot;, &quot;page&quot;:&quot;2&quot; } 其他参数可以参考返回的数据对象</p> <p><strong>请求示例</strong> { &quot;limit&quot;:&quot;1&quot;, &quot;page&quot;:&quot;1&quot;, &quot;id&quot;:&quot;&quot;, &quot;prjId&quot;:&quot;&quot;, &quot;sourceId&quot;:&quot;&quot;, &quot;prjName&quot;:&quot;&quot;, &quot;prjArea&quot;:&quot;&quot;, &quot;prjAddress&quot;:&quot;&quot;, &quot;qrCode&quot;:&quot;&quot; } qrCode为空时查询qrCode为空的查询所有项目,为null时查询二维码为空的项目,任意其他值查询不为空的二维码数据</p> <p><strong>返回参数说明</strong> </p> <p><strong>返回示例</strong></p> <pre><code>{ "msg": "success", "code": 0, "data": { "total": 100, "size": 2, "pages": 50, "current": 20, "records": [ { "id": "7e38ae4e-5032-46f0-80d6-a7ed3a3f63b3", "prjId": "04ab68a5-9d3d-11e9-acd3-fa163e72b6d6", "sourceId": "500858", "prjName": "益田花园三期B区4栋1-3层豪园居室内装修工程", "prjArea": "福田区", "prjAddress": "广东省深圳市福田区豪园居4栋", "qrCode": null, "createUser": null, "createTime": "2020-02-01 19:09:22", "updateUser": null, "updateTime": null }, { "id": "82d8dd16-5fa4-42b3-b277-b6474005fda1", "prjId": "031500d7-850f-11e9-9233-fa163e72b6d6", "sourceId": "500372", "prjName": "油松河流域雨污分流管网完善工程", "prjArea": "龙华区", "prjAddress": "广东省深圳市深圳市龙华区", "qrCode": null, "createUser": null, "createTime": "2020-02-01 19:09:22", "updateUser": null, "updateTime": null } ] } } </code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述 <pre><code>{ "msg": "未知异常,请联系管理员", "code": 500 }</code></pre></li> </ul> <ol> <li> <ol> <li> </li> </ol> </li> </ol>

页面列表

ITEM_HTML