文档
测试

查询会员卡类型

GET
http://localhost:8002/memberType/getMemberType?shop_id=20

接口描述

查询会员卡类型接口

请求参数

参数名
类型
描述
必填
shop_id
number
示例:20
必填

响应参数

参数名
类型
描述
必填
code
number
示例:200
必填
msg
string
示例:添加成功!
必填
data
object
示例:null
必填
other
object
示例:null
必填
code
number
示例:200
必填
msg
string
示例:
必填
data
array
数据列表
必填
id
number
示例:3
必填
type_name
string
示例:钻石卡
必填
amount
number
示例:1000
必填
cutting_discount
number
示例:7
必填
dyeHair_discount
number
示例:8
必填
marcel_discount
number
示例:7
必填
shop_id
number
示例:20
必填
other
object
示例:null
必填

说明 / 示例

{ "code": 200, "msg": "", "data": [ { "id": 3, "type_name": "钻石卡", "amount": 1000, "cutting_discount": 7, "dyeHair_discount": 8, "marcel_discount": 7, "shop_id": 20 } ], "other": null }