producttestrecord - 食品检测记录接口
- api/merchant/producttestrecord/getlist GET 获取列表
- api/merchant/producttestrecord/get GET 获取指定信息
- api/merchant/producttestrecord/create POST 新增
- api/merchant/producttestrecord/update POST 修改
- api/merchant/producttestrecord/delete POST 删除
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| endDate | date | |
| keyword | string | |
| merchantId | integer | |
| pageIndex | integer | |
| pageSize | integer | |
| shopId | integer | |
| startDate | date | |
| tested | integer |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | [...] | |
| ┆- dispose | string | 处理情况 |
| ┆- id | integer | id |
| ┆- merchantCode | string | 商户号 |
| ┆- merchantId | integer | 商户Id |
| ┆- merchantName | string | 商户名称 |
| ┆- productClass | string | 商品类别 |
| ┆- productId | integer | 商品Id |
| ┆- productName | string | 商品名称 |
| ┆- qty | decimal number | 检测数量 |
| ┆- shopId | integer | 门店Id |
| ┆- shopName | string | 门店名称 |
| ┆- testDate | date | 检测日期 |
| ┆- tested | boolean | 检测结果 |
| ┆- testItem | string | 检测项目 |
| pageIndex | integer | |
| pageSize | integer | |
| sumData | {...} | |
| ┆- dispose | string | 处理情况 |
| ┆- id | integer | id |
| ┆- merchantCode | string | 商户号 |
| ┆- merchantId | integer | 商户Id |
| ┆- merchantName | string | 商户名称 |
| ┆- productClass | string | 商品类别 |
| ┆- productId | integer | 商品Id |
| ┆- productName | string | 商品名称 |
| ┆- qty | decimal number | 检测数量 |
| ┆- shopId | integer | 门店Id |
| ┆- shopName | string | 门店名称 |
| ┆- testDate | date | 检测日期 |
| ┆- tested | boolean | 检测结果 |
| ┆- testItem | string | 检测项目 |
| totalCount | integer |
响应示例
application/json, text/json
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | integer |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| dispose | string | 处理情况 |
| id | integer | id |
| merchantCode | string | 商户号 |
| merchantId | integer | 商户Id |
| merchantName | string | 商户名称 |
| productClass | string | 商品类别 |
| productId | integer | 商品Id |
| productName | string | 商品名称 |
| qty | decimal number | 检测数量 |
| shopId | integer | 门店Id |
| shopName | string | 门店名称 |
| testDate | date | 检测日期 |
| tested | boolean | 检测结果 |
| testItem | string | 检测项目 |
响应示例
application/json, text/json
{
"shopId": 1,
"shopName": "",
"merchantId": 3,
"merchantCode": "",
"merchantName": "",
"testDate": "2026-01-15 10:11:34",
"productId": 7,
"productClass": "",
"productName": "",
"testItem": "",
"qty": 11.0,
"tested": true,
"dispose": "",
"id": 14
}
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| dispose | string | 处理情况 |
| id | integer | id |
| merchantCode | string | 商户号 |
| merchantId | integer | 商户Id |
| merchantName | string | 商户名称 |
| productClass | string | 商品类别 |
| productId | integer | 商品Id |
| productName | string | 商品名称 |
| qty | decimal number | 检测数量 |
| shopId | integer | 门店Id |
| shopName | string | 门店名称 |
| testDate | date | 检测日期 |
| tested | boolean | 检测结果 |
| testItem | string | 检测项目 |
请求示例
application/json, text/json
{
"shopId": 1,
"shopName": "",
"merchantId": 3,
"merchantCode": "",
"merchantName": "",
"testDate": "2026-01-15 10:11:34",
"productId": 7,
"productClass": "",
"productName": "",
"testItem": "",
"qty": 11.0,
"tested": true,
"dispose": "",
"id": 14
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | 附加信息 |
| status | string | 200:成功; 500:内部错误; 601:卡不可用; 602:卡不存在; 603:卡挂失; 604:卡作废; 605:卡余额不足; 606:卡付款码超时; 607:积分不足; 608:礼品不可用; 701:支付成功; 702:支付确认失败; 703:支付状态未知; 704:付款码超时; 801:流水号重复; 901:未日结; 902:日结进行中; 903:日结中断; 904:日结完成; 905:日结金额发生变化; 1001:无法购买; 1002:已售罄; 1003:支付超时 |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}
请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| dispose | string | 处理情况 |
| id | integer | id |
| merchantCode | string | 商户号 |
| merchantId | integer | 商户Id |
| merchantName | string | 商户名称 |
| productClass | string | 商品类别 |
| productId | integer | 商品Id |
| productName | string | 商品名称 |
| qty | decimal number | 检测数量 |
| shopId | integer | 门店Id |
| shopName | string | 门店名称 |
| testDate | date | 检测日期 |
| tested | boolean | 检测结果 |
| testItem | string | 检测项目 |
请求示例
application/json, text/json
{
"shopId": 1,
"shopName": "",
"merchantId": 3,
"merchantCode": "",
"merchantName": "",
"testDate": "2026-01-15 10:11:35",
"productId": 7,
"productClass": "",
"productName": "",
"testItem": "",
"qty": 11.0,
"tested": true,
"dispose": "",
"id": 14
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | 附加信息 |
| status | string | 200:成功; 500:内部错误; 601:卡不可用; 602:卡不存在; 603:卡挂失; 604:卡作废; 605:卡余额不足; 606:卡付款码超时; 607:积分不足; 608:礼品不可用; 701:支付成功; 702:支付确认失败; 703:支付状态未知; 704:付款码超时; 801:流水号重复; 901:未日结; 902:日结进行中; 903:日结中断; 904:日结完成; 905:日结金额发生变化; 1001:无法购买; 1002:已售罄; 1003:支付超时 |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}
请求参数
| 无 |
|---|
请求示例
application/json, text/json
{}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | 附加信息 |
| status | string | 200:成功; 500:内部错误; 601:卡不可用; 602:卡不存在; 603:卡挂失; 604:卡作废; 605:卡余额不足; 606:卡付款码超时; 607:积分不足; 608:礼品不可用; 701:支付成功; 702:支付确认失败; 703:支付状态未知; 704:付款码超时; 801:流水号重复; 901:未日结; 902:日结进行中; 903:日结中断; 904:日结完成; 905:日结金额发生变化; 1001:无法购买; 1002:已售罄; 1003:支付超时 |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}