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

4.9 KiB

[
  {
    "接口": "user.login",
    "data": {
      "flag": "success",
      "code": 200,
      "message": "登录成功",
      "success": true,
      "data": {
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJ5am0iLCJyZWFsX25hbWUiOiJ5aW4iLCJwbGF0Zm9ybV9jb2RlIjoid2ViIiwiY3VycmVudF9yb2xlX2lkIjozMSwiY3VycmVudF9zdG9yZV9pZCI6MTAwMDAwLCJpYXQiOjE3Nzg3NDc4NjcsImV4cCI6MTc3ODc2MjI2N30.udbfG-5zKoyBgQScbISTezBJ_wKYE0CFy4zL3LL7nWY"
      },
      "timestamp": 1778747867
    }
  },
  {
    "接口": "print.send",
    "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",
    "data": {
      "flag": "failure",
      "code": 0,
      "message": "参数错误",
      "timestamp": 1778747869
    }
  },
  {
    "接口": "print.getPrintRecordItem",
    "data": {
      "flag": "failure",
      "code": 0,
      "message": "参数错误",
      "timestamp": 1778747869
    }
  },
  {
    "接口": "print.getList",
    "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",
    "data": {
      "flag": "failure",
      "code": 0,
      "message": "参数错误",
      "timestamp": 1778747869
    }
  },
  {
    "接口": "print.add",
    "data": {
      "flag": "failure",
      "code": 0,
      "message": "参数错误",
      "timestamp": 1778747869
    }
  },
  {
    "接口": "print.hasName",
    "data": {
      "flag": "failure",
      "code": 0,
      "message": "参数错误",
      "timestamp": 1778747869
    }
  },
  {
    "接口": "print.updateItem",
    "data": {
      "flag": "failure",
      "code": 0,
      "message": "参数错误",
      "timestamp": 1778747869
    }
  },
  {
    "接口": "print.del",
    "data": {
      "flag": "failure",
      "code": 0,
      "message": "参数错误",
      "timestamp": 1778747869
    }
  },
  {
    "接口": "print.getComputer",
    "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",
    "data": {
      "flag": "failure",
      "code": 0,
      "message": "参数错误",
      "timestamp": 1778747869
    }
  },
  {
    "接口": "print.savePrinters",
    "data": {
      "flag": "failure",
      "code": 1001,
      "message": "参数错误",
      "timestamp": 1778747869
    }
  }
]