会员等级列表

请求地址(POST)
https://app.jiujiuke.net/api/JJkInterface/GetMemberLevelList?interfacekey=[InterfaceKey]&signature=[Signature]&timestamp=[TimeStamp]
字段 说明
InterfaceKey 接口密钥
Signature 字符串=(InterfaceKey+SignToken+TimeStamp+data),再将字符串中的字符按照升序排列,最终签名 = MD5(字符串),格式:32位MD5大写加密
TimeStamp 发起请求的时间戳,查看标准TimeStamp
请求说明
data={"CompCode":"lucksoft"}
字段 是否必须 说明
CompCode 企业代码
返回说明
成功时返回:
{"status":1,"msg":"00","total":0,"obj":null,"rows":[{"ID":"13355483450687488","LevelName":"24234","NeedPoint":0.0,"PointPercent":0.0,"DiscountPercent":1.0,"Months":0,"ShopID":0,"IsValueCard":1,"StartValue":4.0,"IsPointCard":1,"PointInfo":"","IsDiscountCard":1,"IsCountCard":0,"StartCount":"","IsTimeCard":0,"TimeCardType":365,"TimeCardQty":0,"Remark":"","UpLevelType":0,"UpLevelNum":0.0,"UpLevelID":"","UpLevelName":"","UpLevelDown":0,"IsDelete":0,"CompID":1001},{"ID":"13356650682220544","LevelName":"普通","NeedPoint":0.0,"PointPercent":0.1,"DiscountPercent":0.9,"Months":0,"ShopID":0,"IsValueCard":1,"StartValue":0.0,"IsPointCard":1,"PointInfo":"10|1","IsDiscountCard":1,"IsCountCard":1,"StartCount":"","IsTimeCard":1,"TimeCardType":1,"TimeCardQty":1,"Remark":"","UpLevelType":0,"UpLevelNum":0.0,"UpLevelID":"0","UpLevelName":"","UpLevelDown":0,"IsDelete":0,"CompID":1001},{"ID":"13356650805166080","LevelName":"高级","NeedPoint":0.0,"PointPercent":0.1,"DiscountPercent":0.8,"Months":0,"ShopID":0,"IsValueCard":1,"StartValue":0.0,"IsPointCard":1,"PointInfo":"10|1","IsDiscountCard":1,"IsCountCard":1,"StartCount":"","IsTimeCard":1,"TimeCardType":1,"TimeCardQty":1,"Remark":"","UpLevelType":0,"UpLevelNum":0.0,"UpLevelID":"0","UpLevelName":"","UpLevelDown":0,"IsDelete":0,"CompID":1001}],"rowData":null}
字段 说明
status 返回状态码(1,成功;其它,失败)
msg 返回消息("00"-请求成功)
total 数据总记录数:用于分页
obj 单个记录
rows 数据记录
ID 等级自动编号
LevelName 等级名称
NeedPoint 所需积分
PointPercent 积分兑换比例
DiscountPercent 折扣比例
Months 有效期月数
ShopID 所属商家ID
IsValueCard 是否储值卡(1是 0否)
StartValue 初始余额
IsPointCard 是否积分卡(1是 0否)
PointInfo 积分兑换内容
IsDiscountCard 是否折扣卡(1是 0否)
IsCountCard 是否计次卡(1是 0否)
StartCount 初始计次项目
IsTimeCard 是否限时卡(1是 0否)
TimeCardType 限时卡类型(1-天 7-周 30-月 365-年)
TimeCardQty 限时数值
Remark 备注
UpLevelType 会员升级方案(0、未设置 1、账户积分达到多少时升级 2、累计充值额度达到多少时升级 3、累计消费金额达到多少时升级)
UpLevelNum 升级所需数量
UpLevelID 升级后级别编号
UpLevelName 升级后级别名称
UpLevelDown 是否自动降级(1是 0否)针对“积分达到”的升级方式,考虑降级功能
IsDelete 是否删除
CompID 企业ID
rowData 数据记录
失败时返回:
{"status":0,"message":"99"}
字段 是否必须 说明
status 状态(1,成功;其它,失败)
message 错误码(00,成功;其它,失败)