赞
踩
–: 更新时间:2023-7-12
–: 更新人:(山东万有引擎)米白
1.设所有发送或接收到的数据为集合M,将集合M内的非空值的参数按参数名ASCII码从小到大排序(字典序),使用URL键值对的格式(即key1=value1&key=value2…)拼接成字符串stringA;
注意以下规则:
✳参数名ASCII码从小到大排列;
✳如果参数的值为空不参与签名;
✳参数名区分大小写;
✳验证调用返回或主动通知签名时,传送的sign参数不参与签名,将生成的签名与sign做比对。
2.在stringA最后拼接上key(商户密钥,请在后台拿取)得到stringSignTemp字符串,并对stringSignTemp进行md5运算,得到的字符串即为签名sign;
假设传送参数如下:
第一步:对参数对照key=value的格式,并按照参数名ASCII字典序排列如下:
stringA = "actor=lili&body=666&cat=5555";
第二步:拼接商户密钥(假设商户密钥为1234567890123456):
stringB = "actor=lili&body=666&cat=5555&key=1234567890123456";
第三步:将第二步中得到的字符串进行md5运算
sign = md5(stringB);
function makesign($data,$key){ $p =ksort($data); if($p){ $str = ''; foreach ($data as $k\=>$val){ $str .= $k .'=' . $val . '&'; } $strs = rtrim($str, '&'); } $sign = md5($strs.'&key='.$key); return $sign2; }
请求地址规则:
https://网关地址/接口名称/?muchid=商户号
设网关地址为 http://www.aa.com/api/
设接口名称为:index/index
设商户号为: 123456789
则完整请求url为 http://www.aa.com/api/index/index?muchid=123456789
本系统使用openssl的aes256加解密算法
function encrypt(){
$data = array(
"orderid"=>"123456789";
);
$method = "AES-256-CBC"; //固定值
$iv = "a123b123c123d123"; //固定值
$key = "1234567890"; //请替换为自己的商户密钥
$encrypted = openssl_encrypt(json_encode($data), $method, $key, 0 ,$iv);
}
function decrypt($data){
$method = "AES-256-CBC"; //固定值
$iv = "a123b123c123d123"; //固定值
$key = "1234567890"; //请替换为自己的商户密钥
$decrypt = json_decode(openssl_decrypt($data, $method, $key, 0 ,$iv),1);
}
此接口用户对照自己的参数加密后 是否与服务端加密信息一致。
接口名:index/encrypt
参数名称 | 是否必选 | 类型 | 描述 |
---|---|---|---|
value1 | 是 | string | 参数1 |
value2 | 是 | string | 参数2 |
value… | 是 | string | 参数… |
{
"data": "ocijro1ISvk8GyIMbqiQ44tXba65fRpf4s0vssBwBWFajOordtvAaKGLTvHDMV9N+2uB71PB8z9zeGH8yr0iIgzNtqSIUl2qAFxMmeaKMQHlMg9eJv90a0zAaqZP8r5lK/CFd84rIWUFOwZkHNHmQSEbm9E7DkzpZHkuia4r+FtN/b8kMp0KI0agqL8dAFrk"
}
接口名:index/decode
参数名称 | 是否必选 | 类型 | 描述 |
---|---|---|---|
value1 | 是 | string | 参数1 |
value2 | 是 | string | 参数2 |
value… | 是 | string | 参数… |
"436a0963366f7dba90d89326bb4208f4"
此接口用于核对自己的生成的签名是否与服务端生成的签名一致。
接口名:index/makesign
参数名称 | 是否必选 | 类型 | 描述 |
---|---|---|---|
value1 | 是 | string | 参数1 |
value2 | 是 | string | 参数2 |
value… | 是 | string | 参数… |
"436a0963366f7dba90d89326bb4208f4"
接口名:video/getvideolist
参数名称 | 是否必选 | 类型 | 描述 |
---|---|---|---|
muchid | 是 | string | 商户号(请登录商户后台查看) |
page | 是 | string | 页码 |
sign | 是 | string | 签名(详见基本说明签名生成) |
返回的json中取data数据执行解密,code=1为成功,非1全为失败,失败原因请查看msg。
参数名称 | 是否必返回 | 类型 | 描述 |
---|---|---|---|
list | 是 | json | 剧集列表 |
count | 是 | json | 共多少个短剧 |
{
"code": 1,
"msg": "success",
"time": "1689155056",
"data": {
"data": "7BFlelOWyqu4oy0Zp3JtnU0zn1oxQ5otawLdiibNL6m1n/5vxV/ywq1d9NyrYUXHfxydFhyfvqYG7wkYudwVwHOag6J2/rK2cpwGQmcKnW4nGnaWMhrj9oDnzfjxnQx59+/eY+7nxERRs3XMVPb1BEvD4jJK1QVYoVSdecbi+y9UPT8l+zsLT1Ks9yHdjnXiNyRLSU9rMiBV60MzYCFA5ZcNJZKbG+6VapS/DFjg/bpziVnWmhfpeTH4E023JUa10tBRPnlK/6GvSTmnAhE7TUB5bhHYc67ZjFHg/5bGbknRTM6786W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XmOLsKj6lVr3qj75k9m1SDCjDpkBFVkoAyqeArK96PNeWimxLkpS+fcYdn4K4jhJZdl055zsNCOe3wZvvxYwb7NACpp/GVxCgM4kcQRrojk7cC2X9hTs1U7eOTsd2+L1slfOWrYvgZ/tuD6/7swps9YxiVcvcuKi3bDj3OueKWVffyNjRgB1j3MOYyKo="
}
}
接口名:video/getvideodetail
参数名称 | 是否必选 | 类型 | 描述 |
---|---|---|---|
muchid | 是 | string | 商户号(请登录商户后台查看) |
videoid | 是 | string | 短剧ID |
page | 是 | string | 页码 |
sign | 是 | string | 签名(详见基本说明签名生成) |
返回的json中取data数据执行解密,code=1为成功,非1全为失败,失败原因请查看msg。
参数名称 | 是否必返回 | 类型 | 描述 |
---|---|---|---|
id | 是 | string | 剧集ID |
name | 是 | string | 短剧名字 |
img | 是 | string | 短剧图片 |
paixu | 是 | string | 第几集的排序 |
pid | 是 | string | 上级短剧的videoid |
{
"code": 1,
"msg": "success",
"time": "1689157120",
"data": {
"data": "VOCleliXEwhxpzJp+Fcud21ieBpIKAThYiZ+uvYwKTDLi4s3Fyo7U+GovqzAJaT+52pLmV/tl9R14zIAtRvhk4QSvMP42k+SprS+bPolF1+Y0g7ZFJmPoE8Zh0fKQ3trQPhksldG3FTVXr83fIn/4uYvlnJAy4nGdMidsI18OaDdmeaSVF2P2+pcTF4hdW26koqCbNq5ZHPuce1+Cjb1EsS8GpAjt2t6oyBJwFQnWeQ2Q9xt3+6lTJUROXOqyPYk0/WjdnnLVV23KI+TKMkQbMDDbQu3l9pm3IkhuCdm35PpIX02hzGKxRUehVFsTtqdc0ttsMZXwqLDj1sYHPguh+foL4RnURobSUkgG+8TFJKChTgsh+0f5J2R9i5TjNdvXeaeDdos/akAo+fwHBjYqh2Dd67u/lz14+Ejqx3XyDXZKu84oW8kjnE9I2mYybNXOU+O7G/6R9L4YjSeCKks/hzNyK+BbsaKrZzCOlYlsIexwd+odH4/NvRSODGwQxv6fZ5JOpzcUdEMqasFD1GIVWFjGC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sWbLSoh9c3/tvafGOM1NHRLXACQ4ms"
}
}
接口名:video/getvideourl
参数名称 | 是否必选 | 类型 | 描述 |
---|---|---|---|
muchid | 是 | string | 商户号(请登录商户后台查看) |
playid | 是 | string | 剧集ID(在短剧剧集列表中返回的id) |
sign | 是 | string | 签名(详见基本说明签名生成) |
返回的json中取data数据执行解密,code=1为成功,非1全为失败,失败原因请查看msg。
参数名称 | 是否必返回 | 类型 | 描述 |
---|---|---|---|
id | 是 | string | 剧集ID |
name | 是 | string | 短剧名字 |
img | 是 | string | 短剧图片 |
videourl | 是 | string | 播放地址(有效期1小时,过期后需要重新请求新的授权播放地址) |
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。