用户获取营业方案列表
简要描述:
- 用户获取营业方案列表
请求URL:
http://192.168.12.67/s1/openapi/openapi/base/arch/completepullarchinfo
请求方式:
- POST
请求类型:
- application/json
加密类型:
-
RSA
请求示例
{
"ispInfoId": 10007,
"data": "KgjvIJMdVKi1BnTBiiWv+KLI9V4bfnD/fNNbbRQTpyVTKVB2PcpqzkHhWLOzaCfCDc2At+Hz1E4UtlZYCb7cAWd8XrLVqOOe+mMOCAcSmDc6XuIIloEc1aeOYCQSlNhyAxiMWd0keA7ZZRG8GRkIUljCDStCVJ2Tgt4FKbsXqZQ="
}
data请求参数说明:
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
centerId | 是 | Integer | 集团ID |
type | 是 | Integer | 11:营业方案 |
返回示例
{
"result": 0,
"msg": "请求成功",
"code": "0",
"errorMsg": "",
"data":
"hJOx8SJeNp8Yb2Pn+1EuHJ4QPy0FlwVawCcYtXb8Af+j+3sv8jtYAHebjbqr56wvfATPiF6xSGBWVTNLwMK2MENSSuYnTXaVLJwZQ27r20TrL25Xh5Rvc0kukDJ97sDKMYfuu+mNG+C/fdhW2xgHDyCWz3Jtl+n/3GP8nJtbNZk="
}
返回示例
{
"result": 0,
"msg": "请求成功",
"code": "0",
"errorMsg": "",
"data":
"[
{
"id": "1",
"name": "默认方案",
"shopIds": [
10494,
10496,
10495,
10570
],
"planDetails": [
{
"busDay": 1,
"detailList": [
{
"busStart": "00:00",
"busEnd": "23:59"
}
]
},
{
"busDay": 2,
"detailList": [
{
"busStart": "00:00",
"busEnd": "23:59"
}
]
},
{
"busDay": 3,
"detailList": [
{
"busStart": "00:00",
"busEnd": "23:59"
}
]
},
{
"busDay": 4,
"detailList": [
{
"busStart": "00:00",
"busEnd": "23:59"
}
]
},
{
"busDay": 5,
"detailList": [
{
"busStart": "00:00",
"busEnd": "23:59"
}
]
},
{
"busDay": 6,
"detailList": [
{
"busStart": "00:00",
"busEnd": "23:59"
}
]
},
{
"busDay": 7,
"detailList": [
{
"busStart": "00:00",
"busEnd": "23:59"
}
]
}
]
}
]"
}
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
result | int | 状态(0-成功,-1-失败) |
msg | String | 调用成功返回信息) |
code | String | 调用结果Code |
errorMsg | String | 错误信息 |
data | String | 返回数据(加密后) |
data
参数名 | 类型 | 说明 |
---|---|---|
id | Long | 营业方案id |
name | String | 营业方案名称 |
shopIds | List<Integer> | 应用该方案的店铺id |
planDetails | List<ShopBusPlanDetailApiVo> | 方案明细时间段信息 |
createShopId | Integer | 创建门店id |
ShopBusPlanDetailApiVo
参数名 | 类型 | 说明 |
---|---|---|
busDay | Integer | 营业日 周1- 周日 1-7 |
detailList | List<ShopBusPlanDetailApiDescVo> | 营业结束时间 |
ShopBusPlanDetailApiDescVo
参数名 | 类型 | 说明 |
---|---|---|
busStart | String | 营业起始时间 格式:HH:mm |
busEnd | String | 营业结束时间 格式:HH:mm |
备注
- 更多返回错误代码请看首页的错误代码描述
**