渠道统计
<p><strong>简要描述:</strong> </p>
<ul>
<li>渠道统计</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>{{base}}/admin/statistics/channel?user_status=1</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>get </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">user_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>用户id</td>
</tr>
<tr>
<td style="text-align: left;">user_status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>用户状态 1正常 2封禁</td>
</tr>
<tr>
<td style="text-align: left;">create_time</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>创建时间 1今天 2昨天 3前天 4大前天 或者自定义时间 使用 - 分割开始结束时间</td>
</tr>
<tr>
<td style="text-align: left;">gateway_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>网关id</td>
</tr>
<tr>
<td style="text-align: left;">channel_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>通道id 从 <code>https://www.showdoc.cc/qq475281441?page_id=4485666169666388</code>接口获取下拉数据</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 0,
"msg": "",
"time": 1589774494,
"data": [
{
"user_id": 25,
"gateway_id": 0,//网关id
"total_orders": 14187,//总订单数
"total_pay_orders": 13192,//总支付订单数
"total_price": "297418881.74",//提交金额
"total_pay_price": "282548827.22",//总支付金额
"total_platform_settle": "0.000",//理论到账
"total_seller_income": "277565623.670",//商户所得
"pay_rate": "92.9865",//支付率
"total_sale_cards": "1902409",//总售卡数
"diff": "4983203.550",//差值--实际支付-商户所得
"total_profit": "-277565623.670",//盈亏--理论到账-商户所得
"channel_name": "余额支付",//通道名
"arrival_detail": "余额支付"//到账信息
},
{
"user_id": 322105,
"gateway_id": 475,
"total_orders": 61,
"total_pay_orders": 0,
"total_price": "32788.91",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "475:易生系统-易生支付-妥妥网络(微信+闪付)-支付宝-test",
"arrival_detail": "张倩-中信银行"
},
{
"user_id": 322105,
"gateway_id": 511,
"total_orders": 19,
"total_pay_orders": 0,
"total_price": "42040.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "511:易生系统-新生支付-青薇网络(新生渠道)-微信支付",
"arrival_detail": "杨艳-招商银行,杨艳666-招商银行"
},
{
"user_id": 322105,
"gateway_id": 527,
"total_orders": 20,
"total_pay_orders": 0,
"total_price": "35050.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "527:易生系统-新生支付-有居网络(新生渠道)-微信支付",
"arrival_detail": "黄文辉-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 517,
"total_orders": 21,
"total_pay_orders": 0,
"total_price": "60175.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "517:易生系统-新生支付-趣木网络(新生渠道)-微信支付",
"arrival_detail": "黄东梅-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 489,
"total_orders": 12,
"total_pay_orders": 1,
"total_price": "13343.99",
"total_pay_price": "89.99",
"total_platform_settle": "0.000",
"total_seller_income": "89.990",
"pay_rate": "8.3333",
"total_sale_cards": "1",
"diff": "0.000",
"total_profit": "-89.990",
"channel_name": "489:易生系统-易生支付-有居网络(微信+闪付)-微信支付",
"arrival_detail": "黄文辉-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 465,
"total_orders": 9,
"total_pay_orders": 0,
"total_price": "13212.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": ":---",
"arrival_detail": "无数据"
},
{
"user_id": 322105,
"gateway_id": 471,
"total_orders": 13,
"total_pay_orders": 1,
"total_price": "16211.00",
"total_pay_price": "58.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "7.6923",
"total_sale_cards": "1",
"diff": "58.000",
"total_profit": "0.000",
"channel_name": "471:易生系统-易生支付-富原网络工作室-微信支付",
"arrival_detail": "周伟群-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 521,
"total_orders": 17,
"total_pay_orders": 0,
"total_price": "50552.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "521:易生系统-新生支付-妥妥网络(新生渠道)-微信支付",
"arrival_detail": "张倩-中信银行"
},
{
"user_id": 322105,
"gateway_id": 504,
"total_orders": 14,
"total_pay_orders": 0,
"total_price": "36253.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "504:易生系统-新生支付-富原网络(新生渠道)-微信支付",
"arrival_detail": "周伟群-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 533,
"total_orders": 22,
"total_pay_orders": 0,
"total_price": "63180.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "533:易生系统-新生支付-洛云韵网络(新生渠道)-微信支付",
"arrival_detail": "徐君兰-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 508,
"total_orders": 9,
"total_pay_orders": 1,
"total_price": "11765.00",
"total_pay_price": "21.00",
"total_platform_settle": "0.000",
"total_seller_income": "21.000",
"pay_rate": "11.1111",
"total_sale_cards": "1",
"diff": "0.000",
"total_profit": "-21.000",
"channel_name": "508:易生系统-新生支付-富原网络(新生渠道)-支付宝-test",
"arrival_detail": "周伟群-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 481,
"total_orders": 53,
"total_pay_orders": 0,
"total_price": "23023.40",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "481:易生系统-易生支付-喜乐游(微信+闪付)-支付宝-test",
"arrival_detail": "叶进青-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 541,
"total_orders": 30,
"total_pay_orders": 0,
"total_price": "16836.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "541:易生系统-易生支付-毅衡馨电子-支付宝-test",
"arrival_detail": "邹宇霖-邮政储蓄"
},
{
"user_id": 322105,
"gateway_id": 531,
"total_orders": 14,
"total_pay_orders": 0,
"total_price": "19096.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "531:易生系统-新生支付-有居网络(新生渠道)-支付宝-test",
"arrival_detail": "黄文辉-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 545,
"total_orders": 14,
"total_pay_orders": 0,
"total_price": "15228.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "545:易生系统-易生支付-趣木网络-支付宝-test",
"arrival_detail": "黄东梅-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 555,
"total_orders": 31,
"total_pay_orders": 0,
"total_price": "15038.99",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "555:易生系统-易生支付-卡兹网络-支付宝-test",
"arrival_detail": "黄建梅-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 537,
"total_orders": 7,
"total_pay_orders": 0,
"total_price": "8820.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "537:易生系统-新生支付-洛云韵网络(新生渠道)-支付宝-test",
"arrival_detail": "徐君兰-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 525,
"total_orders": 12,
"total_pay_orders": 0,
"total_price": "13365.80",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "525:易生系统-新生支付-妥妥网络(新生渠道)-支付宝-test",
"arrival_detail": "张倩-中信银行"
},
{
"user_id": 322105,
"gateway_id": 490,
"total_orders": 10,
"total_pay_orders": 0,
"total_price": "14680.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "490:易生系统-易生支付-有居网络(微信+闪付)-支付宝-test",
"arrival_detail": "黄文辉-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 486,
"total_orders": 35,
"total_pay_orders": 0,
"total_price": "16375.18",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "486:易生系统-易生支付-青薇网络(微信+闪付)-支付宝-test",
"arrival_detail": "杨艳-招商银行"
},
{
"user_id": 322105,
"gateway_id": 515,
"total_orders": 6,
"total_pay_orders": 0,
"total_price": "7340.11",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "515:易生系统-新生支付-青薇网络(新生渠道)-支付宝-test",
"arrival_detail": "杨艳-招商银行"
},
{
"user_id": 322105,
"gateway_id": 473,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "1468.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "473:易生系统-易生支付-洛云韵网络工作室-支付宝",
"arrival_detail": "徐君兰-中信银行"
},
{
"user_id": 322105,
"gateway_id": 484,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "1468.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "484:易生系统-易生支付-青薇网络(微信+闪付)-支付宝",
"arrival_detail": "杨艳-招商银行"
},
{
"user_id": 322243,
"gateway_id": 536,
"total_orders": 2,
"total_pay_orders": 0,
"total_price": "413.90",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "536:易生系统-新生支付-洛云韵网络(新生渠道)-支付宝扫码",
"arrival_detail": "徐君兰-浦发银行"
},
{
"user_id": 113006,
"gateway_id": 532,
"total_orders": 2,
"total_pay_orders": 0,
"total_price": "1489.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "532:易生系统-新生支付-有居网络(新生渠道)-微信扫码",
"arrival_detail": "黄文辉-浦发银行"
},
{
"user_id": 322352,
"gateway_id": 544,
"total_orders": 2,
"total_pay_orders": 0,
"total_price": "1278.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "544:易生系统-易生支付-趣木网络-支付宝扫码",
"arrival_detail": "黄东梅-浦发银行"
},
{
"user_id": 125736,
"gateway_id": 554,
"total_orders": 4,
"total_pay_orders": 0,
"total_price": "3980.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "554:易生系统-易生支付-卡兹网络-支付宝扫码",
"arrival_detail": "黄建梅-浦发银行"
},
{
"user_id": 125736,
"gateway_id": 474,
"total_orders": 4,
"total_pay_orders": 0,
"total_price": "3990.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "474:易生系统-易生支付-洛云韵网络工作室-支付宝扫码",
"arrival_detail": "徐君兰-中信银行"
},
{
"user_id": 125736,
"gateway_id": 485,
"total_orders": 6,
"total_pay_orders": 0,
"total_price": "7980.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "485:易生系统-易生支付-青薇网络(微信+闪付)-支付宝扫码",
"arrival_detail": "杨艳-招商银行"
},
{
"user_id": 125736,
"gateway_id": 540,
"total_orders": 5,
"total_pay_orders": 0,
"total_price": "2668.70",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "540:易生系统-易生支付-毅衡馨电子-支付宝扫码",
"arrival_detail": "邹宇霖-邮政储蓄"
},
{
"user_id": 125736,
"gateway_id": 480,
"total_orders": 2,
"total_pay_orders": 0,
"total_price": "1019.70",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "480:易生系统-易生支付-喜乐游(微信+闪付)-支付宝扫码",
"arrival_detail": "叶进青-浦发银行"
},
{
"user_id": 125736,
"gateway_id": 514,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "1000.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "514:易生系统-新生支付-青薇网络(新生渠道)-支付宝扫码",
"arrival_detail": "杨艳-招商银行"
},
{
"user_id": 125736,
"gateway_id": 524,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "990.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "524:易生系统-新生支付-妥妥网络(新生渠道)-支付宝扫码",
"arrival_detail": "张倩-中信银行"
},
{
"user_id": 125736,
"gateway_id": 478,
"total_orders": 4,
"total_pay_orders": 0,
"total_price": "4000.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "478:易生系统-易生支付-妥妥网络(微信+闪付)-支付宝扫码",
"arrival_detail": "张倩-中信银行"
},
{
"user_id": 125736,
"gateway_id": 472,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "1000.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "472:易生系统-易生支付-富原网络工作室-支付宝扫码",
"arrival_detail": "周伟群-浦发银行"
},
{
"user_id": 113006,
"gateway_id": 530,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "21.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "530:易生系统-新生支付-有居网络(新生渠道)-支付宝扫码",
"arrival_detail": "黄文辉-浦发银行"
},
{
"user_id": 113006,
"gateway_id": 553,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "21.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "553:易生系统-易生支付-卡兹网络-支付宝",
"arrival_detail": "黄建梅-浦发银行"
},
{
"user_id": 322098,
"gateway_id": 529,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "68.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "529:易生系统-新生支付-有居网络(新生渠道)-支付宝",
"arrival_detail": "黄文辉-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 491,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "1468.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "491:易生系统-易生支付-有居网络(微信+闪付)-微信扫码",
"arrival_detail": "黄文辉-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 546,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "1468.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "546:易生系统-易生支付-趣木网络-微信扫码",
"arrival_detail": "黄东梅-浦发银行"
},
{
"user_id": 322105,
"gateway_id": 509,
"total_orders": 1,
"total_pay_orders": 0,
"total_price": "1468.00",
"total_pay_price": "0.00",
"total_platform_settle": "0.000",
"total_seller_income": "0.000",
"pay_rate": "0.0000",
"total_sale_cards": "0",
"diff": "0.000",
"total_profit": "0.000",
"channel_name": "509:易生系统-新生支付-富原网络(新生渠道)-微信扫码",
"arrival_detail": "周伟群-浦发银行"
},
{
"user_id": 322344,
"gateway_id": 538,
"total_orders": 1,
"total_pay_orders": 1,
"total_price": "240.00",
"total_pay_price": "240.00",
"total_platform_settle": "0.000",
"total_seller_income": "240.000",
"pay_rate": "100.0000",
"total_sale_cards": "4",
"diff": "0.000",
"total_profit": "-240.000",
"channel_name": "538:易生系统-新生支付-洛云韵网络(新生渠道)-微信扫码",
"arrival_detail": "徐君兰-浦发银行"
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>