简要描述:
请求域名:
请求URL:
GET/plugin.store-oil-station.frontend.license-plate.index
参数:
参数名 |
是否必须 |
类型 |
说明 |
plate_num |
是 |
string |
车牌号 |
获取会员优惠券
参数:uid 会员ID
plugin.new-coupon.frontend.controllers.member-coupon.get-list
返回示例:
正确时返回:
{
"result": 1,
"msg": "车辆会员信息",
"data": {
"license_plate": [],
"member": {
"uid": 2455,
"avatar": "http://demo.yun.cn/static/upload/images/6/2018/04/yCfnKfcWicKXATi5fKI0watW8K0tz0.jpg",
"nickname": "Joe",
"realname": "demo测试",
"mobile": "15219025049",
"createtime": "2017-11-07 16:49:28",
"credit1": "10044.50",
"credit2": "10089.00",
"avatar_image": "http://demo.yun.cn/static/upload/images/6/2018/04/yCfnKfcWicKXATi5fKI0watW8K0tz0.jpg",
"username": "Joe",
"parent_id": 2454,
"level_name": "第一",
"parent_member": {
"uid": 2454,
"avatar": "http://wx.qlogo.cn/mmopen/9M0PhLTmTIfg9jKoeUWscF2hib3zprwD9qzpMHZvAPDOkUrTQBIBibX8sTdmIIDxmfSXrMrWYNCXZCeOFCDmIrAJa7OUaHrpf1/0",
"nickname": "kaizhao",
"mobile": "",
"avatar_image": "http://wx.qlogo.cn/mmopen/9M0PhLTmTIfg9jKoeUWscF2hib3zprwD9qzpMHZvAPDOkUrTQBIBibX8sTdmIIDxmfSXrMrWYNCXZCeOFCDmIrAJa7OUaHrpf1/0",
"username": "kaizhao"
},
"love": "260.00",
"tags": [
{
"id": 1,
"uniacid": 6,
"title": "测试",
"color": "#000",
"group_id": 1,
"update_time": null,
"type": 1,
"group_condition_type": 2,
"created_at": "2024-06-06 16:41:09",
"updated_at": "2024-06-06 16:41:09",
"deleted_at": null
}
]
},
"order_list": {
"current_page": 1,
"data": [
{
"id": 1,
"uniacid": 6,
"store_id": 8,
"order_id": 895,
"oil_id": 1,
"litre": "100.00",
"litre_price": "8.90",
"plate_num": "12345678",
"created_at": null,
"oil_name": "93",
"goods_title": "门店8测试111",
"has_one_order": {
"id": 895,
"order_sn": "SN2112171619707308",
"uid": 2455,
"status": 3,
"pay_type_id": 5,
"pay_time": "2021-12-17 16:19:29",
"price": "180.00",
"discount_price": "0.00",
"deduction_price": "150.00",
"goods_price": "300.00",
"order_goods_price": "300.00",
"status_name": "交易完成",
"pay_type_name": "后台"
},
"oils_quality": {
"id": 1,
"uniacid": 6,
"sort_value": 1,
"oil_name": "93",
"oil_price": "8.76",
"created_at": "2024-05-06 16:22:40"
}
}
],
"last_page": 1,
"per_page": 10,
"total": 1
},
"show_limit": {
"parent_member": 0,
"level_name": 0,
"createtime": 0,
"point": 1,
"balance": 1,
"love": 0,
"gold_coin": 0,
"refueling_gold": 0
}
}
}
错误时返回:
返回参数说明:
参数名 |
类型 |
说明 |
license_plate |
obj |
车辆信息 |
member |
obj |
会员信息 |
order_list |
obj |
订单列表分页数据 |
show_limit |
obj |
数据显示权限:0不显示1显示 |
show_limit参数说明:
参数名 |
类型 |
说明 |
parent_member |
int |
推荐人 |
level_name |
int |
等级 |
createtime |
int |
创建时间 |
point |
int |
积分 |
balance |
int |
余额 |
love |
int |
爱心值 |
gold_coin |
int |
金币 |
refueling_gold |
int |
加油金 |
member参数说明:
参数名 |
类型 |
说明 |
uid |
int |
会员ID |
avatar |
string |
会员头像 |
mobile |
string |
手机号 |
level_name |
string |
会员等级 |
credit2 |
float |
余额 |
credit1 |
float |
积分 |
love |
float |
爱心值 |
createtime |
string |
注册时间 |
parent_member.username |
string |
推荐人 |
tags[].id |
int |
会员标签ID |
tags[].title |
string |
会员标签名称 |
tags[].color |
string |
会员标签颜色 |
order_list 参数说明:
参数名 |
类型 |
说明 |
order_id |
int |
订单ID |
has_one_order.status_name |
string |
订单状态 |
has_one_order.pay_time |
string |
支付时间 |
plate_num |
string |
车牌号 |
oil_name |
string |
油号 |
goods_title |
string |
油品名称 |
litre_price |
string |
单价 |
litre |
string |
数量 |
has_one_order.order_goods_price |
string |
合计金额 |
has_one_order.discount_price |
string |
优惠金额 |
has_one_order.deduction_price |
string |
抵扣金额 |
has_one_order.price |
string |
支付金额 |
license_plate 参数说明:
参数名 |
类型 |
说明 |
id |
int |
车辆ID |
license_no |
string |
车牌号 |
car_vin |
string |
车架号 |
brand_model |
string |
品牌型号 |
engine_no |
string |
发动机号 |
init_time |
string |
初登日期 |
last_insurance |
string |
上年投保公司 |
force_insure_end_time |
string |
交强险到期时间 |
business_insure_end_time |
string |
商业险到期时间 |
coupon_list 参数说明:
参数名 |
类型 |
说明 |
order_id |
int |
订单ID |
备注: