# 获取用户消费限制
接口地址 /openapi/common/schoolGeneralApi/getSpendingLimit/v1
请求方式 post
consumes ["application/json"]
请求参数
参数名称 | 说明 | 参数类型 | 是否必须 | 类型 |
---|---|---|---|---|
schoolUserId | 校园用户ID | body | true | string |
返回参数
参数名称 | 说明 | 类型 |
---|---|---|
id | 消费限制记录ID | string |
schoolUserId | 校园用户ID | string |
spendingLimitStatus | 消费限制开关 1:开启 2:关闭 | Integer |
canteenOnePrice | 限定食堂单笔交易金额 (分) | BigDecimal |
canteenDayPrice | 限定食堂当日交易金额 (分) | BigDecimal |
canteenMonthPrice | 限定食堂当月交易金额(分) | BigDecimal |
supermarketOnePrice | 限定超市单笔交易金额 (分) | BigDecimal |
supermarketDayPrice | 限定超市当日交易金额 (分) | BigDecimal |
supermarketMonthPrice | 限定超市当月交易金额 (分) | BigDecimal |
automatOnePrice | 限定自助机单笔交易金额 (分) | BigDecimal |
automatDayPrice | 限定自助机当日交易金额 (分) | BigDecimal |
automatMonthPrice | 限定自助机当月交易金额 (分) | BigDecimal |
schoolDayPrice | 学校限定每天交易金额 (分) | BigDecimal |
schoolOrderPrice | 学校限定每笔交易金额 (分) | BigDecimal |
schoolLimitCount | 日消费限制交易次数 | Integer |
响应示例
{
"code": 200,
"msg": null,
"obj": {
"id": "1438436163466575872",
"name": null,
"createTime": null,
"updateTime": "2021-09-18 21:16:56",
"delFlag": 1,
"schoolUserId": "1355756788511105024",
"spendingLimitStatus": 1,
"canteenOnePrice": 100.00,
"canteenDayPrice": 200.00,
"canteenMonthPrice": 300.00,
"supermarketOnePrice": 400.00,
"supermarketDayPrice": 900.00,
"supermarketMonthPrice": null,
"automatOnePrice": 2.00,
"automatDayPrice": 700.00,
"automatMonthPrice": 800.00,
"schoolDayPrice": 1200.00,
"schoolOrderPrice": 200.00,
"schoolLimitCount": 10
},
"sign": "df951a83e3fc7462241752dd7e65398b"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26