订阅频道:我的频道
<h5>简要描述</h5>
<ul>
<li>订阅频道:我的频道</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://interface.tongxingmn.top/myMaterialTypeInfo</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">header</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>用户ID</td>
</tr>
<tr>
<td style="text-align: left;">userSessionId</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>用户会话ID</td>
</tr>
<tr>
<td style="text-align: left;">miniCode</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>小程序标识</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"data": {
"materialTypeInfo": [
{
"id": 2,
"materialTypeName": "日签"
},
{
"id": 5,
"materialTypeName": "教育培训"
},
{
"id": 14,
"materialTypeName": "生活百科"
},
{
"id": 24,
"materialTypeName": "母婴"
},
{
"id": 25,
"materialTypeName": "减肥"
},
{
"id": 29,
"materialTypeName": "护肤"
},
{
"id": 39,
"materialTypeName": "海报"
},
{
"id": 48,
"materialTypeName": "热文"
},
{
"id": 49,
"materialTypeName": "情感"
},
{
"id": 51,
"materialTypeName": "晚安"
},
{
"id": 52,
"materialTypeName": "节日"
},
{
"id": 53,
"materialTypeName": "早安"
}
]
},
"head": {
"code": 200,
"msg": "成功"
}
}
</code></pre>
<h5>成功返回示例的参数说明</h5>
<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;">data</td>
<td style="text-align: left;">object</td>
<td>数据</td>
</tr>
<tr>
<td style="text-align: left;">materialTypeInfo</td>
<td style="text-align: left;">array</td>
<td>我的频道</td>
</tr>
<tr>
<td style="text-align: left;">materialTypeInfo.id</td>
<td style="text-align: left;">string</td>
<td>频道ID</td>
</tr>
<tr>
<td style="text-align: left;">materialTypeInfo.materialTypeName</td>
<td style="text-align: left;">string</td>
<td>频道名称</td>
</tr>
<tr>
<td style="text-align: left;">head</td>
<td style="text-align: left;">object</td>
<td>消息头</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">string</td>
<td>返回码</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>消息文本</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<p>返回码 code 说明:
110:用户未登录
200:正常
400:客户端异常
500:服务端异常</p>