1. API接口
Thinglinks-iot
  • API接口
    • 登录接口
      POST
    • 指令下发
      POST
    • 设备列表
      GET
    • 产品列表
      GET
    • 分组列表
      GET
    • 设备指令列表
      GET
    • 设备最新数据
      GET
    • 物模型列表
      GET
  1. API接口

设备指令列表

开发中
GET
/business/function/list

请求参数

Query 参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'http://47.109.145.72:28082/prod-api/business/function/list?pageNum=undefined&pageSize=undefined&belongSn=undefined' \
--header 'authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImxvZ2luX3VzZXJfa2V5IjoiNjA5OTM3YzgtZDUwMi00M2ZmLTg1OWEtNDkwMDgyNzMyZWRhIn0.n0oeB__377ogaKbgRG970oVNSsz3Q4ojENhUx5UFuCT86pVI2wo5afmkX4fwxqGE-87fILecYxRHCcl8OsPpaw'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "total": 14,
    "rows": [
        {
            "id": "2007129869071900673",
            "functionName": "指令2",
            "functionCode": "fun2",
            "functionParams": null,
            "belongSn": "modbus_001",
            "belongType": "1",
            "protocolId": "2007104922186354689",
            "createTime": "2026-01-03 00:40:26",
            "createBy": null
        },
        {
            "id": "2007129831121838082",
            "functionName": "指令",
            "functionCode": "fun1",
            "functionParams": null,
            "belongSn": "modbus_001",
            "belongType": "1",
            "protocolId": "2007104922186354689",
            "createTime": "2026-01-03 00:40:17",
            "createBy": null
        },
        {
            "id": "2001908005021954049",
            "functionName": "深度",
            "functionCode": "deep",
            "functionParams": "deep",
            "belongSn": "ywy",
            "belongType": "1",
            "protocolId": "1998562616433704961",
            "createTime": "2025-12-19 14:50:37",
            "createBy": null
        },
        {
            "id": "2000839506379943938",
            "functionName": null,
            "functionCode": null,
            "functionParams": null,
            "belongSn": "HJ_PRODUCT",
            "belongType": "0",
            "protocolId": "1998562616433704961",
            "createTime": "2025-12-16 16:04:47",
            "createBy": null
        },
        {
            "id": "2006251209896763393",
            "functionName": "test",
            "functionCode": "test",
            "functionParams": null,
            "belongSn": "HJ_01",
            "belongType": "1",
            "protocolId": "1998562616433704961",
            "createTime": "2025-12-16 16:04:47",
            "createBy": null
        },
        {
            "id": "1998568349292298241",
            "functionName": "水位调节",
            "functionCode": "water_control",
            "functionParams": "0.8",
            "belongSn": "SW_001",
            "belongType": "1",
            "protocolId": "1998567823599206401",
            "createTime": "2025-12-10 09:40:01",
            "createBy": null
        },
        {
            "id": "1998565697795915777",
            "functionName": "放水",
            "functionCode": "water_out",
            "functionParams": "0.8",
            "belongSn": "SW_PRODUCT",
            "belongType": "0",
            "protocolId": "1998564778664525825",
            "createTime": "2025-12-10 09:29:29",
            "createBy": null
        },
        {
            "id": "2001818290969128961",
            "functionName": "放水",
            "functionCode": "water_out",
            "functionParams": "0.8",
            "belongSn": "SW_01",
            "belongType": "1",
            "protocolId": "1998564778664525825",
            "createTime": "2025-12-10 09:29:29",
            "createBy": null
        },
        {
            "id": "1998563698006294530",
            "functionName": "调节温度",
            "functionCode": "wd_control",
            "functionParams": "20",
            "belongSn": "HJ_001",
            "belongType": "1",
            "protocolId": "1998562616433704961",
            "createTime": "2025-12-10 09:21:32",
            "createBy": null
        },
        {
            "id": "1996098642604732417",
            "functionName": "重复",
            "functionCode": "111",
            "functionParams": "按订单",
            "belongSn": "qqq",
            "belongType": "0",
            "protocolId": "1983885892432982018",
            "createTime": "2025-12-03 14:06:17",
            "createBy": null
        }
    ],
    "code": 200,
    "msg": "查询成功"
}
修改于 2026-01-18 14:00:27
上一页
分组列表
下一页
设备最新数据
Built with