点开工具、字典、anything


公共推荐池排序(小程序分享弹窗

<h3>后台</h3> <h4>设置记录排序值</h4> <p><strong>请求URL:</strong> </p> <ul> <li>POST <code>pool/common/set_order</code></li> </ul> <p><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;">id</td> <td style="text-align: left;">integer</td> <td>推荐记录id</td> </tr> <tr> <td style="text-align: left;">order</td> <td style="text-align: left;">integer</td> <td>推荐记录排序 (取值 0 - 4)</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "msg": "设置排序值成功", "data": [], "code": 1, "state": true }</code></pre> <h3>前台</h3> <h4>分享后弹框列表中,如果是优先排序的的文章,则有 is_order 字段且为 true,非优先排序则无该字段</h4> <h4>分享后弹框列表请求需要带上 openid ,以排除该 openid 不再看到的文章</h4> <hr /> <h4>设置点过后不再看</h4> <p><strong>请求URL:</strong> </p> <ul> <li>POST <code>api/template/common_pool/add_not_see_order_article</code></li> </ul> <p><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;">openid</td> <td style="text-align: left;">string</td> <td>用户openid</td> </tr> <tr> <td style="text-align: left;">article_id</td> <td style="text-align: left;">integer</td> <td>用户不再看的文章id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "msg": "添加成功", "data": [], "code": 1, "state": true }</code></pre>

页面列表

ITEM_HTML