该接口用于查询某个会员的卡片列表;
无
名称 | 描述 |
---|---|
HTTP URL | https://open.shengyi.pro/card/v1/card |
HTTP Method | GET |
content-type 必填 string
示例:application/json
固定值:application/json
appid 必填 string
示例:10000000000
应用唯一标识,可以从众流生意app中的开放平台中获取
client_token 必填 string
示例:laOVEe3aNYY*****
用户授权令牌
simple 必填 int
示例:1
固定值:1
paginate_type 必填 int
示例:1
固定值:1
current_page 必填 int
示例:1
当前页
per_page 必填 int
示例:30
每页数,最大为100
vip_id 必填 string
示例:dnA0Q1V5bGdXbFFkaW5MOUdlQVY1dz09
会员id
curl --location --request GET 'https://open.shenyi.pro/card/v1/card?client_token=laOVEe3aNYY*****&simple =1&paginate_type=1¤t_page=1&per_page=30&vip_id=dnA0Q1V5bGdXbFFkaW5MOUdlQVY1dz09 \
--header 'Content-Type: application/json' \
code int
示例:200
请求响应
message string
示例:请求成功
请求响应
data struct
card_name string
示例:测试名称
卡片名称
recharge_balance int
示例:100
本金余额,单位:分
give_balance int
示例:100
赠金余额,单位:分
mobile string
示例:156xxxxxxxx
所绑定手机号
remark string
示例:测试
备注
vip struct
{}
会员信息
{
"requestId": "85ac631e7d60330df9c84a8cf6c4cbf7",
"code": 200,
"message": "请求成功",
"data": {
"total": 2,
"per_page": "1",
"current_page": 1,
"last_page": 2,
"attach": null,
"data": [
{
"id": "bkhGanE4Q0tzT3JhZDVGTnVJNWhmQT09",
"coll_id": "TVE1WW5iRE1NaUdMbytkS2dXR2VGUT09",
"merchant_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"merchant_name": "",
"vip_id": "aU5mWVM4dE5ScGRBeXBwK1hJcnpPQT09",
"mobile": "15847067491",
"mobile_end": "7491",
"card_mould_id": "ZlRxYnZPaXpRWDRuY1JzQm1SbUxLdz09",
"card_name": "盖迪测试旧卡模板",
"card_number": "",
"auth_code": "d7a7c6146b6afc57376b142a22d8b7ea",
"card_code": "",
"password_pay": "********",
"discount": 100,
"denomination": 2000,
"frequency_num": 0,
"valid_start_time": null,
"valid_end_time": null,
"card_mould_level_id_bak": "",
"card_mould_level_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"recharge_balance": 0,
"history_recharge_balance": 1000,
"give_balance": 756,
"history_give_balance": 1000,
"card_status_id": 1,
"card_type_id": 2,
"card_cancel_status_id": 1,
"end_use_time": "2025-01-17 18:37:54",
"remark": "",
"end_consumption_time": 0,
"update_time": 1737110274,
"create_time": "2025-01-17 13:52:20",
"vip": {
"id": "aU5mWVM4dE5ScGRBeXBwK1hJcnpPQT09",
"merchant_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"merchant_name": "",
"coll_id": "TVE1WW5iRE1NaUdMbytkS2dXR2VGUT09",
"store_id1": 0,
"store_id2": 733,
"transfer_commercial_tenant_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"user_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"import_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"vip_menu_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"vip_name": "马上发i",
"nick_name": "房文龙",
"avatar_url": "https://zhongliulingshou.oss-cn-hangzhou.aliyuncs.com/avatar/vip/173466412824577728152813130.jpg",
"openid": "",
"openid1": "",
"openid2": "",
"openid3": "",
"openid4": "",
"openid5": "",
"platformid": "",
"userid": "",
"alipay_id": "",
"appletid": "",
"zhongliuid": "bGOIuby-kt7_a3-Zj_T7BGbU",
"auth_code": "",
"password_pay": "********",
"mobile": "15847067491",
"mobile_end": "",
"sex": 1,
"birthday": "未设置生日",
"birthday1": "",
"recharge_balance": 88610,
"history_recharge_balance": 1534154502,
"give_balance": 0,
"history_give_balance": 29890000,
"history_consumption_money": 2673686,
"history_vip_top_up_money": 1545374502,
"history_vip_pay_money": 0,
"history_vip_consumption_money": 2668086,
"invoice_balance": 0,
"import_balance": 0,
"integral": 13727,
"history_integral": 13727,
"empty_integral": 0,
"year_integral": 0,
"year_integral_may": 0,
"year_integral_pay": 0,
"store_union_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"vip_level_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"vip_level_id1": 4970,
"vip_level_id2": 4846,
"vip_level_id3": 0,
"vip_level_id9": 0,
"vip_level_id_new": -1,
"store_num": 0,
"customer_num": 29,
"vip_top_up_num": 11,
"plus_vip_open_time": 0,
"plus_vip_end_time": 0,
"vip_top_up_num1": 0,
"customer_num1": 0,
"history_consumption_money1": 0,
"history_vip_consumption_money1": 0,
"vip_type_id": 1,
"experience": 0,
"end_store_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"vip_status_id": 0,
"attach": "",
"vip_password_pay_status_id": 1,
"remark": "",
"referrer_vip_id": "WEUxVmpKOVBaeHdneGlSVTBZWXQrUT09",
"vip_from_id": "MVpVMUZoU2k0OWdEMTRyK21mMjNrQT09",
"vip_cancel_status_id": 1,
"first_vip_top_up_status_id": 1,
"vip_top_up_status_id": 1,
"end_consumption_time": 1737094590,
"start_top_up_time": 1722923745,
"end_top_up_time": 1737091878,
"update_time": "2025-01-17 14:16:27",
"create_time": "2024-06-29 13:54:54",
"is_refresh": 0,
"balance": 88610
},
"discount_method": [],
"card_type": {
"id": "bkhGanE4Q0tzT3JhZDVGTnVJNWhmQT09",
"card_type_name": "储值卡",
"card_type_name_en": "Stored value card",
"create_time": null
},
"card_status": {
"id": "Ni9FL1dYaWxWY0h5UElSZlpPYk9QUT09",
"card_status_name": "启用",
"card_status_name_en": "Enable",
"create_time": null
},
"card_cancel_status": {
"id": "Ni9FL1dYaWxWY0h5UElSZlpPYk9QUT09",
"card_cancel_status_name": "未注销",
"card_cancel_status_name_en": "Unregistered",
"create_time": null
},
"balance": 756
}
]
},
"time": 1737341561
}