名片
<h2>创建/更新我的名片</h2>
<blockquote>
<p>HTTP Request ( 请求路径 )</p>
</blockquote>
<pre><code class="language-shell"> POST http://xxxx.com/api/v2/moments</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;">name</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">姓名</td>
<td style="text-align: center;">string</td>
</tr>
<tr>
<td style="text-align: center;">company_name</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">公司名称</td>
<td style="text-align: center;">string</td>
</tr>
<tr>
<td style="text-align: center;">telephone</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">电话</td>
<td style="text-align: center;">string</td>
</tr>
<tr>
<td style="text-align: center;">position</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">职位</td>
<td style="text-align: center;">string</td>
</tr>
<tr>
<td style="text-align: center;">qq</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">qq</td>
<td style="text-align: center;">string</td>
</tr>
<tr>
<td style="text-align: center;">address</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">工作地点</td>
<td style="text-align: center;">string</td>
</tr>
<tr>
<td style="text-align: center;">wechat</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">微信号</td>
<td style="text-align: center;">string</td>
</tr>
<tr>
<td style="text-align: center;">show_contact</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">手机号是否可见true/false</td>
<td style="text-align: center;">bool</td>
</tr>
<tr>
<td style="text-align: center;">show_qq</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">qq是否可见true/false</td>
<td style="text-align: center;">bool</td>
</tr>
<tr>
<td style="text-align: center;">show_wechat</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">wechat是否可见true/false</td>
<td style="text-align: center;">bool</td>
</tr>
<tr>
<td style="text-align: center;">desc</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">个人简介</td>
<td style="text-align: center;">string</td>
</tr>
<tr>
<td style="text-align: center;">labels</td>
<td style="text-align: center;">false</td>
<td style="text-align: center;">擅长领域标签id [1,2]</td>
<td style="text-align: center;">array</td>
</tr>
</tbody>
</table>
<h3>HTTP Respond ( 响应 )</h3>
<pre><code class="language-json">{
"code": 200,
"data": {
"id": 3,
"name": "我的新民主1",
"company_name": "alipay公司1",
"telephone": "134117715431",
"position": "ceo1",
"address": "深圳1",
"qq": "81214970401",
"desc": "我分个啊大哥奥恩光大 嘎达噶 1",
"avatar": "http://staging-cdn.huoyuanduo.net/user/2022/c77ebf031b89eb3d380747838b32bc09.png?imageView/0/w/400&e=1672697675&token=ymyU4nA_No1bIYugtG0-QUj0vLN0uhXTWd9TERb2:7PmZSnMxdBL-59qoFOOg_H0YsMc=",
"wechat": "dsagfadc1",
"show_contact": true,
"show_qq": true,
"show_wechat": true,
"follow_counts": 0,
"be_follow_counts": 2,
"info_counts": 0,
"follow_status": true,
"user_id": 2,
"labels": [
],
"created_at": "2022-12-30 23:12:20"
}
}</code></pre>
<p>follow_counts 已关注人数
be_follow_counts 被关注人数
info_counts 发布信息数
follow_status: 我有没有关注他</p>
<h2>名片列表</h2>
<blockquote>
<p>HTTP Request ( 请求路径 )</p>
</blockquote>
<pre><code class="language-shell"> GET http://xxxx.com/api/v2/moments</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;">page</td>
<td style="text-align: center;">true</td>
<td style="text-align: center;">页码</td>
<td style="text-align: center;">integer</td>
</tr>
</tbody>
</table>
<h3>HTTP Respond ( 响应 )</h3>
<pre><code class="language-json">{
"code": 200,
"total_pages": 1,
"total_count": 2,
"current_page": 1,
"data": [
{
"id": 4,
"name": "我的新民主1111",
"company_name": "alipay公司1111",
"telephone": "134117715431111",
"position": "ceo111",
"address": "深圳111",
"qq": "8121497040111",
"desc": "我分个啊大哥奥恩光大 嘎达噶 111",
"wechat": "dsagfadc1111",
"show_contact": false,
"show_qq": true,
"show_wechat": true,
"follow_counts": 2,
"be_follow_counts": 0,
"info_counts": 0,
"avatar": "http://staging-cdn.huoyuanduo.net/user/2022/c77ebf031b89eb3d380747838b32bc09.png?imageView/0/w/400&e=1672697675&token=ymyU4nA_No1bIYugtG0-QUj0vLN0uhXTWd9TERb2:7PmZSnMxdBL-59qoFOOg_H0YsMc=",
"follow_status": false,
"user_id": 1,
"labels": [
],
"created_at": "2022-12-30 23:13:30"
},
{
"id": 1,
"name": "我的新民主2",
"company_name": "alipay公司2",
"telephone": "134117715432",
"position": "ceo2",
"address": "深圳2",
"qq": "***",
"desc": "我分个啊大哥奥恩光大 嘎达噶 2",
"wechat": "***",
"show_contact": true,
"show_qq": false,
"show_wechat": false,
"follow_counts": 1,
"be_follow_counts": 1,
"info_counts": 2,
"avatar": null,
"follow_status": true,
"user_id": 3,
"labels": [
],
"created_at": "2022-12-30 23:07:25"
}
]
}</code></pre>
<h2>查看名片</h2>
<blockquote>
<p>HTTP Request ( 请求路径 )</p>
</blockquote>
<pre><code class="language-shell"> GET http://xxxx.com/api/v2/moments/user_moment</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,
"data": {
"id": 3,
"name": "我的新民主1",
"company_name": "alipay公司1",
"telephone": "134117715431",
"position": "ceo1",
"address": "深圳1",
"qq": "81214970401",
"desc": "我分个啊大哥奥恩光大 嘎达噶 1",
"wechat": "dsagfadc1",
"show_contact": true,
"show_qq": true,
"show_wechat": true,
"follow_counts": 0,
"be_follow_counts": 2,
"info_counts": 0,
"follow_status": true,
"user_id": 2,
"labels": [
],
"created_at": "2022-12-30 23:12:20"
}
}</code></pre>
<h2>查看关注用户的名片</h2>
<blockquote>
<p>HTTP Request ( 请求路径 )</p>
</blockquote>
<pre><code class="language-shell"> GET http://xxxx.com/api/v2/moments/user_follow_moments</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>
<tr>
<td style="text-align: center;">page</td>
<td style="text-align: center;">true</td>
<td style="text-align: center;">页码</td>
<td style="text-align: center;">integer</td>
</tr>
</tbody>
</table>
<h3>HTTP Respond ( 响应 )</h3>
<pre><code class="language-json">{
"code": 200,
"total_pages": 1,
"total_count": 2,
"current_page": 1,
"data": [
{
"id": 4,
"name": "我的新民主1111",
"company_name": "alipay公司1111",
"telephone": "134117715431111",
"position": "ceo111",
"address": "深圳111",
"qq": "8121497040111",
"desc": "我分个啊大哥奥恩光大 嘎达噶 111",
"wechat": "dsagfadc1111",
"show_contact": false,
"show_qq": true,
"show_wechat": true,
"follow_counts": 2,
"be_follow_counts": 0,
"info_counts": 0,
"avatar": "http://staging-cdn.huoyuanduo.net/user/2022/c77ebf031b89eb3d380747838b32bc09.png?imageView/0/w/400&e=1672697675&token=ymyU4nA_No1bIYugtG0-QUj0vLN0uhXTWd9TERb2:7PmZSnMxdBL-59qoFOOg_H0YsMc=",
"follow_status": false,
"user_id": 1,
"labels": [
],
"created_at": "2022-12-30 23:13:30"
},
{
"id": 1,
"name": "我的新民主2",
"company_name": "alipay公司2",
"telephone": "134117715432",
"position": "ceo2",
"address": "深圳2",
"qq": "***",
"desc": "我分个啊大哥奥恩光大 嘎达噶 2",
"wechat": "***",
"show_contact": true,
"show_qq": false,
"show_wechat": false,
"follow_counts": 1,
"be_follow_counts": 1,
"info_counts": 2,
"avatar": null,
"follow_status": true,
"user_id": 3,
"labels": [
],
"created_at": "2022-12-30 23:07:25"
}
]
}</code></pre>
<h2>查看被关注用户的名片</h2>
<blockquote>
<p>HTTP Request ( 请求路径 )</p>
</blockquote>
<pre><code class="language-shell"> GET http://xxxx.com/api/v2/moments/user_be_follow_moments</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>
<tr>
<td style="text-align: center;">page</td>
<td style="text-align: center;">true</td>
<td style="text-align: center;">页码</td>
<td style="text-align: center;">integer</td>
</tr>
</tbody>
</table>
<h3>HTTP Respond ( 响应 )</h3>
<pre><code class="language-json">{
"code": 200,
"total_pages": 1,
"total_count": 2,
"current_page": 1,
"data": [
{
"id": 4,
"name": "我的新民主1111",
"company_name": "alipay公司1111",
"telephone": "134117715431111",
"position": "ceo111",
"address": "深圳111",
"qq": "8121497040111",
"desc": "我分个啊大哥奥恩光大 嘎达噶 111",
"wechat": "dsagfadc1111",
"show_contact": false,
"show_qq": true,
"show_wechat": true,
"follow_counts": 2,
"be_follow_counts": 0,
"info_counts": 0,
"avatar": "http://staging-cdn.huoyuanduo.net/user/2022/c77ebf031b89eb3d380747838b32bc09.png?imageView/0/w/400&e=1672697675&token=ymyU4nA_No1bIYugtG0-QUj0vLN0uhXTWd9TERb2:7PmZSnMxdBL-59qoFOOg_H0YsMc=",
"follow_status": false,
"user_id": 1,
"labels": [
],
"created_at": "2022-12-30 23:13:30"
},
{
"id": 1,
"name": "我的新民主2",
"company_name": "alipay公司2",
"avatar": "http://staging-cdn.huoyuanduo.net/user/2022/c77ebf031b89eb3d380747838b32bc09.png?imageView/0/w/400&e=1672697675&token=ymyU4nA_No1bIYugtG0-QUj0vLN0uhXTWd9TERb2:7PmZSnMxdBL-59qoFOOg_H0YsMc=",
"telephone": "134117715432",
"position": "ceo2",
"address": "深圳2",
"qq": "***",
"desc": "我分个啊大哥奥恩光大 嘎达噶 2",
"wechat": "***",
"show_contact": true,
"show_qq": false,
"show_wechat": false,
"follow_counts": 1,
"be_follow_counts": 1,
"info_counts": 2,
"avatar": null,
"follow_status": true,
"user_id": 3,
"labels": [
],
"created_at": "2022-12-30 23:07:25"
}
]
}</code></pre>
<h2>查看用户的发单列表</h2>
<blockquote>
<p>HTTP Request ( 请求路径 )</p>
</blockquote>
<pre><code class="language-shell"> GET http://xxxx.com/api/v2/moments/user_info</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>
<tr>
<td style="text-align: center;">page</td>
<td style="text-align: center;">true</td>
<td style="text-align: center;">页码</td>
<td style="text-align: center;">integer</td>
</tr>
</tbody>
</table>
<h3>HTTP Respond ( 响应 )</h3>
<pre><code class="language-json">{
"code": 200,
"total_pages": 4,
"total_count": 53,
"current_page": 1,
"data": [
{
"id": 2509163,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "15346",
"telephone": "123",
"phone": "123",
"contact": "123",
"usable": true,
"created_at": "2022-11-08 14:08:46",
"view_counts": 0,
"updated_at": "2022-12-08 21:02:56",
"resend_count": 10,
"resend_time": 2,
"resend_total_count": 10
},
{
"id": 2509162,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "15346",
"telephone": "123",
"phone": "123",
"contact": "123",
"usable": true,
"created_at": "2022-11-08 14:08:03",
"view_counts": 0,
"updated_at": "2022-12-08 21:10:31",
"resend_count": 10,
"resend_time": 2,
"resend_total_count": 10
},
{
"id": 2505582,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "测试10,20",
"telephone": "150*******96",
"phone": "15021143496",
"contact": "15021143496",
"usable": true,
"created_at": "2022-10-26 18:38:34",
"view_counts": 0,
"updated_at": "2022-10-26 18:48:49",
"resend_count": 19,
"resend_time": 10,
"resend_total_count": 20
},
{
"id": 2471155,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "发的哈的发货",
"telephone": "150*******96",
"phone": "15021143496",
"contact": "15021143496",
"usable": false,
"created_at": "2022-09-27 22:31:34",
"view_counts": 6,
"updated_at": "2022-09-28 03:08:39",
"resend_count": 20,
"resend_time": 10,
"resend_total_count": 20
},
{
"id": 3,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "152*******52",
"phone": "15218582152",
"contact": "15218582152",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 25,
"updated_at": "2022-12-13 01:46:44",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 5,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 9,
"updated_at": "2022-09-28 16:52:14",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 6,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 9,
"updated_at": "2022-09-26 01:02:21",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 2471120,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 7,
"updated_at": "2022-07-07 19:50:16",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 2471121,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 7,
"updated_at": "2022-07-07 19:50:16",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 2471122,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 7,
"updated_at": "2022-07-07 19:50:16",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 2471123,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 8,
"updated_at": "2022-12-13 01:46:06",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 2471124,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 7,
"updated_at": "2022-07-07 19:50:16",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 2471125,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 7,
"updated_at": "2022-07-07 19:50:16",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 2471126,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 7,
"updated_at": "2022-07-07 19:50:16",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
},
{
"id": 2471127,
"inforable_type": "User",
"inforable_id": 1,
"category": 0,
"able_type": 0,
"load_port_id": null,
"box_type_id": null,
"describe": "hdnshndsfhndsfndsf联合联系<a href='tel:13119590168'>13119590168</a>",
"telephone": "131*******68",
"phone": "13119590168",
"contact": "13119590168",
"usable": true,
"created_at": "2022-06-26 20:51:37",
"view_counts": 7,
"updated_at": "2022-07-07 19:50:16",
"resend_count": 0,
"resend_time": 0,
"resend_total_count": 0
}
]
}</code></pre>