文档
测试

交易详情

POST
http://localhost:8080/app/payment/deal/detail

请求参数

参数名
类型
描述
必填
user_id
String
用户ID
必填
sn_no
String
终端sn
必填
query_month
String
查询年月
必填
page
int
当前页数 示例:1
必填
limit
int
每页加载条数 示例:6
必填
sign
string
请求接口签名 示例:04fecd28fd7ffa2c29a91b7789865144
必填

响应参数

参数名
类型
描述
必填
code
number
示例:0 成功 -1 失败
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
total_deal_amount
double
累计交易金额
必填
title
string
标题 例如:2021年11月数据统计
必填
description
string
描述 例如:包含11-01至11-30的收益
必填
month_deal_amount
double
本月交易金额
必填
month_deal_detail
list
本月交易明细列表
必填
amount
double
交易金额
必填
card_no
string
交易卡号
必填
deal_time
string
交易时间
必填
deal_type
string
交易类型
必填

说明 / 示例

{ "code": 1, "errors": { }, "msg": "加载成功", "result": { "month_deal_detail": [ { "amount": 1000, "card_no": "62201212232455", "user_id": "01f4667fdb204480855e0ae615c0fb69", "pos_id": "pos_1", "deal_type": "消费", "deal_time": "2021-11-21 12:23:21", "id": "123", "card_type": "贷记卡", "sn_no": "test_01", "add_time": "2021-11-22 12:23:21", "pos_title": "牛逼pos" }, { "amount": 3000, "card_no": "6122344555546", "user_id": "01f4667fdb204480855e0ae615c0fb69", "pos_id": "pos_1", "deal_type": "消费", "deal_time": "2021-11-20 12:23:21", "id": "456", "card_type": "贷记卡", "sn_no": "test_01", "add_time": "2021-11-22 12:23:21", "pos_title": "牛逼pos" } ], "total_deal_amount": "4000.00", "description": "包含11-01至11-30的收益", "month_deal_amount": 4000, "title": "2021年11月数据统计" } }