获取会员自定义任务
<p><strong>请求方法</strong>: coral.fetchMemberCustomizeTask</p>
<p><strong>请求参数</strong>: coral.fetchMemberCustomizeTask(task_type_id);</p>
<p>task_type_id: 自定义任务类型 id</p>
<p><strong>返回的接口格式</strong></p>
<pre><code class="language-json">[{
"detail": [{
"order_id": "434617398989954080",
"order_status": 5,
"coin_num": 1,
"assign_timestamp": 1588694400,
"submit_timestamp": 0,
"expire_timestamp": 1588867200,
"order_data": [1, 3, -115, 22, 18, 52, 51, 52, 54, 49, 55, 51, 57, 56, 57, 56, 57, 57, 53, 52, 48, 56, 48, 34, 94, -79, -115, -128, 48, 9]
}],
"show_ui": {
"type_id": 10,
"text_1": "看视频领积分",
"text_2": "去查看",
"text_3": "",
"icon_1": "https://mmgr.gtimg.com/gjsmall/webGmall/1563955522164.png",
"icon_2": "https://mmgr.gtimg.com/gjsmall/webGmall/1563955524305.png",
"icon_3": "",
"url": "",
"app": "",
"extra": ""
},
"taskName": "Custom"
}]</code></pre>
<p><strong>输出</strong>
<strong> 数据为数组, 子选项的属性有 </strong></p>
<table>
<thead>
<tr>
<th>字段</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>detail</td>
<td>是</td>
<td>array</td>
<td>任务列表</td>
</tr>
<tr>
<td>show_ui</td>
<td>是</td>
<td>object</td>
<td>任务展示素材</td>
</tr>
<tr>
<td>taskName</td>
<td>是</td>
<td>string</td>
<td>任务名</td>
</tr>
</tbody>
</table>
<p><strong> detail 任务列表 item </strong></p>
<table>
<thead>
<tr>
<th>字段</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>order_id</td>
<td>是</td>
<td>string</td>
<td>任务ID</td>
</tr>
<tr>
<td>order_status</td>
<td>是</td>
<td>int</td>
<td>订单状态 1-未完成任务,2-已完成任务(无积分) 3-已完成任务(加积分)4.过期任务</td>
</tr>
<tr>
<td>coin_num</td>
<td>是</td>
<td>int</td>
<td>成长值</td>
</tr>
<tr>
<td>assign_timestamp</td>
<td>是</td>
<td>int</td>
<td>任务创建时间</td>
</tr>
<tr>
<td>submit_timestamp</td>
<td>是</td>
<td>int</td>
<td>任务完成时间</td>
</tr>
<tr>
<td>expire_timestamp</td>
<td>是</td>
<td>int</td>
<td>任务过期时间</td>
</tr>
</tbody>
</table>
<p><strong> show_ui 任务展示素材 </strong></p>
<table>
<thead>
<tr>
<th>字段</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>type_id</td>
<td>是</td>
<td>int</td>
<td>展示样式类型ID</td>
</tr>
<tr>
<td>text_1</td>
<td>是</td>
<td>string</td>
<td>文本</td>
</tr>
<tr>
<td>text_2</td>
<td>是</td>
<td>string</td>
<td>文本</td>
</tr>
<tr>
<td>text_3</td>
<td>是</td>
<td>string</td>
<td>文本</td>
</tr>
<tr>
<td>icon_1</td>
<td>是</td>
<td>string</td>
<td>ICON</td>
</tr>
<tr>
<td>icon_2</td>
<td>是</td>
<td>string</td>
<td>ICON</td>
</tr>
<tr>
<td>icon_3</td>
<td>是</td>
<td>string</td>
<td>ICON</td>
</tr>
<tr>
<td>url</td>
<td>是</td>
<td>string</td>
<td>URL</td>
</tr>
<tr>
<td>app</td>
<td>是</td>
<td>string</td>
<td>APP包名</td>
</tr>
<tr>
<td>extra</td>
<td>是</td>
<td>string</td>
<td>额外信息</td>
</tr>
</tbody>
</table>