文档
测试

收入记录

POST
http://192.168.0.125:60000/

请求参数

参数名
类型
描述
必填
appkey
string
版本号
必填
xldata
string
传递的加密参数
必填
userid
int
用户id
必填
sign
string
签名
必填
ip
string
IP
必填
appkey
string
appkey(版本号)
必填
requesttype
string
接口标识(GeneraLize_GeneraLize_records)
必填
timestamp
int
当前时间
必填
uid
int
必填

响应参数

参数名
类型
描述
必填
code
number
示例:200
必填
result
object
数据字典
必填
pageinfo
object
数据字典
必填
total
number
列表总数
必填
pageno
number
当前页码
必填
pagetotal
number
总页数
必填
list
array
数据列表
必填
id
number
示例:118
必填
userid
number
示例:56
必填
expend
number
变动类型 1收入2消费
必填
amount
string
示例:40.00
必填
change
string
示例:40.00
必填
after
string
示例:80.00
必填
charge
string
示例:0.00
必填
source
string
示例:
必填
ordersn
number
示例:2004143573093848300
必填
note
string
示例:小程序支付
必填
addtime
number
示例:1586835739
必填
msg
string
示例:成功获取
必填
encryption
number
示例:1
必填

说明 / 示例

{ "code": 200, "result": { "pageinfo": { "total": 2, "pageno": 1, "pagetotal": 1 }, "list": [{ "id": 118, "userid": 56, "expend": 1, "amount": "40.00", "change": "40.00", "after": "80.00", "charge": "0.00", "source": "", "ordersn": 2004143573093848251, "note": "小程序支付", "addtime": 1586835739 }, { "id": 117, "userid": 56, "expend": 1, "amount": "40.00", "change": "0.00", "after": "40.00", "charge": "0.00", "source": "", "ordersn": 2004143536782955343, "note": "小程序支付", "addtime": 1586835375 }] }, "msg": "成功获取", "encryption": 1 }