1.30.1 任务活动列表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户注册接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/Taskactivity/tasklist</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>用户名token</td>
</tr>
<tr>
<td style="text-align: left;">idd</td>
<td style="text-align: left;">否[单条查询时必传]</td>
<td style="text-align: left;">string</td>
<td>活动idd</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"code": 0,
"msg": "成功",
"data": [
{
"id": 9,
"task_idd": "0a75fefc-37d8-3460-8638-2101kj99",
"task_name": "购买矿机任务彩金",
"taskactivity_key": "BuyMiningBonus",
"updatetime": "2022-04-27 15:09:31",
"sort": 3,
"task_desc": "完成购买专业矿机可赠送彩金",
"task_img": "/static/default/img/BuyMiningBonus.png",
"task_cofig_json": "{}",
"extjson": null,
"bonus": "50.000000000",
"salary": "0.0000",
"mtype": 18,
"coin_name": "TYUSD",
"black_username": "user888,user999",
"status": 1,
"levels": "-1",
"participate_timezone": "-1",
"participate_times": 1,
"bonus_mode": 1,
"automatic": 2,
"task_min_deposit": "0.0000",
"task_min_deposit_times": "-1",
"task_min_regdays": 0,
"task_min_consumption": "0.0000",
"task_min_consumption_times": "-1",
"application_activity": null,
"task_timezone": "-1",
"water_rate": "1.00",
"is_show": 1,
"reward_status": -1
}
]
}
{
"code": 0,
"msg": "成功",
"data": [
{
"id": 8,
"task_idd": "0a75fefc-37d8-3460-8638-2101sc88",
"task_name": "首充送彩金",
"taskactivity_key": "FirstRechargeBonus",
"updatetime": "2022-04-25 17:49:34",
"sort": 2,
"task_desc": "完成首次充值赠送彩金",
"task_img": "/static/default/img/FirstRechargeBonus.png",
"task_cofig_json": "{}",
"extjson": null,
"bonus": "20.000000000",
"salary": "0.0000",
"mtype": 18,
"coin_name": "TYUSD",
"black_username": "user888,user999",
"status": 1,
"levels": "-1",
"participate_timezone": "-1",
"participate_times": 1,
"bonus_mode": 1,
"automatic": 2,
"task_min_deposit": "10.0000",
"task_min_deposit_times": "-1",
"task_min_regdays": 0,
"task_min_consumption": "0.0000",
"task_min_consumption_times": "-1",
"application_activity": null,
"task_timezone": "-1",
"water_rate": "1.00",
"is_show": 1,
"reward_status": -1
},
{
"id": 9,
"task_idd": "0a75fefc-37d8-3460-8638-2101kj99",
"task_name": "购买矿机任务彩金",
"taskactivity_key": "BuyMiningBonus",
"updatetime": "2022-04-27 15:09:31",
"sort": 3,
"task_desc": "完成购买专业矿机可赠送彩金",
"task_img": "/static/default/img/BuyMiningBonus.png",
"task_cofig_json": "{}",
"extjson": null,
"bonus": "50.000000000",
"salary": "0.0000",
"mtype": 18,
"coin_name": "TYUSD",
"black_username": "user888,user999",
"status": 1,
"levels": "-1",
"participate_timezone": "-1",
"participate_times": 1,
"bonus_mode": 1,
"automatic": 2,
"task_min_deposit": "0.0000",
"task_min_deposit_times": "-1",
"task_min_regdays": 0,
"task_min_consumption": "0.0000",
"task_min_consumption_times": "-1",
"application_activity": null,
"task_timezone": "-1",
"water_rate": "1.00",
"is_show": 1,
"reward_status": -1
},
{
"id": 10,
"task_idd": "0a75fefc-37d8-3460-8638-2101lc66",
"task_name": "投资理财任务彩金",
"taskactivity_key": "\r\nInvestmentFinancialBonus",
"updatetime": "2022-04-27 15:09:31",
"sort": 4,
"task_desc": "完成投资理财可赠送彩金",
"task_img": "/static/default/img/InvestmentFinancialBonus.png",
"task_cofig_json": "{}",
"extjson": null,
"bonus": "50.000000000",
"salary": "0.0000",
"mtype": 18,
"coin_name": "TYUSD",
"black_username": "user888,user999",
"status": 1,
"levels": "-1",
"participate_timezone": "-1",
"participate_times": 1,
"bonus_mode": 1,
"automatic": 2,
"task_min_deposit": "0.0000",
"task_min_deposit_times": "-1",
"task_min_regdays": 0,
"task_min_consumption": "0.0000",
"task_min_consumption_times": "-1",
"application_activity": null,
"task_timezone": "-1",
"water_rate": "1.00",
"is_show": 1,
"reward_status": -1
},
{
"id": 11,
"task_idd": "0a75fefc-37d8-3460-8638-2101cz55",
"task_name": "累计存款和充值1000USDT赠送彩金",
"taskactivity_key": "CumulativeRechargeBonus",
"updatetime": "2022-04-27 15:09:31",
"sort": 5,
"task_desc": "累计完成存款和充值1000USDT以上可赠送彩金",
"task_img": "/static/default/img/CumulativeRechargeBonus.png",
"task_cofig_json": "{}",
"extjson": null,
"bonus": "0.000000000",
"salary": "0.1000",
"mtype": 18,
"coin_name": "TYUSD",
"black_username": "user888,user999",
"status": 1,
"levels": "-1",
"participate_timezone": "-1",
"participate_times": 1,
"bonus_mode": 2,
"automatic": 2,
"task_min_deposit": "0.0000",
"task_min_deposit_times": "-1",
"task_min_regdays": 0,
"task_min_consumption": "0.0000",
"task_min_consumption_times": "-1",
"application_activity": null,
"task_timezone": "-1",
"water_rate": "1.00",
"is_show": 1,
"reward_status": -1
},
{
"id": 12,
"task_idd": "0a75fefc-37d8-3460-8638-2101gm44",
"task_name": "累计购买和投资1000USDT赠送彩金",
"taskactivity_key": "CumulativePurchaseBonus",
"updatetime": "2022-04-27 15:09:31",
"sort": 5,
"task_desc": "累计完成购买和投资1000USDT以上可赠送彩金",
"task_img": "/static/default/img/CumulativePurchaseBonus.png",
"task_cofig_json": "{}",
"extjson": null,
"bonus": "0.000000000",
"salary": "0.1000",
"mtype": 18,
"coin_name": "TYUSD",
"black_username": "user888,user999",
"status": 1,
"levels": "-1",
"participate_timezone": "-1",
"participate_times": 1,
"bonus_mode": 2,
"automatic": 2,
"task_min_deposit": "0.0000",
"task_min_deposit_times": "-1",
"task_min_regdays": 0,
"task_min_consumption": "0.0000",
"task_min_consumption_times": "-1",
"application_activity": null,
"task_timezone": "-1",
"water_rate": "1.00",
"is_show": 1,
"reward_status": -1
}
]
}
</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;">code</td>
<td style="text-align: left;">int</td>
<td>错误码</td>
</tr>
<tr>
<td style="text-align: left;">data.task_idd</td>
<td style="text-align: left;">string</td>
<td>活动idd</td>
</tr>
<tr>
<td style="text-align: left;">data.reward_status</td>
<td style="text-align: left;">int</td>
<td>用户任务派奖状态<br>-1.未去完成任务 0.审核中 1.已派彩金 2.已拒绝</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<p><code>task_idd</code> '任务活动唯一ID',
<code>task_name</code> '任务活动名称',
<code>taskactivity_key</code> '所属任务活动模块方法名称',
<code>updatetime</code> '更新时间',
<code>sort</code> '排序',
<code>task_desc</code> '简介',
<code>task_img</code> '缩略图',
<code>task_cofig_json</code> '各活动需要的详细配置信息 JSON',
<code>extjson</code> '扩展配置参数',
<code>bonus</code> '活动奖励 佣金数量',
<code>salary</code> '活动奖励 佣金比例',
<code>mtype</code> '奖励存入的钱包账户',
<code>coin_name</code> '奖励存入的钱包货币标识',
<code>black_username</code> '黑名单里的用户不给奖励。 多个用,隔开',
<code>status</code> '状态 默认1 启用 2 禁用',
<code>levels</code> '用户层级 允许参与的用户分层,隔开 -1标识全部',
<code>participate_timezone</code> '活动周期 -1 不限 once仅限一次 day每天 week每周 month每月 数字是最近N天',
<code>participate_times</code> '参与次数,活动周期里可参数的次数 -1不限',
<code>bonus_mode</code> '彩金计算模式 1固定彩金 2比例彩金 ...',
<code>automatic</code> '彩金派发方法 1 自动审核 2后台审核',
<code>task_min_deposit</code> '参与活动最小存款 换算USD',
<code>task_min_deposit_times</code> '最小存款统计的时间周期 -1 为不限 yesterday昨日 lastweek上周 lastmonth上个月 数字是最近N天',
<code>task_min_regdays</code> '参与活动最少注册天数',
<code>task_min_consumption</code> '参与活动最小消费 换算USD',
<code>task_min_consumption_times</code> '最小消费统计的时间周期 -1 为不限 yesterday昨日 lastweek上周 lastmonth上个月 数字是最近N天',
<code>application_activity</code> '申请活动填写提示内容 (内容为空,申请时候不需要填写)',
<code>task_timezone</code> '申请活动时间范围 - 隔开, -1不限',
<code>water_rate</code> '奖励流水出款倍数',
<code>is_show</code> '活动列表是否展示 1展示 2 不展示',
"reward_status": 用户任务派奖状态, -1.未去完成任务 0.审核中 1.已派彩金 2.已拒绝</p>
<p>“reward_status”: 用户任务状态按钮,
-1.领取(橙色) 0.审核中(蓝色) 1.已完成 (绿色) 2.已拒绝(灰色)
-1.领取(橙色) 可点击请求 领取奖励接口。
返回成功状态 则按钮改成 1已完成。
返回失败,弹出层显示失败信息</p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>