# 饮水-吹风服务使用
接口地址 /openapi/common/schoolSmartDeviceApi/useMerchantService/v1
请求方式 POST
consumes ["application/json"]
produces ["*/*"]
接口描述 ``
请求参数
参数名称 | 说明 | 参数类型 | 是否必须 | 类型 |
---|---|---|---|---|
payType | 支付类型 4.吹风套餐使用 5.饮水套餐使用 | body | true | string |
payWay | 设备类型 1微信 2支付宝 | body | true | string |
schoolUserId | 微信out_user_id 与userUid必填一项 | body | true | string |
userUid | 支付宝用户uid与schoolUserId必填一项 | body | true | string |
响应参数
参数名称 | 说明 | 类型 |
---|---|---|
resCount | 服务剩余使用次数 | int32 |
resDayCount | 服务剩余使用天数 | string |
响应示例
{
"code": 200,
"msg": "订单支付成功",
"obj": {
"resCount": 0,
"resDayCount": 5
},
"sign": "df951a83e3fc7462241752dd7e65398b"
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9