文档
测试

购买豪礼卡-获取所有豪礼卡样式

POST
http://crm.houcaller.com/htest/openapi/v1/listStcardStyles

接口描述

获取可购买的所有豪礼卡样式分组列表

请求头

参数名
类型
描述
必填
Content-Type
String
application/json
必填

请求参数

参数名
类型
描述
必填
channel
String
渠道名
必填
timestamp
String
时间戳
必填
param
String
参数(对json字符串进行DES加密,传入空json格式加密后的字符串即可)
必填
gtitle
String
分组标题
可选
gno
String
分组编号
可选

响应参数

参数名
类型
描述
必填
msg
string
响应说明
必填
code
number
响应code
必填
data
object
响应参数
必填
list
array
数据列表
必填
cstyles
array
样式分组
必填
cstyle
string
图片URL
必填
gno
string
分组排序
必填
gtitle
string
分组名称
必填
id
string
样式主键ID
必填
reward
number
是否参与抽奖
必填
sno
string
样式图片排序
必填
gno
string
分组排序
必填
gtitle
string
分组名称
必填

说明 / 示例

请求示例: ``` { "param": "9A0C7B1B7F89A90C", "channel": "hkl-test", "timestamp": "1581904967494" } ``` param明文示例: ``` {} ``` 响应示例: ``` { "msg": "操作成功", "code": 0, "data": { "list": [ { "cstyles": [ { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_ks1.jpg", "gno": "-1", "gtitle": "考场制霸", "id": "18050701", "reward": 0, "sno": "001" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_ks2.jpg", "gno": "-1", "gtitle": "考场制霸", "id": "18050702", "reward": 0, "sno": "002" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_ks3.jpg", "gno": "-1", "gtitle": "考场制霸", "id": "18050703", "reward": 0, "sno": "003" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_ks4.jpg", "gno": "-1", "gtitle": "考场制霸", "id": "18050704", "reward": 0, "sno": "004" } ], "gno": "-1", "gtitle": "考场制霸" }, { "cstyles": [ { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_5201.jpg", "gno": "-2", "gtitle": "520告白卡", "id": "18051701", "reward": 0, "sno": "001" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_5202.jpg", "gno": "-2", "gtitle": "520告白卡", "id": "18051702", "reward": 0, "sno": "002" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_5203.jpg", "gno": "-2", "gtitle": "520告白卡", "id": "18051703", "reward": 0, "sno": "003" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_5204.jpg", "gno": "-2", "gtitle": "520告白卡", "id": "18051704", "reward": 0, "sno": "004" } ], "gno": "-2", "gtitle": "520告白卡" }, { "cstyles": [ { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_sfz.jpg", "gno": "1", "gtitle": "给特别的TA", "id": "43", "reward": 0, "sno": "001" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_txzuo.jpg", "gno": "1", "gtitle": "给特别的TA", "id": "24", "reward": 0, "sno": "002" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/05luck.jpg", "gno": "1", "gtitle": "给特别的TA", "id": "5", "reward": 0, "sno": "003" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_qx3.jpg", "gno": "1", "gtitle": "给特别的TA", "id": "17", "reward": 0, "sno": "004" } ], "gno": "1", "gtitle": "给特别的TA" }, { "cstyles": [ { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_lttn.jpg", "gno": "2", "gtitle": "朋友,挺你", "id": "25", "reward": 0, "sno": "201" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_jmtn.jpg", "gno": "2", "gtitle": "朋友,挺你", "id": "26", "reward": 0, "sno": "202" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/06suport.jpg", "gno": "2", "gtitle": "朋友,挺你", "id": "6", "reward": 0, "sno": "203" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/08treat2.jpg", "gno": "2", "gtitle": "朋友,挺你", "id": "8", "reward": 0, "sno": "204" } ], "gno": "2", "gtitle": "朋友,挺你" }, { "cstyles": [ { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_srkl.jpg", "gno": "3", "gtitle": "生日快乐", "id": "27", "reward": 0, "sno": "301" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/02birth.jpg", "gno": "3", "gtitle": "生日快乐", "id": "2", "reward": 0, "sno": "302" } ], "gno": "3", "gtitle": "生日快乐" }, { "cstyles": [ { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_xxn.jpg", "gno": "4", "gtitle": "感谢有你", "id": "28", "reward": 0, "sno": "401" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_pyxl.jpg", "gno": "4", "gtitle": "感谢有你", "id": "29", "reward": 0, "sno": "402" } ], "gno": "4", "gtitle": "感谢有你" }, { "cstyles": [ { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_jyb.jpg", "gno": "5", "gtitle": "加油吧", "id": "30", "reward": 0, "sno": "501" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_jyb2.jpg", "gno": "5", "gtitle": "加油吧", "id": "31", "reward": 0, "sno": "502" } ], "gno": "5", "gtitle": "加油吧" }, { "cstyles": [ { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_gxn.jpg", "gno": "6", "gtitle": "恭喜你", "id": "32", "reward": 0, "sno": "601" }, { "cstyle": "http://assets.houcaller.com/mtest/assets//images/stc/cs_xyyc.jpg", "gno": "6", "gtitle": "恭喜你", "id": "33", "reward": 0, "sno": "602" } ], "gno": "6", "gtitle": "恭喜你" } ] } } ```