2026-05-14 18:16:24 +08:00

410 lines
11 KiB
JSON

{
"数据一览": {
"当前请求数": 13,
"成功数": 3,
"全部请求数": 13,
"成功数与全部请求数": "3/13",
"成功判定名单": [
"ok",
"成功",
"登录成功",
"success",
"查询成功",
"获取成功"
],
"失败接口": [
{
"接口": "print.send",
"message": "接口错误: notNull Violation: PrintRecord.computer_id cannot be null,\nnotNull Violation: PrintRecord.printer cannot be null,\nnotNull Violation: PrintRecord.type cannot be null",
"code": 500,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "sendPrint"
}
],
"引用页面": [
"src/components/BatchReceivingPrintDialog.vue",
"src/views/order/waveOrder/component/WavePlatformPrintPreviewDialog.vue"
]
},
{
"接口": "print.getPrintResult",
"message": "参数错误",
"code": 0,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "getPrintResult"
}
],
"引用页面": []
},
{
"接口": "print.getPrintRecordItem",
"message": "参数错误",
"code": 0,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "getPrintRecordItem"
}
],
"引用页面": []
},
{
"接口": "print.getItem",
"message": "参数错误",
"code": 0,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "getItem"
}
],
"引用页面": [
"src/views/system/setting/printStation/components/info.vue"
]
},
{
"接口": "print.add",
"message": "参数错误",
"code": 0,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "add"
}
],
"引用页面": [
"src/views/system/setting/printStation/components/add.vue"
]
},
{
"接口": "print.hasName",
"message": "参数错误",
"code": 0,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "hasName"
}
],
"引用页面": [
"src/views/system/setting/printStation/components/info.vue"
]
},
{
"接口": "print.updateItem",
"message": "参数错误",
"code": 0,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "updateItem"
}
],
"引用页面": [
"src/views/system/setting/printStation/components/info.vue"
]
},
{
"接口": "print.del",
"message": "参数错误",
"code": 0,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "delItems"
}
],
"引用页面": [
"src/views/system/setting/printStation/index.vue"
]
},
{
"接口": "print.getComputerPrinter",
"message": "参数错误",
"code": 0,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "getComputerPrinter"
}
],
"引用页面": [
"src/components/BatchReceivingPrintDialog.vue",
"src/views/order/waveOrder/component/WavePlatformPrintPreviewDialog.vue",
"src/views/system/setting/printStation/components/add.vue",
"src/views/system/setting/printStation/components/info.vue"
]
},
{
"接口": "print.savePrinters",
"message": "参数错误",
"code": 1001,
"模块目录": "print",
"api封装": [
{
"文件": "src/api/print/print.ts",
"方法名": "savePrinters"
}
],
"引用页面": [
"src/views/system/setting/printStation/components/add.vue",
"src/views/system/setting/printStation/components/info.vue"
]
}
],
"空数据接口": []
},
"详情": [
{
"接口": "user.login",
"message": "登录成功",
"code": 200,
"data": {
"flag": "success",
"code": 200,
"message": "登录成功",
"success": true,
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3Nzg3NDc4NjcsImV4cCI6MTc3ODc2MjI2N30.udbfG-5zKoyBgQScbISTezBJ_wKYE0CFy4zL3LL7nWY"
},
"timestamp": 1778747867
}
},
{
"接口": "print.send",
"message": "接口错误: notNull Violation: PrintRecord.computer_id cannot be null,\nnotNull Violation: PrintRecord.printer cannot be null,\nnotNull Violation: PrintRecord.type cannot be null",
"code": 500,
"data": {
"flag": "failure",
"code": 500,
"message": "接口错误: notNull Violation: PrintRecord.computer_id cannot be null,\nnotNull Violation: PrintRecord.printer cannot be null,\nnotNull Violation: PrintRecord.type cannot be null",
"data": null,
"timestamp": 1778747869
}
},
{
"接口": "print.getPrintResult",
"message": "参数错误",
"code": 0,
"data": {
"flag": "failure",
"code": 0,
"message": "参数错误",
"timestamp": 1778747869
}
},
{
"接口": "print.getPrintRecordItem",
"message": "参数错误",
"code": 0,
"data": {
"flag": "failure",
"code": 0,
"message": "参数错误",
"timestamp": 1778747869
}
},
{
"接口": "print.getList",
"message": "success",
"code": 200,
"data": {
"flag": "success",
"code": 200,
"message": "success",
"data": {
"list": [
{
"id": 9,
"warehouse_id": 100000,
"default_printer_name": "BTP-L730(BPLZ)(U)2",
"name": "测试打印台1",
"computer_id": 28,
"custom_barcode": "04191",
"creator_id": 31,
"creator_name": "殷建铭",
"create_at": "2026-04-19T06:32:06.000Z",
"update_at": "2026-05-14T08:30:50.000Z",
"deleted": 0,
"subject_config": {
"express_bind_printer": [
{
"express_code": "ANKY",
"printer_name": "BTP-L730(BPLZ)(U)2"
}
]
},
"is_online": 1,
"components": [
{
"name": "抖音",
"is_online": 0
},
{
"name": "拼多多",
"is_online": 1
},
{
"name": "快手",
"is_online": 0
},
{
"name": "京东",
"is_online": 1
},
{
"name": "菜鸟",
"is_online": 1
},
{
"name": "视频号",
"is_online": 0
},
{
"name": "小红书",
"is_online": 0
},
{
"name": "LODOP",
"is_online": 1
}
]
}
],
"pagination": {
"hasNext": false,
"hasPrevious": false,
"page": 1,
"pageSize": 20,
"total": 1,
"totalPages": 1
},
"queryInfo": {
"conditions": {},
"hasBarcodeSearch": false,
"sortField": "id",
"sortOrder": "DESC"
},
"summary": {
"total_available": 1,
"total_items": 20,
"total_locked": 0,
"total_quantity": 0
}
},
"timestamp": 1778747869
}
},
{
"接口": "print.getItem",
"message": "参数错误",
"code": 0,
"data": {
"flag": "failure",
"code": 0,
"message": "参数错误",
"timestamp": 1778747869
}
},
{
"接口": "print.add",
"message": "参数错误",
"code": 0,
"data": {
"flag": "failure",
"code": 0,
"message": "参数错误",
"timestamp": 1778747869
}
},
{
"接口": "print.hasName",
"message": "参数错误",
"code": 0,
"data": {
"flag": "failure",
"code": 0,
"message": "参数错误",
"timestamp": 1778747869
}
},
{
"接口": "print.updateItem",
"message": "参数错误",
"code": 0,
"data": {
"flag": "failure",
"code": 0,
"message": "参数错误",
"timestamp": 1778747869
}
},
{
"接口": "print.del",
"message": "参数错误",
"code": 0,
"data": {
"flag": "failure",
"code": 0,
"message": "参数错误",
"timestamp": 1778747869
}
},
{
"接口": "print.getComputer",
"message": "success",
"code": 0,
"data": {
"flag": "success",
"code": 0,
"message": "success",
"data": [
{
"id": 28,
"warehouse_id": 100000,
"name": "测试打印台",
"status": 1,
"last_login_time": "2026-05-13T02:20:50.000Z"
}
],
"timestamp": 1778747869
}
},
{
"接口": "print.getComputerPrinter",
"message": "参数错误",
"code": 0,
"data": {
"flag": "failure",
"code": 0,
"message": "参数错误",
"timestamp": 1778747869
}
},
{
"接口": "print.savePrinters",
"message": "参数错误",
"code": 1001,
"data": {
"flag": "failure",
"code": 1001,
"message": "参数错误",
"timestamp": 1778747869
}
}
]
}