说明
手续费返还列表
请求地址
| 环境 | 请求地址 |
|---|---|
| 测试环境 | https://pay.umxnt.com/api/user/activity_store_rate_list |
请求参数
| 参数 | 类型 | 是否必填 | 最大长度 | 描述 |
|---|---|---|---|---|
| token | string | 是 | 11 | 令牌 |
| store_id | string | 否 | 255 | 门店id,为空代表所有门店 |
| p | string | 否 | 第几页,默认第一页 | |
| l | string | 返回条数,默认15条 |
- 成功返回有数据
{
"status": 1,
"message": "数据返回成功",
"data": [
{
"id": 1,
"store_id": "2019882198121",
"store_name": "有梦想科技",
"config_id": "1234",
"user_id": 1,
"company": "herongtong",
"time_start": "2019-07-01 00:00:00",
"time_end": "2019-07-01 00:00:00",
"total_amount_s": "0.00",
"total_amount_e": "200.00",
"alipay": 100,
"weixin": 100,
"created_at": "2019-07-01 00:00:00",
"updated_at": "2019-07-01 00:00:00"
},
{
"id": 2,
"store_id": "20198821981212",
"store_name": "有梦想科技1",
"config_id": "1234",
"user_id": 1,
"company": "herongtong",
"time_start": "2019-07-01 00:00:00",
"time_end": "2019-07-01 00:00:00",
"total_amount_s": "0.00",
"total_amount_e": "200.00",
"alipay": 100,
"weixin": 100,
"created_at": "2019-07-01 00:00:00",
"updated_at": "2019-07-01 00:00:00"
}
],
"l": 15,
"p": 1,
"t": 2
}
- 参数说明
| 参数 | 说明 |
|---|---|
| time_start | 活动开始时间 |
| time_end | 活动结束时间 |
| total_amount_s | 金额返回开始值 |
| total_amount_e | 金额返回结束值 |
| alipay | 支付宝返还比例 0-100 |
| weixin | 微信返返比例 0-100 |
失败请求示例
{ "message":"无效参数", "status":2 }