锂源

锂源换电


分润统计

简要描述
  • 分润统计接口
  • 平台分润 merchantShare: (应付金额 x(1-分润比例)之和)
  • 客户分润 merchantShare: (应付金额 x (分润比例)之和)
  • 分润比例 scale: 单位 百分号
  • 应付金额 totalAmount
    请求URL
  • liyuan_base/rent/order/share
请求方式
  • POST
参数
参数名 必选 类型 说明
userId long 客户名称
storeId long 用户所属门店
comboType int 套餐类型 1-日租 2月租
payType int 付款方式 1-在线支付 2-集团代购 3-线下支付
payId long 订单号
blurry string 租赁用户 模糊查询(用户名、手机号)
startTime Date 发生日期
endTime Date 结束日期
pageNo string 页码
pageSize string 每页显示条数
返回示例
{
    "code": 0,
    "list": [
        {
            "comboName": "套餐2",
            "comboNum": 1,
            "comboPrice": 199.00,
            "comboType": 1,
            "createTime": 1641457192647,
            "id": 638983685730729984,
            "insuranceAmount": 222.00,
            "payStatus": 2,
            "payType": 2,
            "phone": "18320284896",
            "rentAmount": 199.00,
            "storeName": "jack",
            "totalAmount": 421.00,
            "userName": "jack"
        },
        {
            "comboName": "套餐1",
            "comboNum": 2,
            "comboPrice": 888.00,
            "comboType": 1,
            "createTime": 1641367717483,
            "id": 638608399692464128,
            "insuranceAmount": 222.00,
            "payStatus": 2,
            "payType": 2,
            "phone": "18320284896",
            "rentAmount": 1776.00,
            "storeName": "jack",
            "totalAmount": 1998.00,
            "userName": "jack"
        },
        {
            "comboName": "12321大苏打",
            "comboNum": 1,
            "comboPrice": 112.00,
            "comboType": 1,
            "createTime": 1641367511905,
            "id": 638607537435836416,
            "insuranceAmount": 222.00,
            "payStatus": 2,
            "payType": 2,
            "phone": "18320284896",
            "rentAmount": 112.00,
            "storeName": "jack",
            "totalAmount": 334.00,
            "userName": "jack"
        },
        {
            "comboName": "12321大苏打",
            "comboNum": 1,
            "comboPrice": 112.00,
            "comboType": 1,
            "createTime": 1641367366122,
            "id": 638606925981810688,
            "insuranceAmount": 222.00,
            "payStatus": 2,
            "payType": 2,
            "phone": "18320284896",
            "rentAmount": 112.00,
            "storeName": "jack",
            "totalAmount": 334.00,
            "userName": "jack"
        },
        {
            "comboName": "套餐2",
            "comboNum": 1,
            "comboPrice": 199.00,
            "comboType": 1,
            "createTime": 1641206822521,
            "id": 637933557309767680,
            "insuranceAmount": 222.00,
            "payStatus": 2,
            "payType": 2,
            "phone": "18320284896",
            "rentAmount": 199.00,
            "storeName": "jack",
            "totalAmount": 421.00,
            "userName": "jack"
        },
        {
            "comboName": "套餐2",
            "comboNum": 1,
            "comboPrice": 199.00,
            "comboType": 1,
            "createTime": 1641206792464,
            "id": 637933431241572352,
            "insuranceAmount": 222.00,
            "payStatus": 2,
            "payType": 2,
            "phone": "18320284896",
            "rentAmount": 199.00,
            "storeName": "jack",
            "totalAmount": 421.00,
            "userName": "jack"
        },
        {
            "comboName": "套餐2",
            "comboNum": 1,
            "comboPrice": 199.00,
            "comboType": 1,
            "createTime": 1641457192585,
            "id": 638983685474877440,
            "insuranceAmount": 222.00,
            "merchantName": "锂源平台",
            "payStatus": 2,
            "payType": 2,
            "phone": "18320284895",
            "rentAmount": 199.00,
            "scale": "50",
            "storeName": "Ace",
            "totalAmount": 421.00,
            "userName": "Ace"
        },
        {
            "comboName": "套餐2",
            "comboNum": 1,
            "comboPrice": 199.00,
            "comboType": 1,
            "createTime": 1641206822464,
            "id": 637933557074886656,
            "insuranceAmount": 222.00,
            "merchantName": "锂源平台",
            "payStatus": 2,
            "payType": 2,
            "phone": "18320284895",
            "rentAmount": 199.00,
            "scale": "50",
            "storeName": "Ace",
            "totalAmount": 421.00,
            "userName": "Ace"
        },
        {
            "comboName": "套餐2",
            "comboNum": 1,
            "comboPrice": 199.00,
            "comboType": 1,
            "createTime": 1641206792400,
            "id": 637933430981525504,
            "insuranceAmount": 222.00,
            "merchantName": "锂源平台",
            "payStatus": 2,
            "payType": 2,
            "phone": "18320284895",
            "rentAmount": 199.00,
            "scale": "50",
            "storeName": "Ace",
            "totalAmount": 421.00,
            "userName": "Ace"
        },
        {
            "moneyTotal": 37130.69,
            "orderNum": 127
        }
    ],
    "pageTurn": {
        "currentPage": 1,
        "end": 9,
        "firstPage": 1,
        "nextPage": 1,
        "page": 1,
        "pageCount": 1,
        "pageSize": 200,
        "prevPage": 1,
        "rowCount": 9,
        "start": 0,
        "startIndex": 0
    },
    "tip": "请求成功"
}
返回参数说明
参数名 类型 说明
orderNum int 订单数
moneyTotal numeric 总计金额
platformShare numeric 平台分润
merchantShare numeric 客户分润
merchantName String 客户名称
scale float 分润比例
id long 订单号
storeName string 用户所属门店
userName string 租赁用户(用户名)
phone string 租赁用户(手机号)
comboName numeric 套餐名称
comboPrice numeric 套餐单价
comboNum int 租赁时长(数量)
comboType int 租赁时长(套餐类型 1-日租 2月租)
rentAmount numeric 租金
insuranceAmount numeric 保险
totalAmount numeric 应付金额
createTime numeric 支付时间
payType int 支付方式 1-在线支付 2-集团代购 3-线下支付
payStatus int 支付状态 1-未支付 2-已支付/已确认 3-待人工确认 4-用户取消支付 5-人工取消
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML