现舱多


关注用户

<h2>关注用户</h2> <blockquote> <p>HTTP Request ( 请求路径 )</p> </blockquote> <pre><code class="language-shell"> GET http://xxxx.com/api/v2/moments/user_follow</code></pre> <h3>URL Parameters ( 请求参数 )</h3> <table> <thead> <tr> <th style="text-align: center;">参数</th> <th style="text-align: center;">必填</th> <th style="text-align: center;">描述</th> <th style="text-align: center;">类型</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">user_token</td> <td style="text-align: center;">true</td> <td style="text-align: center;">用户身份</td> <td style="text-align: center;">string</td> </tr> <tr> <td style="text-align: center;">user_id</td> <td style="text-align: center;">true</td> <td style="text-align: center;">用户id</td> <td style="text-align: center;">integer</td> </tr> </tbody> </table> <h3>HTTP Respond ( 响应 )</h3> <pre><code class="language-json">{ "code": 200, "message": "关注成功" }</code></pre> <h2>取消关注用户</h2> <blockquote> <p>HTTP Request ( 请求路径 )</p> </blockquote> <pre><code class="language-shell"> GET http://xxxx.com/api/v2/moments/user_unfollow</code></pre> <h3>URL Parameters ( 请求参数 )</h3> <table> <thead> <tr> <th style="text-align: center;">参数</th> <th style="text-align: center;">必填</th> <th style="text-align: center;">描述</th> <th style="text-align: center;">类型</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">user_token</td> <td style="text-align: center;">true</td> <td style="text-align: center;">用户身份</td> <td style="text-align: center;">string</td> </tr> <tr> <td style="text-align: center;">user_id</td> <td style="text-align: center;">true</td> <td style="text-align: center;">用户id</td> <td style="text-align: center;">integer</td> </tr> </tbody> </table> <h3>HTTP Respond ( 响应 )</h3> <pre><code class="language-json">{ "code": 200, "message": "取消关注成功" }</code></pre>

页面列表

ITEM_HTML