1.获取打印分组列表
接口
POST https://open.jisuapp.cn/business/Shop/GetReceiptGroupList
请求参数说明
Content-Type: application/x-www-form-urlencoded
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | String | Y | 用户授权的唯一票据 |
page | int | Y | 页码 |
page_size | int | Y | 页数 |
id | int | N | 查询单个分组 |
参数返回示例
{
"status": 0,
"data": [
{
"id": "2",
"app_id": "FatFitm5Tm",
"name": "小票分组1",
"add_time": "1564558223",
"update_time": "0",
"is_deleted": "0"
}
],
"is_more": 0,
"current_page": 1,
"count": "1",
"total_page": 1
}
2.编辑打印分组
接口
POST https://open.jisuapp.cn/business/Shop/AddReceiptGroup
请求参数说明
Content-Type: application/x-www-form-urlencoded
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | String | Y | 用户授权的唯一票据 |
name | string | Y | 分组名称 |
id | int | N | 编辑分组id |
3.删除打印分组
接口
POST https://open.jisuapp.cn/business/Shop/DelReceiptGroup
请求参数说明
Content-Type: application/x-www-form-urlencoded
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | String | Y | 用户授权的唯一票据 |
id | int | Y |