文档
测试
POST
https://api.demo.xielongly.com/xielong

请求参数

参数名
类型
描述
必填
appkey
string
系统版本密钥,具体以系统配置为准
必填
xldata
string
传递的加密参数
必填
userid
int
账号
必填
timestamp
int
当前时间戳
必填
sign
string
签名,具体请查看公共说明->3.数字签名
必填
requesttype
string
Elephant-Index-home(接口标识)
必填
data_type
int
返回数据类型1密文 2明文(默认不填为密文)
必填
ip
string
客户端IP
必填
usertoken
string
会员标识(非必填)
必填

响应参数

参数名
类型
描述
必填
status
int
响应状态:400失败 , 200成功
必填
msg
string
返回业务消息提示
必填
xldata
string
返回的加密数据
必填
banner
list
轮播列表
必填
title
string
标题
必填
img
string
图片
必填
url_on
int
是否有URL 1无 2有
必填
url_pc_link
string
PC链接
必填
url_mp_link
string
手机版链接
必填
url_app_link
string
APP链接(已加密,无需解密)使用方式请咨询开发人员
必填
url_small_link
string
小程序链接
必填
card
array
小象卡数据
必填
product_no
卡种编码
必填
img
卡图片
必填

说明 / 示例

```json { "status": 200, "msg": "数据获取成功", "xldata": { "banner": [ { "title": "轮播一", "img": "http://sysdemo.local.xlong.net/uploads/image/20210308/20210308175830_18369.jpg", "url_on": 1, "url_pc_link": "", "url_mp_link": "", "url_app_link": "", "url_small_link": "" }, { "title": "轮播二", "img": "http://sysdemo.local.xlong.net/uploads/image/20210308/20210308180024_58039.jpg", "url_on": 1, "url_pc_link": "", "url_mp_link": "", "url_app_link": "", "url_small_link": "" } ], "card": { "product_no": 90000006, "img": "http://sysdemo.local.xlong.net/uploads/image/20210308/20210308174050_17146.png" } } }