公众号接口

公众号接口


分页获取项目列表2

<h2>工地二维码-分页获取项目列表-前端使用</h2> <p><img src="https://www.showdoc.cc/server/api/common/visitfile/sign/bf049e9b6da115522d40af1be33297a7?showdoc=.jpg" alt="" /></p> <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/getProjectPage</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <p>{ &quot;currPage&quot;:&quot;1&quot;, &quot;pageSize&quot;:&quot;1&quot;, &quot;prjName&quot;:&quot;&quot;, &quot;prjArea&quot;:&quot;&quot; } currPage默认1,pageSize默认10,prjName模糊查询,area等值匹配 <strong>请求示例</strong> { &quot;currPage&quot;:&quot;1&quot;, &quot;pageSize&quot;:&quot;1&quot;, &quot;prjName&quot;:&quot;&quot;, &quot;prjArea&quot;:&quot;&quot; } <strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">currPage</td> <td style="text-align: left;">int</td> <td>当前页</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">int</td> <td>每页条数</td> </tr> <tr> <td style="text-align: left;">total</td> <td style="text-align: left;">int</td> <td>总条数</td> </tr> <tr> <td style="text-align: left;">totalPage</td> <td style="text-align: left;">int</td> <td>总页数</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">int</td> <td>返回数据</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "msg": "success", "code": 0, "data": { "total": 60, "currPage": 1, "data": [ { "prjArea": "福田区", "prjAddress": "广东省深圳市", "prjId": "086015a7-a494-11e9-acd3-fa163e72b6d6", "prjName": "开元大厦外墙改造工程" } ], "totalPage": 60, "pageSize": 1 } } </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