接口说明
字符编码
接口请求
接口域名
https://api-test.ldvip.cn
https://api.ldvip.cn
Content-Type
参数组成
所有参数名大小写敏感
公共参数列表
参数名 | 类型 | 必填 | 描述 |
---|---|---|---|
appid | string | 是 | 权限id |
version | string | 是 | 接口版本号,固定为1.0 |
reqTime | long | 是 | 当前UNIX时间戳, 13位整数 |
签名参数说明
参数名 | 类型 | 必填 | 描述 |
---|---|---|---|
sign | string | 是 | MD5加密值 |
签名生成算法
1.
2.
3.
请求参数示例
{
// 公共参数
"appid": "100008",
"reqTime": 1653983156871,
"version": "1.0",
// 接口参数
"sku_id": 1002,
"recharge_count": 1,
"biz_order_id": "sk2022092607798216605",
"account": "18507168844",
// 签名
"sign": "BDE03F36864BA8DF1B06AF8A64ECE8C5"
}
// A为
18507168844100008sk20220926077982166051165398315687110021.0
// 假设appsecret为 e10adc3949ba59abbe56e057f20f883e,则B为
18507168844100008sk20220926077982166051165398315687110021.0e10adc3949ba59abbe56e057f20f883e
// 最终sign为
BDE03F36864BA8DF1B06AF8A64ECE8C5
修改于 2023-04-25 08:16:36