feat:初始化数据调整、增加系统数据导出

V0.5.x
xiwa 2024-02-18 20:47:01 +08:00
parent 6361bb399c
commit 9213704d02
43 changed files with 7771 additions and 13531 deletions

View File

@ -1,62 +1,49 @@
[
{
"id": "switch",
"name": "开关",
"createAt": 1647599367057
},
{
"id": "sensor",
"name": "传感器",
"createAt": 1649743382683
},
{
"id": "meter",
"name": "表计",
"createAt": 1654237582120
},
{
"id": "light",
"name": "灯",
"createAt": 1650174762755
},
{
"id": "gateway",
"name": "网关",
"createAt": 1646637047902
},
{
"id": "fan",
"name": "风扇",
"createAt": 1646630215889
},
{
"id": "door",
"name": "门磁",
"createAt": 1650173898298
},
{
"id": "SmartPlug",
"name": "智能插座",
"createAt": 1645409421118
},
{
"id": "FreshAir",
"name": "新风",
"createAt": 1681444312184
},
{
"id": "SmartMeter",
"name": "智能电表",
"createAt": 1681444312184
},
{
"id": "OpenIitaGateway",
"name": "铱塔智联智能网关",
"createAt": 1688969826383
},
{
"id": "OpenIitaPump",
"name": "铱塔智联水泵",
"createAt": 1688969826383
}
]
[ {
"id" : "switch",
"name" : "开关",
"createAt" : 1647599367057
}, {
"id" : "sensor",
"name" : "传感器",
"createAt" : 1649743382683
}, {
"id" : "meter",
"name" : "表计",
"createAt" : 1654237582120
}, {
"id" : "light",
"name" : "灯",
"createAt" : 1650174762755
}, {
"id" : "gateway",
"name" : "网关",
"createAt" : 1646637047902
}, {
"id" : "fan",
"name" : "风扇",
"createAt" : 1646630215889
}, {
"id" : "door",
"name" : "门磁",
"createAt" : 1650173898298
}, {
"id" : "SmartPlug",
"name" : "智能插座",
"createAt" : 1645409421118
}, {
"id" : "FreshAir",
"name" : "新风",
"createAt" : 1681444312184
}, {
"id" : "SmartMeter",
"name" : "智能电表",
"createAt" : 1681444312184
}, {
"id" : "OpenIitaGateway",
"name" : "铱塔智联智能网关",
"createAt" : 1688969826383
}, {
"id" : "OpenIitaPump",
"name" : "铱塔智联水泵",
"createAt" : 1688969826383
} ]

View File

@ -1,23 +1,19 @@
[
{
"id": 1,
"code": "DingTalk",
"title": "钉钉",
"icon": "http://www.baidu.com",
"createAt": 1683816661690
},
{
"id": 2,
"code": "QyWechat",
"title": "企业微信",
"icon": "http://www.baidu.com",
"createAt": 1683816661690
},
{
"id": 3,
"code": "Email",
"title": "邮箱",
"icon": "http://www.baidu.com",
"createAt": 1683816661690
}
]
[ {
"id" : 1,
"code" : "DingTalk",
"title" : "钉钉",
"icon" : "http://www.baidu.com",
"createAt" : 1683816661690
}, {
"id" : 2,
"code" : "QyWechat",
"title" : "企业微信",
"icon" : "http://www.baidu.com",
"createAt" : 1683816661690
}, {
"id" : 3,
"code" : "Email",
"title" : "邮箱",
"icon" : "http://www.baidu.com",
"createAt" : 1683816661690
} ]

View File

@ -1,23 +1,19 @@
[
{
"id": 1312312,
"channelId": 3,
"title": "告警邮件配置",
"param": "{\"userName\":\"xxx@163.com\",\"passWord\":\"xxx\",\"host\":\"smtp.163.com\",\"port\":465,\"mailSmtpAuth\":true,\"from\":\"xxxx@163.com\",\"to\":\"xxxx@163.com\"}\t",
"createAt": 1683816661690
},
{
"id": 1313123,
"channelId": 1,
"title": "告警钉钉配置",
"param": "{\"dingTalkWebhook\":\"xxxxxxxxxxxxxxxx\",\"dingTalkSecret\":\"xxxx\"}",
"createAt": 1683816661690
},
{
"id": 32141342,
"channelId": 2,
"title": "告警企业微信配置",
"param": "{\"qyWechatWebhook\":\"xxxxxxxxxxxxxxxx\"}",
"createAt": 1683816661690
}
]
[ {
"id" : 1312312,
"channelId" : 3,
"title" : "告警邮件配置",
"param" : "{\"userName\":\"xxx@163.com\",\"passWord\":\"xxx\",\"host\":\"smtp.163.com\",\"port\":465,\"mailSmtpAuth\":true,\"from\":\"xxxx@163.com\",\"to\":\"xxxx@163.com\"}\t",
"createAt" : 1683816661690
}, {
"id" : 1313123,
"channelId" : 1,
"title" : "告警钉钉配置",
"param" : "{\"dingTalkWebhook\":\"xxxxxxxxxxxxxxxx\",\"dingTalkSecret\":\"xxxx\"}",
"createAt" : 1683816661690
}, {
"id" : 32141342,
"channelId" : 2,
"title" : "告警企业微信配置",
"param" : "{\"qyWechatWebhook\":\"xxxxxxxxxxxxxxxx\"}",
"createAt" : 1683816661690
} ]

View File

@ -1,26 +1,19 @@
[
{
"id": 12312312,
"channelConfigId": 1312312,
"channelCode": "Email",
"title": "告警邮件模板",
"content": "您的设备【${title}】<font color=\"warning\">温度过高</font>",
"createAt": 1683816661690
},
{
"id": 342353425,
"channelConfigId": 1313123,
"channelCode": "DingTalk",
"title": "告警钉钉模板",
"content": "您的设备【${title}】<font color=\"warning\">温度过高</font>",
"createAt": 1683816661690
},
{
"id": 786778567,
"channelConfigId": 32141342,
"channelCode": "QyWechat",
"title": "告警企业微信模板",
"content": "您的设备【${title}】<font color=\"warning\">温度过高</font>",
"createAt": 1683816661690
}
]
[ {
"id" : 12312312,
"channelConfigId" : 1312312,
"title" : "告警邮件模板",
"content" : "您的设备【${title}】<font color=\"warning\">温度过高</font>",
"createAt" : 1683816661690
}, {
"id" : 342353425,
"channelConfigId" : 1313123,
"title" : "告警钉钉模板",
"content" : "您的设备【${title}】<font color=\"warning\">温度过高</font>",
"createAt" : 1683816661690
}, {
"id" : 786778567,
"channelConfigId" : 32141342,
"title" : "告警企业微信模板",
"content" : "您的设备【${title}】<font color=\"warning\">温度过高</font>",
"createAt" : 1683816661690
} ]

View File

@ -1,63 +0,0 @@
[
{
"id": 437355835748421,
"contributor": "tangtang",
"avatar": "http://159.75.222.119:9000/iotkit/2023/07/10/8032cfb8cda445ab9ca4c044242aefb8.jpg",
"post": 1,
"intro": "来自于一个切图仔的自我修养",
"tags": "vue,react,node,uniapp,flutter",
"title": "前端精神小伙",
"context": "<p><br></p>",
"score": null,
"status": null
},
{
"id": 437356273557573,
"contributor": "花木水之间",
"avatar": "http://159.75.222.119:9000/iotkit/2023/07/09/f2ef7070ecd74dbc87654e145b2ba088.jpg",
"post": 2,
"intro": "技术骚客,啥都做",
"tags": "无人零售,linux,java/python/c/go",
"title": null,
"context": null,
"score": null,
"status": null
},
{
"id": 437670919086149,
"contributor": "regan",
"avatar": "http://159.75.222.119:9000/iotkit/2023/07/10/a535035899d5477cb6ca0041a261b57f.jpg",
"post": 2,
"intro": "物联网技术爱好者,单身可撩。",
"tags": "物联网,大数据,边缘计算",
"title": null,
"context": null,
"score": null,
"status": null
},
{
"id": 437687202414661,
"contributor": "闹腾",
"avatar": "http://159.75.222.119:9000/iotkit/2023/07/10/ec85a20d2612485c86ae8df554e1167a.jpg",
"post": 2,
"intro": "早日实现金钱自由",
"tags": "java ,go,python",
"title": null,
"context": null,
"score": null,
"status": null
},
{
"id": 437970532069445,
"contributor": "大橙子",
"avatar": "http://159.75.222.119:9000/iotkit/2023/07/11/cb98ba42a08b4ee9a1d8b1c8fc450411.png",
"post": 5,
"intro": "过往经验:\n电商/物流/教育/美业",
"tags": "PS,AI,AE,figma,XD",
"title": null,
"context": null,
"score": null,
"status": null
}
]

View File

@ -1,26 +1,22 @@
[
{
"id": "g3",
"name": "组3",
"uid": "1",
"remark": "2223333",
"deviceQty": 7,
"createAt": 0
},
{
"id": "g2",
"name": "组2",
"uid": "1",
"remark": "222",
"deviceQty": 12,
"createAt": 0
},
{
"id": "g1",
"name": "分组1",
"uid": "1",
"remark": "1111",
"deviceQty": 10,
"createAt": 0
}
]
[ {
"id" : "g3",
"name" : "组3",
"uid" : "1",
"remark" : "2223333",
"deviceQty" : 7,
"createAt" : 0
}, {
"id" : "g2",
"name" : "组2",
"uid" : "1",
"remark" : "222",
"deviceQty" : 12,
"createAt" : 0
}, {
"id" : "g1",
"name" : "分组1",
"uid" : "1",
"remark" : "1111",
"deviceQty" : 10,
"createAt" : 0
} ]

File diff suppressed because it is too large Load Diff

View File

@ -1,54 +1,121 @@
[
{
"id": 1,
"name": "我的家庭",
"address": "",
"userId": 1,
"spaceNum": 0,
"deviceNum": 0,
"current": true
},
{
"id": 2,
"name": "我的家",
"userId": 3,
"current": true
},
{
"id": 3,
"name": "我深圳的家",
"address": "广东省深圳市南山区西丽镇",
"userId": 1,
"current": true
},
{
"id":4,
"name": "我深圳的家",
"address": "广东省深圳市南山区西丽镇",
"userId": 1
},
{
"id": 5,
"name": "我深圳的家",
"address": "广东省深圳市南山区西丽镇",
"userId": 1
},
{
"id": 6,
"name": "我深圳的家",
"address": "广东省深圳市南山区西丽镇",
"userId": 1
},
{
"id": 7,
"name": "myhome",
"address": "shengzhen nanshan",
"userId": 1
},
{
"id": 8,
"name": "myhome",
"address": "shengzhen nanshan",
"userId": 1
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320542,
"updateBy" : null,
"updateTime" : 1708254320542,
"tenantId" : null,
"id" : 1,
"name" : "我的家庭",
"address" : "",
"userId" : 1,
"spaceNum" : 0,
"deviceNum" : 0,
"current" : true,
"spaces" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320593,
"updateBy" : null,
"updateTime" : 1708254320593,
"tenantId" : null,
"id" : 2,
"name" : "我的家",
"address" : null,
"userId" : 3,
"spaceNum" : null,
"deviceNum" : null,
"current" : true,
"spaces" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320600,
"updateBy" : null,
"updateTime" : 1708254320600,
"tenantId" : null,
"id" : 3,
"name" : "我深圳的家",
"address" : "广东省深圳市南山区西丽镇",
"userId" : 1,
"spaceNum" : null,
"deviceNum" : null,
"current" : true,
"spaces" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320605,
"updateBy" : null,
"updateTime" : 1708254320605,
"tenantId" : null,
"id" : 4,
"name" : "我深圳的家",
"address" : "广东省深圳市南山区西丽镇",
"userId" : 1,
"spaceNum" : null,
"deviceNum" : null,
"current" : null,
"spaces" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320609,
"updateBy" : null,
"updateTime" : 1708254320609,
"tenantId" : null,
"id" : 5,
"name" : "我深圳的家",
"address" : "广东省深圳市南山区西丽镇",
"userId" : 1,
"spaceNum" : null,
"deviceNum" : null,
"current" : null,
"spaces" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320613,
"updateBy" : null,
"updateTime" : 1708254320613,
"tenantId" : null,
"id" : 6,
"name" : "我深圳的家",
"address" : "广东省深圳市南山区西丽镇",
"userId" : 1,
"spaceNum" : null,
"deviceNum" : null,
"current" : null,
"spaces" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320618,
"updateBy" : null,
"updateTime" : 1708254320618,
"tenantId" : null,
"id" : 7,
"name" : "myhome",
"address" : "shengzhen nanshan",
"userId" : 1,
"spaceNum" : null,
"deviceNum" : null,
"current" : null,
"spaces" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320622,
"updateBy" : null,
"updateTime" : 1708254320622,
"tenantId" : null,
"id" : 8,
"name" : "myhome",
"address" : "shengzhen nanshan",
"userId" : 1,
"spaceNum" : null,
"deviceNum" : null,
"current" : null,
"spaces" : null
} ]

View File

@ -1,98 +1,85 @@
[
{
"id": 1231312,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": true,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 4324234,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": true,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 151515,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": false,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 4534636,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": true,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id":4534346,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": false,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 64432342,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": true,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 5756,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": true,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 56856,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": true,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 31,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": false,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 67567,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": true,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 9789,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": false,
"createAt": 1683816661690,
"updateAt": 1683816661690
},
{
"id": 90890,
"content": "你的设备【热水器】温度过高",
"messageType": "alert",
"status": true,
"createAt": 1683816661690,
"updateAt": 1683816661690
}
]
[ {
"id" : 31,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : false,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 5756,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : true,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 9789,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : false,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 56856,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : true,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 67567,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : true,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 90890,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : true,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 151515,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : false,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 1231312,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : true,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 4324234,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : true,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 4534346,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : false,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 4534636,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : true,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
}, {
"id" : 64432342,
"content" : "你的设备【热水器】温度过高",
"messageType" : "alert",
"status" : true,
"createAt" : 1683816661690,
"updateAt" : 1683816661690
} ]

View File

@ -1,16 +0,0 @@
[
{
"clientId": "iotkit",
"name": "奇特物联",
"clientSecret": "b86cb53d-c005-48a3-bb02-3c262151b68c",
"allowUrl": "*",
"createAt": 1652840868485
},
{
"clientId": "dueros",
"name": "小度音箱",
"clientSecret": "750c67c2-29cb-40c3-bf4d-c0b9bf3eed88",
"allowUrl": "*",
"createAt": 1652840868485
}
]

View File

@ -1,224 +1,362 @@
[
{
"productKey": "xpsYHExTKPFaQMS7",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "调光灯",
"category": "light",
"nodeType": 1,
"isOpenLocate": true,
"transparent": false,
"locateUpdateType": "manual",
"uid": "1",
"createAt": 1650174777304
},
{
"productKey": "hdX3PCMcFrCYpesJ",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"code": "hdX3PCMcFrCYpesJ",
"name": "智能风扇",
"category": "fan",
"nodeType": 1,
"isOpenLocate": false,
"transparent": false,
"uid": "1",
"createAt": 1646571291131
},
{
"productKey": "hbtgIA0SuVw9lxjB",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "GW01网关",
"category": "gateway",
"nodeType": 0,
"uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/hbtgIA0SuVw9lxjB/cover.jpg?Expires=1967598154&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=2gh2jad14mVHGvWThwOd%2FykiB5g%3D",
"transparent": false,
"isOpenLocate": false,
"createAt": 1652238155938
},
{
"productKey": "eDhXKwEzwFybM5R7",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "三路开关",
"category": "switch",
"nodeType": 1,
"uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/eDhXKwEzwFybM5R7/cover.jpeg?Expires=1967598172&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=ZrFgANkomVEDQRV5JdmONL0S2sY%3D",
"transparent": false,
"isOpenLocate": false,
"createAt": 1652238173536
},
{
"productKey": "cGCrkK7Ex4FESAwe",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "插座",
"category": "SmartPlug",
"nodeType": 1,
"uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/cGCrkK7Ex4FESAwe/cover.jpeg?Expires=1967598137&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=vOjqav0pRZqQFgx8xBo99WhgWXk%3D",
"transparent": false,
"isOpenLocate": false,
"createAt": 1652238138626
},
{
"productKey": "Rf4QSjbm65X45753",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "一路开关",
"category": "switch",
"nodeType": 1,
"uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/Rf4QSjbm65X45753/cover.jpeg?Expires=1967598145&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=ksQhmEm5Rn7C7FFqY09o9l%2BZ%2BIQ%3D",
"transparent": false,
"isOpenLocate": false,
"createAt": 1652238147123
},
{
"productKey": "PN3EDmkBZDD8whDd",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "门磁",
"category": "door",
"nodeType": 1,
"uid": "1",
"img": "null",
"isOpenLocate": false,
"transparent": false,
"createAt": 1650190400357
},
{
"productKey": "N523nWsCiG3CAn6X",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "ZGW01",
"category": "gateway",
"nodeType": 0,
"uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/N523nWsCiG3CAn6X/cover.jpg?Expires=1967597641&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=%2BaGcHBT%2FHA3s%2BrZ687U50b4YE0A%3D",
"transparent": false,
"isOpenLocate": false,
"createAt": 1652237643216
},
{
"productKey": "Eit3kmGJtxSHfCKT",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "燃气表",
"category": "meter",
"nodeType": 2,
"uid": "1",
"transparent": false,
"isOpenLocate": false,
"createAt": 1654237604221
},
{
"productKey": "DSGxxKk6E8mmDk6C",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "通断器",
"category": "switch",
"nodeType": 1,
"uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/DSGxxKk6E8mmDk6C/cover.jpeg?Expires=1967598201&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=k2PqHc%2BI14DfCwD8kQIflwoBAog%3D",
"transparent": false,
"isOpenLocate": false,
"createAt": 1652238202310
},
{
"productKey": "D8c5pXFmt2KJDxNm",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "四路场景面板",
"category": "switch",
"nodeType": 1,
"uid": "1",
"isOpenLocate": false,
"transparent": false,
"createAt": 1650187781637
},
{
"productKey": "AWcJnf7ymGSkaz5M",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "smart pulg",
"category": "SmartPlug",
"nodeType": 1,
"uid": "1",
"img": "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/AWcJnf7ymGSkaz5M/cover.jpeg?Expires=1967598035&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=tXzWH5%2B4JNcnuTFrJbvGwsbx97c%3D",
"transparent": true,
"isOpenLocate": false,
"createAt": 1652279098100
},
{
"productKey": "6kYp6jszrDns2yh4",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "温湿度传感器",
"category": "sensor",
"nodeType": 1,
"uid": "1",
"isOpenLocate": false,
"transparent": false,
"createAt": 1649653149339
},
{
"productKey": "bGdZt8ffBETtsirm",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "新风",
"category": "FreshAir",
"nodeType": 1,
"uid": "1",
"isOpenLocate": false,
"transparent": false,
"createAt": 1649653149339
},
{
"productKey": "BRD3x4fkKxkaxXFt",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "智能电表采集器",
"category": "gateway",
"nodeType": 0,
"uid": "1",
"isOpenLocate": false,
"transparent": false,
"createAt": 1649653149339
},
{
"productKey": "PwMfpXmp4ZWkGahn",
"productSecret": "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name": "智能电表",
"category": "SmartMeter",
"nodeType": 1,
"uid": "1",
"isOpenLocate": false,
"transparent": false,
"createAt": 1649653149339
},{
"id": 1,
"productKey": "openiitagateway01",
"productSecret": "openiitasecret01",
"name": "铱塔智联智能网关01",
"category": "OpenIitaGateway",
"nodeType": 0,
"uid": "1",
"isOpenLocate": 1,
"transparent": false,
"locateUpdateType": "manual",
"createAt": 1649653149339
[ {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 1,
"productKey" : "openiitagateway01",
"productSecret" : "openiitasecret01",
"name" : "铱塔智联智能网关01",
"category" : "OpenIitaGateway",
"nodeType" : 0,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : true,
"locateUpdateType" : "manual",
"createAt" : 1649653149339
}, {
"id": 2,
"productKey": "openiitapump01",
"productSecret": "openiitapump01",
"name": "铱塔智联-单泵01",
"category": "OpenIitaPump",
"nodeType": 1,
"uid": "1",
"isOpenLocate": 0,
"transparent": false,
"locateUpdateType": "manual",
"createAt": 1649653149339
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 2,
"productKey" : "openiitapump01",
"productSecret" : "openiitapump01",
"name" : "铱塔智联-单泵01",
"category" : "OpenIitaPump",
"nodeType" : 1,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : "manual",
"createAt" : 1649653149339
}, {
"id": 3,
"productKey": "openiitanbpump01",
"productSecret": "openiitanbpump01",
"name": "NB透传水泵",
"category": "OpenIitaPump",
"nodeType": 2,
"uid": "1",
"isOpenLocate": 1,
"transparent": false,
"locateUpdateType": "device",
"createAt": 1649653149339
}
]
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 3,
"productKey" : "openiitanbpump01",
"productSecret" : "openiitanbpump01",
"name" : "NB透传水泵",
"category" : "OpenIitaPump",
"nodeType" : 2,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : true,
"locateUpdateType" : "device",
"createAt" : 1649653149339
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994839621,
"productKey" : "xpsYHExTKPFaQMS7",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "调光灯",
"category" : "light",
"nodeType" : 1,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : true,
"locateUpdateType" : "manual",
"createAt" : 1650174777304
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994847813,
"productKey" : "hdX3PCMcFrCYpesJ",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "智能风扇",
"category" : "fan",
"nodeType" : 1,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1646571291131
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994860101,
"productKey" : "hbtgIA0SuVw9lxjB",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "GW01网关",
"category" : "gateway",
"nodeType" : 0,
"uid" : "1",
"img" : "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/hbtgIA0SuVw9lxjB/cover.jpg?Expires=1967598154&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=2gh2jad14mVHGvWThwOd%2FykiB5g%3D",
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1652238155938
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994864197,
"productKey" : "eDhXKwEzwFybM5R7",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "三路开关",
"category" : "switch",
"nodeType" : 1,
"uid" : "1",
"img" : "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/eDhXKwEzwFybM5R7/cover.jpeg?Expires=1967598172&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=ZrFgANkomVEDQRV5JdmONL0S2sY%3D",
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1652238173536
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994876485,
"productKey" : "cGCrkK7Ex4FESAwe",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "插座",
"category" : "SmartPlug",
"nodeType" : 1,
"uid" : "1",
"img" : "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/cGCrkK7Ex4FESAwe/cover.jpeg?Expires=1967598137&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=vOjqav0pRZqQFgx8xBo99WhgWXk%3D",
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1652238138626
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994880581,
"productKey" : "Rf4QSjbm65X45753",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "一路开关",
"category" : "switch",
"nodeType" : 1,
"uid" : "1",
"img" : "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/Rf4QSjbm65X45753/cover.jpeg?Expires=1967598145&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=ksQhmEm5Rn7C7FFqY09o9l%2BZ%2BIQ%3D",
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1652238147123
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994884677,
"productKey" : "PN3EDmkBZDD8whDd",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "门磁",
"category" : "door",
"nodeType" : 1,
"uid" : "1",
"img" : "null",
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1650190400357
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994896965,
"productKey" : "N523nWsCiG3CAn6X",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "ZGW01",
"category" : "gateway",
"nodeType" : 0,
"uid" : "1",
"img" : "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/N523nWsCiG3CAn6X/cover.jpg?Expires=1967597641&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=%2BaGcHBT%2FHA3s%2BrZ687U50b4YE0A%3D",
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1652237643216
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994901061,
"productKey" : "Eit3kmGJtxSHfCKT",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "燃气表",
"category" : "meter",
"nodeType" : 2,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1654237604221
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994905157,
"productKey" : "DSGxxKk6E8mmDk6C",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "通断器",
"category" : "switch",
"nodeType" : 1,
"uid" : "1",
"img" : "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/DSGxxKk6E8mmDk6C/cover.jpeg?Expires=1967598201&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=k2PqHc%2BI14DfCwD8kQIflwoBAog%3D",
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1652238202310
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994909253,
"productKey" : "D8c5pXFmt2KJDxNm",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "四路场景面板",
"category" : "switch",
"nodeType" : 1,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1650187781637
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994913349,
"productKey" : "AWcJnf7ymGSkaz5M",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "smart pulg",
"category" : "SmartPlug",
"nodeType" : 1,
"uid" : "1",
"img" : "http://iotkit-img.oss-cn-shenzhen.aliyuncs.com/product/AWcJnf7ymGSkaz5M/cover.jpeg?Expires=1967598035&OSSAccessKeyId=LTAI5tGEHNoVu5tWHUWnosrs&Signature=tXzWH5%2B4JNcnuTFrJbvGwsbx97c%3D",
"transparent" : true,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1652279098100
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994925637,
"productKey" : "6kYp6jszrDns2yh4",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "温湿度传感器",
"category" : "sensor",
"nodeType" : 1,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1649653149339
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994933829,
"productKey" : "bGdZt8ffBETtsirm",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "新风",
"category" : "FreshAir",
"nodeType" : 1,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1649653149339
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994942021,
"productKey" : "BRD3x4fkKxkaxXFt",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "智能电表采集器",
"category" : "gateway",
"nodeType" : 0,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1649653149339
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"tenantId" : null,
"id" : 516578994958405,
"productKey" : "PwMfpXmp4ZWkGahn",
"productSecret" : "xdkKUymrEGSCYWswqCvSPyRSFvH5j7CU",
"name" : "智能电表",
"category" : "SmartMeter",
"nodeType" : 1,
"uid" : "1",
"img" : null,
"transparent" : false,
"isOpenLocate" : false,
"locateUpdateType" : null,
"createAt" : 1649653149339
} ]

View File

@ -1,11 +1,10 @@
[
{
"id": "M1",
"name": "型号1",
"productKey": "AWcJnf7ymGSkaz5M",
"type": "LuaScript",
"script": "\nfunction decode(msg)\n return {\n ['identifier'] = 'report',\n ['mid'] = '1',\n ['type'] = 'property',\n ['data'] ={\n ['power']=string.sub(msg.data,3,3)\n }\n }\nend\n\nfunction encode(service)\n return {\n\t['mid'] = 1,\n\t['model'] = 'M1',\n\t['mac'] = service.deviceName,\n\t['data'] = 'BB2'\n }\nend\n",
"state": "publish",
"modifyAt": 1651466083339
}
]
[ {
"id" : "M1",
"model" : null,
"name" : "型号1",
"productKey" : "AWcJnf7ymGSkaz5M",
"type" : "LuaScript",
"script" : "\nfunction decode(msg)\n return {\n ['identifier'] = 'report',\n ['mid'] = '1',\n ['type'] = 'property',\n ['data'] ={\n ['power']=string.sub(msg.data,3,3)\n }\n }\nend\n\nfunction encode(service)\n return {\n\t['mid'] = 1,\n\t['model'] = 'M1',\n\t['mac'] = service.deviceName,\n\t['data'] = 'BB2'\n }\nend\n",
"state" : "publish",
"modifyAt" : 1708254320711
} ]

View File

@ -1,59 +1,23 @@
[{
"id": "2c10229b-dcb2-439e-b411-5425b49657a1",
"name": "小度设备属性更新推送",
"type": "flow",
"listeners": [
{
"type": "device",
"config": "{\"id\":\"11ae4827-d58b-44d7-8a4d-090bac2ddce8\",\"type\":\"device\",\"topic\":\"\",\"conditions\":[{\"id\":0.5375444987425966,\"type\":\"property\",\"device\":\"cGCrkK7Ex4FESAwe/#\",\"identifier\":\"report\",\"parameters\":[{\"identifier\":\"powerstate\",\"comparator\":\"*\"}]}]}"
},
{
"type": "device",
"config": "{\"id\":\"f0752ba9-38d8-4ee8-91cc-7f267875c358\",\"type\":\"device\",\"topic\":\"\",\"conditions\":[{\"id\":0.20619179667807042,\"type\":\"property\",\"device\":\"Rf4QSjbm65X45753/#\",\"identifier\":\"report\",\"parameters\":[{\"identifier\":\"powerstate\",\"comparator\":\"*\"}]}]}"
}
],
"filters": [
{
"type": "device",
"config": "{\"id\":\"747eb070-92ed-4e60-9a39-3b9a71afee9e\",\"type\":\"device\",\"conditions\":[{\"id\":0.7199397992080254,\"device\":\"\",\"type\":\"tag\",\"comparator\":\"==\",\"identifier\":\"dueros\",\"value\":\"是\"}]}"
}
],
"actions": [
{
"type": "http",
"config": "{\"id\":\"35781aae-360f-4931-9d72-69f27e326e68\",\"type\":\"http\",\"services\":[{\"url\":\"https://xiaodu.baidu.com/saiya/smarthome/changereport\",\"script\":\"this.translate=function(msg,device){\\n var pk=msg.productKey;\\n var attributeName=\\\"\\\";\\n //插座/开关\\n if(pk==\\\"cGCrkK7Ex4FESAwe\\\" || pk==\\\"Rf4QSjbm65X45753\\\"){\\n\\tattributeName=\\\"turnOnState\\\";\\n }\\n //取openUid\\n var tag=device.tag;\\n if(!tag || !tag.duerosOpenUid){\\n\\treturn null;\\n }\\n var openUid=tag.duerosOpenUid.value;\\n \\n return {\\n \\\"path\\\":\\\"\\\",\\n \\\"method\\\":\\\"post\\\",\\n \\\"header\\\":{\\n //指定请求头\\n \\\"contentType\\\":\\\"application/json; charset=utf-8\\\"\\n },\\n \\\"body\\\":JSON.stringify({\\n\\t \\\"header\\\": {\\n\\t\\t \\\"namespace\\\": \\\"DuerOS.ConnectedHome.Control\\\",\\n\\t\\t \\\"name\\\": \\\"ChangeReportRequest\\\",\\n\\t\\t \\\"messageId\\\": new Date().getTime()+\\\"\\\",\\n\\t\\t \\\"payloadVersion\\\": \\\"1\\\"\\n\\t },\\n\\t \\\"payload\\\": {\\n\\t\\t \\\"botId\\\": \\\"eb20e515-f505-8d31-abef-46da3345f114\\\",\\n\\t\\t \\\"openUid\\\": openUid,\\n\\t\\t \\\"appliance\\\": {\\n\\t\\t\\t \\\"applianceId\\\": msg.deviceId,\\n\\t\\t\\t \\\"attributeName\\\": attributeName\\n\\t\\t }\\n\\t }\\n \\t})\\n }\\n}\"}]}"
}
],
"uid": "1",
"state": "running",
"desc": "开关插座开关状态推送",
"createAt": 1652515471242
},
{
"id": "2820c218-660e-48ff-a234-c7b6793a5bb8",
"name": "测试场景1",
"type": "scene",
"listeners": [
{
"type": "device",
"config": "{\"id\":\"4ff98e8c-e6f6-4e96-8932-de488a0a4bfb\",\"type\":\"device\",\"topic\":\"\",\"conditions\":[{\"id\":0.8212160690052512,\"type\":\"property\",\"device\":\"Rf4QSjbm65X45753/ABC12400001\",\"identifier\":\"report\",\"parameters\":[{\"identifier\":\"powerstate\",\"comparator\":\">\",\"value\":\"0\"}]}]}"
}
],
"filters": [
{
"type": "device",
"config": "{\"id\":\"24b4b975-d8ac-431d-881d-8c8b40e92861\",\"type\":\"device\",\"conditions\":[{\"id\":0.08981222614734863,\"device\":\"hdX3PCMcFrCYpesJ/ABD12300002\",\"identifier\":\"powerSwitch\",\"type\":\"property\",\"comparator\":\"==\",\"value\":\"0\"}]}"
}
],
"actions": [
{
"type": "device",
"config": "{\"id\":\"fde024b5-5105-4639-8602-d04300613af9\",\"type\":\"device\",\"services\":[{\"device\":\"hdX3PCMcFrCYpesJ/ABD12300002\",\"identifier\":\"set\",\"inputData\":[{\"identifier\":\"powerSwitch\",\"value\":\"1\"}]},{\"device\":\"hdX3PCMcFrCYpesJ/ABD12300002\",\"identifier\":\"set\",\"inputData\":[{\"identifier\":\"windSpeed\",\"value\":\"20\"}]}]}"
}
],
"uid": "1",
"state": "stopped",
"desc": "test",
"createAt": 1649167998895
}
]
[ {
"id" : "2c10229b-dcb2-439e-b411-5425b49657a1",
"name" : "小度设备属性更新推送",
"type" : "flow",
"listeners" : [ ],
"filters" : [ ],
"actions" : [ ],
"uid" : "1",
"state" : "running",
"desc" : "开关插座开关状态推送",
"createAt" : 1652515471242
}, {
"id" : "2820c218-660e-48ff-a234-c7b6793a5bb8",
"name" : "测试场景1",
"type" : "scene",
"listeners" : [ ],
"filters" : [ ],
"actions" : [ ],
"uid" : "1",
"state" : "stopped",
"desc" : "test",
"createAt" : 1649167998895
} ]

View File

@ -1,47 +1,100 @@
[
{
"id": 1,
"homeId": 1,
"name": "123"
},
{
"id": 2,
"homeId": 1,
"name": "123"
},
{
"id": 3,
"homeId": 1,
"name": "客厅"
},
{
"id": 4,
"homeId": 1,
"name": "卧室"
},
{
"id": 5,
"homeId": 1,
"name": "客厅"
},
{
"id": 6,
"homeId": 1,
"name": "阳台"
},
{
"id": 7,
"homeId": 1,
"name": "厨房"
},
{
"id": 8,
"homeId": 1,
"name": "卧室"
},
{
"id": 9,
"homeId": 1,
"name": "客厅"
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320774,
"updateBy" : null,
"updateTime" : 1708254320774,
"tenantId" : null,
"id" : 1,
"homeId" : 1,
"name" : "123",
"deviceNum" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320794,
"updateBy" : null,
"updateTime" : 1708254320794,
"tenantId" : null,
"id" : 2,
"homeId" : 1,
"name" : "123",
"deviceNum" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320798,
"updateBy" : null,
"updateTime" : 1708254320798,
"tenantId" : null,
"id" : 3,
"homeId" : 1,
"name" : "客厅",
"deviceNum" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320804,
"updateBy" : null,
"updateTime" : 1708254320804,
"tenantId" : null,
"id" : 4,
"homeId" : 1,
"name" : "卧室",
"deviceNum" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320809,
"updateBy" : null,
"updateTime" : 1708254320809,
"tenantId" : null,
"id" : 5,
"homeId" : 1,
"name" : "客厅",
"deviceNum" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320813,
"updateBy" : null,
"updateTime" : 1708254320813,
"tenantId" : null,
"id" : 6,
"homeId" : 1,
"name" : "阳台",
"deviceNum" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320817,
"updateBy" : null,
"updateTime" : 1708254320817,
"tenantId" : null,
"id" : 7,
"homeId" : 1,
"name" : "厨房",
"deviceNum" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320824,
"updateBy" : null,
"updateTime" : 1708254320824,
"tenantId" : null,
"id" : 8,
"homeId" : 1,
"name" : "卧室",
"deviceNum" : null
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254320852,
"updateBy" : null,
"updateTime" : 1708254320852,
"tenantId" : null,
"id" : 9,
"homeId" : 1,
"name" : "客厅",
"deviceNum" : null
} ]

View File

@ -1,82 +1,131 @@
[
{
"id": 1,
"deviceId": "164785263238900cefafcfeeab0000125",
"name": "卧室的ZGW01",
"homeId": 1,
"spaceId": 1,
"collect":true
},
{
"id": 2,
"deviceId": "164776322117404acb9f03008d1500168",
"name": "卧室的插座",
"homeId": 1,
"spaceId": 1,
"collect":true
},
{
"id": 3,
"deviceId": "1647763221972019a89f03008d1500163",
"name": "卧室的插座",
"homeId": 1,
"spaceId": 1,
"collect":false
},
{
"id": 4,
"deviceId": "164776322227201472a803008d150016e",
"name": "卧室的插座",
"homeId": 1,
"spaceId": 1,
"collect":false
},
{
"id": 5,
"deviceId": "16477632226720c2cc9f03008d1500166",
"name": "卧室的插座",
"homeId": 1,
"spaceId": 1,
"collect":false
},
{
"id": 6,
"deviceId": "16477632215720c11b1602008d1500160",
"name": "卧室的插座",
"homeId": 1,
"spaceId": 1,
"collect":false
},
{
"id": 7,
"deviceId": "1647690908735019dd9f03008d1500163",
"name": "卧室的插座",
"homeId": 1,
"spaceId": 1,
"collect":false
},
{
"id": 8,
"deviceId": "16538390924670pulg0a001006000012a",
"name": "阳台的插座",
"homeId": 1,
"spaceId": 1,
"collect":false
},
{
"id": 9,
"deviceId": "16501806313260000833feffac33bc16c",
"name": "灯的插座",
"homeId": 1,
"spaceId": 1,
"collect":false
},
{
"id": 10,
"deviceId": "165017126122400cefafcfee61000012b",
"name": "客厅网关",
"homeId": 1,
"spaceId": 1,
"collect":false
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321238,
"updateBy" : null,
"updateTime" : 1708254321238,
"tenantId" : null,
"id" : 1,
"deviceId" : "164785263238900cefafcfeeab0000125",
"name" : "卧室的ZGW01",
"homeId" : 1,
"spaceId" : 1,
"collect" : true
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321248,
"updateBy" : null,
"updateTime" : 1708254321248,
"tenantId" : null,
"id" : 2,
"deviceId" : "164776322117404acb9f03008d1500168",
"name" : "卧室的插座",
"homeId" : 1,
"spaceId" : 1,
"collect" : true
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321252,
"updateBy" : null,
"updateTime" : 1708254321252,
"tenantId" : null,
"id" : 3,
"deviceId" : "1647763221972019a89f03008d1500163",
"name" : "卧室的插座",
"homeId" : 1,
"spaceId" : 1,
"collect" : false
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321255,
"updateBy" : null,
"updateTime" : 1708254321255,
"tenantId" : null,
"id" : 4,
"deviceId" : "164776322227201472a803008d150016e",
"name" : "卧室的插座",
"homeId" : 1,
"spaceId" : 1,
"collect" : false
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321258,
"updateBy" : null,
"updateTime" : 1708254321258,
"tenantId" : null,
"id" : 5,
"deviceId" : "16477632226720c2cc9f03008d1500166",
"name" : "卧室的插座",
"homeId" : 1,
"spaceId" : 1,
"collect" : false
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321261,
"updateBy" : null,
"updateTime" : 1708254321261,
"tenantId" : null,
"id" : 6,
"deviceId" : "16477632215720c11b1602008d1500160",
"name" : "卧室的插座",
"homeId" : 1,
"spaceId" : 1,
"collect" : false
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321264,
"updateBy" : null,
"updateTime" : 1708254321264,
"tenantId" : null,
"id" : 7,
"deviceId" : "1647690908735019dd9f03008d1500163",
"name" : "卧室的插座",
"homeId" : 1,
"spaceId" : 1,
"collect" : false
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321268,
"updateBy" : null,
"updateTime" : 1708254321268,
"tenantId" : null,
"id" : 8,
"deviceId" : "16538390924670pulg0a001006000012a",
"name" : "阳台的插座",
"homeId" : 1,
"spaceId" : 1,
"collect" : false
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321271,
"updateBy" : null,
"updateTime" : 1708254321271,
"tenantId" : null,
"id" : 9,
"deviceId" : "16501806313260000833feffac33bc16c",
"name" : "灯的插座",
"homeId" : 1,
"spaceId" : 1,
"collect" : false
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321275,
"updateBy" : null,
"updateTime" : 1708254321275,
"tenantId" : null,
"id" : 10,
"deviceId" : "165017126122400cefafcfee61000012b",
"name" : "客厅网关",
"homeId" : 1,
"spaceId" : 1,
"collect" : false
} ]

View File

@ -1,11 +1,14 @@
[
{
"id": 453554819821637,
"appName": "微信小程序",
"appId": "xxx",
"appSecret": "xxx",
"appType": "1",
"remark": "微信小程序",
"tenantId": "000000"
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254323547,
"updateBy" : null,
"updateTime" : 1708254323547,
"tenantId" : "000000",
"id" : 453554819821637,
"appName" : "微信小程序",
"appId" : "xxx",
"appSecret" : "xxx",
"appType" : "1",
"remark" : "微信小程序"
} ]

View File

@ -1,103 +1,118 @@
[
{
"id": 1,
"tenantId": "000000",
"configName": "主框架页-默认皮肤样式名称",
"configKey": "sys.index.skinName",
"configValue": "skin-blue",
"configType": "Y",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow"
},
{
"id": 2,
"tenantId": "000000",
"configName": "用户管理-账号初始密码",
"configKey": "sys.user.initPassword",
"configValue": "123456",
"configType": "Y",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "初始化密码 123456"
},
{
"id": 3,
"tenantId": "000000",
"configName": "主框架页-侧边栏主题",
"configKey": "sys.index.sideTheme",
"configValue": "theme-dark",
"configType": "Y",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "深色主题theme-dark浅色主题theme-light"
},
{
"id": 5,
"tenantId": "000000",
"configName": "账号自助-是否开启用户注册功能",
"configKey": "sys.account.registerUser",
"configValue": "false",
"configType": "Y",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "是否开启注册用户功能true开启false关闭"
},
{
"id": 11,
"tenantId": "000000",
"configName": "OSS预览列表资源开关",
"configKey": "sys.oss.previewListResource",
"configValue": "true",
"configType": "Y",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "true:开启, false:关闭"
},
{
"id": 452767972696133,
"configKey": "sys.index.skinName",
"configName": "主框架页-默认皮肤样式名称",
"configType": "Y",
"configValue": "skin-blue",
"remark": "蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow",
"tenantId": "452748015218757"
},
{
"id": 452767972700229,
"configKey": "sys.user.initPassword",
"configName": "用户管理-账号初始密码",
"configType": "Y",
"configValue": "123456",
"remark": "初始化密码 123456",
"tenantId": "452748015218757"
},
{
"id": 452767972704325,
"configKey": "sys.index.sideTheme",
"configName": "主框架页-侧边栏主题",
"configType": "Y",
"configValue": "theme-dark",
"remark": "深色主题theme-dark浅色主题theme-light",
"tenantId": "452748015218757"
},
{
"id": 452767972708421,
"configKey": "sys.account.registerUser",
"configName": "账号自助-是否开启用户注册功能",
"configType": "Y",
"configValue": "false",
"remark": "是否开启注册用户功能true开启false关闭",
"tenantId": "452748015218757"
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321796,
"updateBy" : null,
"updateTime" : 1708254321796,
"tenantId" : "000000",
"id" : 1,
"configName" : "主框架页-默认皮肤样式名称",
"configKey" : "sys.index.skinName",
"configValue" : "skin-blue",
"configType" : "Y",
"remark" : "蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321808,
"updateBy" : null,
"updateTime" : 1708254321808,
"tenantId" : "000000",
"id" : 2,
"configName" : "用户管理-账号初始密码",
"configKey" : "sys.user.initPassword",
"configValue" : "123456",
"configType" : "Y",
"remark" : "初始化密码 123456"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321811,
"updateBy" : null,
"updateTime" : 1708254321811,
"tenantId" : "000000",
"id" : 3,
"configName" : "主框架页-侧边栏主题",
"configKey" : "sys.index.sideTheme",
"configValue" : "theme-dark",
"configType" : "Y",
"remark" : "深色主题theme-dark浅色主题theme-light"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321814,
"updateBy" : null,
"updateTime" : 1708254321814,
"tenantId" : "000000",
"id" : 5,
"configName" : "账号自助-是否开启用户注册功能",
"configKey" : "sys.account.registerUser",
"configValue" : "false",
"configType" : "Y",
"remark" : "是否开启注册用户功能true开启false关闭"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321818,
"updateBy" : null,
"updateTime" : 1708254321818,
"tenantId" : "000000",
"id" : 11,
"configName" : "OSS预览列表资源开关",
"configKey" : "sys.oss.previewListResource",
"configValue" : "true",
"configType" : "Y",
"remark" : "true:开启, false:关闭"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321820,
"updateBy" : null,
"updateTime" : 1708254321820,
"tenantId" : "452748015218757",
"id" : 452767972696133,
"configName" : "主框架页-默认皮肤样式名称",
"configKey" : "sys.index.skinName",
"configValue" : "skin-blue",
"configType" : "Y",
"remark" : "蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321821,
"updateBy" : null,
"updateTime" : 1708254321821,
"tenantId" : "452748015218757",
"id" : 452767972700229,
"configName" : "用户管理-账号初始密码",
"configKey" : "sys.user.initPassword",
"configValue" : "123456",
"configType" : "Y",
"remark" : "初始化密码 123456"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321823,
"updateBy" : null,
"updateTime" : 1708254321823,
"tenantId" : "452748015218757",
"id" : 452767972704325,
"configName" : "主框架页-侧边栏主题",
"configKey" : "sys.index.sideTheme",
"configValue" : "theme-dark",
"configType" : "Y",
"remark" : "深色主题theme-dark浅色主题theme-light"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321826,
"updateBy" : null,
"updateTime" : 1708254321826,
"tenantId" : "452748015218757",
"id" : 452767972708421,
"configName" : "账号自助-是否开启用户注册功能",
"configKey" : "sys.account.registerUser",
"configValue" : "false",
"configType" : "Y",
"remark" : "是否开启注册用户功能true开启false关闭"
} ]

View File

@ -1,195 +1,188 @@
[
{
"id": 100,
"tenantId": "000000",
"parentId": 0,
"ancestors": "0",
"deptName": "铱塔智联",
"orderNum": 0,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 101,
"tenantId": "000000",
"parentId": 100,
"ancestors": "0,100",
"deptName": "深圳总公司",
"orderNum": 1,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 102,
"tenantId": "000000",
"parentId": 100,
"ancestors": "0,100",
"deptName": "长沙分公司",
"orderNum": 2,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 103,
"tenantId": "000000",
"parentId": 101,
"ancestors": "0,100,101",
"deptName": "研发部门",
"orderNum": 1,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 104,
"tenantId": "000000",
"parentId": 101,
"ancestors": "0,100,101",
"deptName": "市场部门",
"orderNum": 2,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 105,
"tenantId": "000000",
"parentId": 101,
"ancestors": "0,100,101",
"deptName": "测试部门",
"orderNum": 3,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 106,
"tenantId": "000000",
"parentId": 101,
"ancestors": "0,100,101",
"deptName": "财务部门",
"orderNum": 4,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 107,
"tenantId": "000000",
"parentId": 101,
"ancestors": "0,100,101",
"deptName": "运维部门",
"orderNum": 5,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 108,
"tenantId": "000000",
"parentId": 102,
"ancestors": "0,100,102",
"deptName": "市场部门",
"orderNum": 1,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 109,
"tenantId": "000000",
"parentId": 102,
"ancestors": "0,100,102",
"deptName": "财务部门",
"orderNum": 2,
"leader": "openiita",
"phone": "15888888888",
"email": "xxx@qq.com",
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 452767971254341,
"tenantId": "452748015218757",
"parentId": 0,
"ancestors": "0",
"deptName": "测试租户有限公司",
"orderNum": null,
"leader": "test",
"phone": "18888888888",
"email": null,
"status": "0",
"delFlag": "0"
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321849,
"updateBy" : null,
"updateTime" : 1708254321849,
"id" : 100,
"parentId" : 0,
"parentName" : null,
"ancestors" : "0",
"deptName" : "铱塔智联",
"orderNum" : 0,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321863,
"updateBy" : null,
"updateTime" : 1708254321863,
"id" : 101,
"parentId" : 100,
"parentName" : null,
"ancestors" : "0,100",
"deptName" : "深圳总公司",
"orderNum" : 1,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321868,
"updateBy" : null,
"updateTime" : 1708254321868,
"id" : 102,
"parentId" : 100,
"parentName" : null,
"ancestors" : "0,100",
"deptName" : "长沙分公司",
"orderNum" : 2,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321870,
"updateBy" : null,
"updateTime" : 1708254321870,
"id" : 103,
"parentId" : 101,
"parentName" : null,
"ancestors" : "0,100,101",
"deptName" : "研发部门",
"orderNum" : 1,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321874,
"updateBy" : null,
"updateTime" : 1708254321874,
"id" : 104,
"parentId" : 101,
"parentName" : null,
"ancestors" : "0,100,101",
"deptName" : "市场部门",
"orderNum" : 2,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321877,
"updateBy" : null,
"updateTime" : 1708254321877,
"id" : 105,
"parentId" : 101,
"parentName" : null,
"ancestors" : "0,100,101",
"deptName" : "测试部门",
"orderNum" : 3,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321880,
"updateBy" : null,
"updateTime" : 1708254321880,
"id" : 106,
"parentId" : 101,
"parentName" : null,
"ancestors" : "0,100,101",
"deptName" : "财务部门",
"orderNum" : 4,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321885,
"updateBy" : null,
"updateTime" : 1708254321885,
"id" : 107,
"parentId" : 101,
"parentName" : null,
"ancestors" : "0,100,101",
"deptName" : "运维部门",
"orderNum" : 5,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321889,
"updateBy" : null,
"updateTime" : 1708254321889,
"id" : 108,
"parentId" : 102,
"parentName" : null,
"ancestors" : "0,100,102",
"deptName" : "市场部门",
"orderNum" : 1,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321892,
"updateBy" : null,
"updateTime" : 1708254321892,
"id" : 109,
"parentId" : 102,
"parentName" : null,
"ancestors" : "0,100,102",
"deptName" : "财务部门",
"orderNum" : 2,
"leader" : "openiita",
"phone" : "15888888888",
"email" : "xxx@qq.com",
"status" : "0",
"tenantId" : "000000"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321896,
"updateBy" : null,
"updateTime" : 1708254321896,
"id" : 452767971254341,
"parentId" : 0,
"parentName" : null,
"ancestors" : "0",
"deptName" : "测试租户有限公司",
"orderNum" : null,
"leader" : "test",
"phone" : "18888888888",
"email" : null,
"status" : "0",
"tenantId" : "452748015218757"
} ]

View File

@ -1,427 +1,426 @@
[
{
"id": 1,
"tenantId": "000000",
"dictSort": 1,
"dictLabel": "男",
"dictValue": "0",
"dictType": "sys_user_sex",
"cssClass": "",
"listClass": "",
"isDefault": "Y",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "性别男"
},
{
"id": 2,
"tenantId": "000000",
"dictSort": 2,
"dictLabel": "女",
"dictValue": "1",
"dictType": "sys_user_sex",
"cssClass": "",
"listClass": "",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "性别女"
},
{
"id": 3,
"tenantId": "000000",
"dictSort": 3,
"dictLabel": "未知",
"dictValue": "2",
"dictType": "sys_user_sex",
"cssClass": "",
"listClass": "",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "性别未知"
},
{
"id": 4,
"tenantId": "000000",
"dictSort": 1,
"dictLabel": "显示",
"dictValue": "0",
"dictType": "sys_show_hide",
"cssClass": "",
"listClass": "primary",
"isDefault": "Y",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "显示菜单"
},
{
"id": 5,
"tenantId": "000000",
"dictSort": 2,
"dictLabel": "隐藏",
"dictValue": "1",
"dictType": "sys_show_hide",
"cssClass": "",
"listClass": "danger",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "隐藏菜单"
},
{
"id": 6,
"tenantId": "000000",
"dictSort": 1,
"dictLabel": "正常",
"dictValue": "0",
"dictType": "sys_normal_disable",
"cssClass": "",
"listClass": "primary",
"isDefault": "Y",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "正常状态"
},
{
"id": 7,
"tenantId": "000000",
"dictSort": 2,
"dictLabel": "停用",
"dictValue": "1",
"dictType": "sys_normal_disable",
"cssClass": "",
"listClass": "danger",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "停用状态"
},
{
"id": 12,
"tenantId": "000000",
"dictSort": 1,
"dictLabel": "是",
"dictValue": "Y",
"dictType": "sys_yes_no",
"cssClass": "",
"listClass": "primary",
"isDefault": "Y",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "系统默认是"
},
{
"id": 13,
"tenantId": "000000",
"dictSort": 2,
"dictLabel": "否",
"dictValue": "N",
"dictType": "sys_yes_no",
"cssClass": "",
"listClass": "danger",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "系统默认否"
},
{
"id": 14,
"tenantId": "000000",
"dictSort": 1,
"dictLabel": "通知",
"dictValue": "1",
"dictType": "sys_notice_type",
"cssClass": "",
"listClass": "warning",
"isDefault": "Y",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "通知"
},
{
"id": 15,
"tenantId": "000000",
"dictSort": 2,
"dictLabel": "公告",
"dictValue": "2",
"dictType": "sys_notice_type",
"cssClass": "",
"listClass": "success",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "公告"
},
{
"id": 16,
"tenantId": "000000",
"dictSort": 1,
"dictLabel": "正常",
"dictValue": "0",
"dictType": "sys_notice_status",
"cssClass": "",
"listClass": "primary",
"isDefault": "Y",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "正常状态"
},
{
"id": 17,
"tenantId": "000000",
"dict_sort": 2,
"dictLabel": "关闭",
"dictValue": "1",
"dictType": "sys_notice_status",
"cssClass": "",
"listClass": "danger",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "关闭状态"
},
{
"id": 18,
"tenantId": "000000",
"dict_sort": 1,
"dictLabel": "新增",
"dictValue": "1",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "info",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "新增操作"
},
{
"id": 19,
"tenantId": "000000",
"dict_sort": 2,
"dictLabel": "修改",
"dictValue": "2",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "info",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "修改操作"
},
{
"id": 20,
"tenantId": "000000",
"dict_sort": 3,
"dictLabel": "删除",
"dictValue": "3",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "danger",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "删除操作"
},
{
"id": 21,
"tenantId": "000000",
"dict_sort": 4,
"dictLabel": "授权",
"dictValue": "4",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "primary",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "授权操作"
},
{
"id": 22,
"tenantId": "000000",
"dict_sort": 5,
"dictLabel": "导出",
"dictValue": "5",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "warning",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "导出操作"
},
{
"id": 23,
"tenantId": "000000",
"dict_sort": 6,
"dictLabel": "导入",
"dictValue": "6",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "warning",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "导入操作"
},
{
"id": 24,
"tenantId": "000000",
"dict_sort": 7,
"dictLabel": "强退",
"dictValue": "7",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "danger",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "强退操作"
},
{
"id": 25,
"tenantId": "000000",
"dict_sort": 8,
"dictLabel": "生成代码",
"dictValue": "8",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "warning",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "生成操作"
},
{
"id": 26,
"tenantId": "000000",
"dict_sort": 9,
"dictLabel": "清空数据",
"dictValue": "9",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "danger",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "清空操作"
},
{
"id": 27,
"tenantId": "000000",
"dict_sort": 1,
"dictLabel": "成功",
"dictValue": "0",
"dictType": "sys_common_status",
"cssClass": "",
"listClass": "primary",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "正常状态"
},
{
"id": 28,
"tenantId": "000000",
"dict_sort": 2,
"dictLabel": "失败",
"dictValue": "1",
"dictType": "sys_common_status",
"cssClass": "",
"listClass": "danger",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "停用状态"
},
{
"id": 29,
"tenantId": "000000",
"dict_sort": 99,
"dictLabel": "其他",
"dictValue": "0",
"dictType": "sys_oper_type",
"cssClass": "",
"listClass": "info",
"isDefault": "N",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "其他操作"
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321935,
"updateBy" : null,
"updateTime" : 1708254321935,
"tenantId" : "000000",
"id" : 1,
"dictSort" : 1,
"dictLabel" : "男",
"dictValue" : "0",
"dictType" : "sys_user_sex",
"cssClass" : "",
"listClass" : "",
"isDefault" : "Y",
"status" : "0",
"remark" : "性别男"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321951,
"updateBy" : null,
"updateTime" : 1708254321951,
"tenantId" : "000000",
"id" : 2,
"dictSort" : 2,
"dictLabel" : "女",
"dictValue" : "1",
"dictType" : "sys_user_sex",
"cssClass" : "",
"listClass" : "",
"isDefault" : "N",
"status" : "0",
"remark" : "性别女"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321958,
"updateBy" : null,
"updateTime" : 1708254321958,
"tenantId" : "000000",
"id" : 3,
"dictSort" : 3,
"dictLabel" : "未知",
"dictValue" : "2",
"dictType" : "sys_user_sex",
"cssClass" : "",
"listClass" : "",
"isDefault" : "N",
"status" : "0",
"remark" : "性别未知"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321962,
"updateBy" : null,
"updateTime" : 1708254321962,
"tenantId" : "000000",
"id" : 4,
"dictSort" : 1,
"dictLabel" : "显示",
"dictValue" : "0",
"dictType" : "sys_show_hide",
"cssClass" : "",
"listClass" : "primary",
"isDefault" : "Y",
"status" : "0",
"remark" : "显示菜单"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321968,
"updateBy" : null,
"updateTime" : 1708254321968,
"tenantId" : "000000",
"id" : 5,
"dictSort" : 2,
"dictLabel" : "隐藏",
"dictValue" : "1",
"dictType" : "sys_show_hide",
"cssClass" : "",
"listClass" : "danger",
"isDefault" : "N",
"status" : "0",
"remark" : "隐藏菜单"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321971,
"updateBy" : null,
"updateTime" : 1708254321971,
"tenantId" : "000000",
"id" : 6,
"dictSort" : 1,
"dictLabel" : "正常",
"dictValue" : "0",
"dictType" : "sys_normal_disable",
"cssClass" : "",
"listClass" : "primary",
"isDefault" : "Y",
"status" : "0",
"remark" : "正常状态"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321976,
"updateBy" : null,
"updateTime" : 1708254321976,
"tenantId" : "000000",
"id" : 7,
"dictSort" : 2,
"dictLabel" : "停用",
"dictValue" : "1",
"dictType" : "sys_normal_disable",
"cssClass" : "",
"listClass" : "danger",
"isDefault" : "N",
"status" : "0",
"remark" : "停用状态"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321981,
"updateBy" : null,
"updateTime" : 1708254321981,
"tenantId" : "000000",
"id" : 12,
"dictSort" : 1,
"dictLabel" : "是",
"dictValue" : "Y",
"dictType" : "sys_yes_no",
"cssClass" : "",
"listClass" : "primary",
"isDefault" : "Y",
"status" : "0",
"remark" : "系统默认是"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321987,
"updateBy" : null,
"updateTime" : 1708254321987,
"tenantId" : "000000",
"id" : 13,
"dictSort" : 2,
"dictLabel" : "否",
"dictValue" : "N",
"dictType" : "sys_yes_no",
"cssClass" : "",
"listClass" : "danger",
"isDefault" : "N",
"status" : "0",
"remark" : "系统默认否"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321991,
"updateBy" : null,
"updateTime" : 1708254321991,
"tenantId" : "000000",
"id" : 14,
"dictSort" : 1,
"dictLabel" : "通知",
"dictValue" : "1",
"dictType" : "sys_notice_type",
"cssClass" : "",
"listClass" : "warning",
"isDefault" : "Y",
"status" : "0",
"remark" : "通知"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254321994,
"updateBy" : null,
"updateTime" : 1708254321994,
"tenantId" : "000000",
"id" : 15,
"dictSort" : 2,
"dictLabel" : "公告",
"dictValue" : "2",
"dictType" : "sys_notice_type",
"cssClass" : "",
"listClass" : "success",
"isDefault" : "N",
"status" : "0",
"remark" : "公告"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322001,
"updateBy" : null,
"updateTime" : 1708254322001,
"tenantId" : "000000",
"id" : 16,
"dictSort" : 1,
"dictLabel" : "正常",
"dictValue" : "0",
"dictType" : "sys_notice_status",
"cssClass" : "",
"listClass" : "primary",
"isDefault" : "Y",
"status" : "0",
"remark" : "正常状态"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322006,
"updateBy" : null,
"updateTime" : 1708254322006,
"tenantId" : "000000",
"id" : 17,
"dictSort" : null,
"dictLabel" : "关闭",
"dictValue" : "1",
"dictType" : "sys_notice_status",
"cssClass" : "",
"listClass" : "danger",
"isDefault" : "N",
"status" : "0",
"remark" : "关闭状态"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322012,
"updateBy" : null,
"updateTime" : 1708254322012,
"tenantId" : "000000",
"id" : 18,
"dictSort" : null,
"dictLabel" : "新增",
"dictValue" : "1",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "info",
"isDefault" : "N",
"status" : "0",
"remark" : "新增操作"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322018,
"updateBy" : null,
"updateTime" : 1708254322018,
"tenantId" : "000000",
"id" : 19,
"dictSort" : null,
"dictLabel" : "修改",
"dictValue" : "2",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "info",
"isDefault" : "N",
"status" : "0",
"remark" : "修改操作"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322022,
"updateBy" : null,
"updateTime" : 1708254322022,
"tenantId" : "000000",
"id" : 20,
"dictSort" : null,
"dictLabel" : "删除",
"dictValue" : "3",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "danger",
"isDefault" : "N",
"status" : "0",
"remark" : "删除操作"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322025,
"updateBy" : null,
"updateTime" : 1708254322025,
"tenantId" : "000000",
"id" : 21,
"dictSort" : null,
"dictLabel" : "授权",
"dictValue" : "4",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "primary",
"isDefault" : "N",
"status" : "0",
"remark" : "授权操作"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322027,
"updateBy" : null,
"updateTime" : 1708254322027,
"tenantId" : "000000",
"id" : 22,
"dictSort" : null,
"dictLabel" : "导出",
"dictValue" : "5",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "warning",
"isDefault" : "N",
"status" : "0",
"remark" : "导出操作"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322030,
"updateBy" : null,
"updateTime" : 1708254322030,
"tenantId" : "000000",
"id" : 23,
"dictSort" : null,
"dictLabel" : "导入",
"dictValue" : "6",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "warning",
"isDefault" : "N",
"status" : "0",
"remark" : "导入操作"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322035,
"updateBy" : null,
"updateTime" : 1708254322035,
"tenantId" : "000000",
"id" : 24,
"dictSort" : null,
"dictLabel" : "强退",
"dictValue" : "7",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "danger",
"isDefault" : "N",
"status" : "0",
"remark" : "强退操作"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322038,
"updateBy" : null,
"updateTime" : 1708254322038,
"tenantId" : "000000",
"id" : 25,
"dictSort" : null,
"dictLabel" : "生成代码",
"dictValue" : "8",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "warning",
"isDefault" : "N",
"status" : "0",
"remark" : "生成操作"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322041,
"updateBy" : null,
"updateTime" : 1708254322041,
"tenantId" : "000000",
"id" : 26,
"dictSort" : null,
"dictLabel" : "清空数据",
"dictValue" : "9",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "danger",
"isDefault" : "N",
"status" : "0",
"remark" : "清空操作"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322044,
"updateBy" : null,
"updateTime" : 1708254322044,
"tenantId" : "000000",
"id" : 27,
"dictSort" : null,
"dictLabel" : "成功",
"dictValue" : "0",
"dictType" : "sys_common_status",
"cssClass" : "",
"listClass" : "primary",
"isDefault" : "N",
"status" : "0",
"remark" : "正常状态"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322046,
"updateBy" : null,
"updateTime" : 1708254322046,
"tenantId" : "000000",
"id" : 28,
"dictSort" : null,
"dictLabel" : "失败",
"dictValue" : "1",
"dictType" : "sys_common_status",
"cssClass" : "",
"listClass" : "danger",
"isDefault" : "N",
"status" : "0",
"remark" : "停用状态"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322051,
"updateBy" : null,
"updateTime" : 1708254322051,
"tenantId" : "000000",
"id" : 29,
"dictSort" : null,
"dictLabel" : "其他",
"dictValue" : "0",
"dictType" : "sys_oper_type",
"cssClass" : "",
"listClass" : "info",
"isDefault" : "N",
"status" : "0",
"remark" : "其他操作"
} ]

View File

@ -1,170 +1,193 @@
[
{
"id": 1,
"tenantId": "000000",
"dictName": "用户性别",
"dictType": "sys_user_sex",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "用户性别列表"
},
{
"id": 2,
"tenantId": "000000",
"dictName": "菜单状态",
"dictType": "sys_show_hide",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "菜单状态列表"
},
{
"id": 3,
"tenantId": "000000",
"dictName": "系统开关",
"dictType": "sys_normal_disable",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "系统开关列表"
},
{
"id": 6,
"tenantId": "000000",
"dictName": "系统是否",
"dictType": "sys_yes_no",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "系统是否列表"
},
{
"id": 7,
"tenantId": "000000",
"dictName": "通知类型",
"dictType": "sys_notice_type",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "通知类型列表"
},
{
"id": 8,
"tenantId": "000000",
"dictName": "通知状态",
"dictType": "sys_notice_status",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "通知状态列表"
},
{
"id": 9,
"tenantId": "000000",
"dictName": "操作类型",
"dictType": "sys_oper_type",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "操作类型列表"
},
{
"id": 10,
"tenantId": "000000",
"dictName": "系统状态",
"dictType": "sys_common_status",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "登录状态列表"
},
{
"id": 452767972294725,
"tenantId": "452748015218757",
"dictName": "用户性别",
"dictType": "sys_user_sex",
"status": "0",
"remark": "用户性别列表"
},
{
"id": 452767972298821,
"tenantId": "452748015218757",
"dictName": "菜单状态",
"dictType": "sys_show_hide",
"status": "0",
"remark": "菜单状态列表"
},
{
"id": 452767972298822,
"tenantId": "452748015218757",
"dictName": "系统开关",
"dictType": "sys_normal_disable",
"status": "0",
"remark": "系统开关列表"
},
{
"id": 452767972298823,
"tenantId": "452748015218757",
"dictName": "系统是否",
"dictType": "sys_yes_no",
"status": "0",
"remark": "系统是否列表"
},
{
"id": 452767972298824,
"tenantId": "452748015218757",
"dictName": "通知类型",
"dictType": "sys_notice_type",
"status": "0",
"remark": "通知类型列表"
},
{
"id": 452767972298825,
"tenantId": "452748015218757",
"dictName": "通知状态",
"dictType": "sys_notice_status",
"status": "0",
"remark": "通知状态列表"
},
{
"id": 452767972302917,
"tenantId": "452748015218757",
"dictName": "操作类型",
"dictType": "sys_oper_type",
"status": "0",
"remark": "操作类型列表"
},
{
"id": 452767972302918,
"tenantId": "452748015218757",
"dictName": "登录状态",
"dictType": "sys_common_status",
"status": "0",
"remark": "登录状态列表"
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322074,
"updateBy" : null,
"updateTime" : 1708254322074,
"tenantId" : "000000",
"id" : 1,
"dictName" : "用户性别",
"dictType" : "sys_user_sex",
"status" : "0",
"remark" : "用户性别列表"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322084,
"updateBy" : null,
"updateTime" : 1708254322084,
"tenantId" : "000000",
"id" : 2,
"dictName" : "菜单状态",
"dictType" : "sys_show_hide",
"status" : "0",
"remark" : "菜单状态列表"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322088,
"updateBy" : null,
"updateTime" : 1708254322088,
"tenantId" : "000000",
"id" : 3,
"dictName" : "系统开关",
"dictType" : "sys_normal_disable",
"status" : "0",
"remark" : "系统开关列表"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322091,
"updateBy" : null,
"updateTime" : 1708254322091,
"tenantId" : "000000",
"id" : 6,
"dictName" : "系统是否",
"dictType" : "sys_yes_no",
"status" : "0",
"remark" : "系统是否列表"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322093,
"updateBy" : null,
"updateTime" : 1708254322093,
"tenantId" : "000000",
"id" : 7,
"dictName" : "通知类型",
"dictType" : "sys_notice_type",
"status" : "0",
"remark" : "通知类型列表"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322097,
"updateBy" : null,
"updateTime" : 1708254322097,
"tenantId" : "000000",
"id" : 8,
"dictName" : "通知状态",
"dictType" : "sys_notice_status",
"status" : "0",
"remark" : "通知状态列表"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322100,
"updateBy" : null,
"updateTime" : 1708254322100,
"tenantId" : "000000",
"id" : 9,
"dictName" : "操作类型",
"dictType" : "sys_oper_type",
"status" : "0",
"remark" : "操作类型列表"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322103,
"updateBy" : null,
"updateTime" : 1708254322103,
"tenantId" : "000000",
"id" : 10,
"dictName" : "系统状态",
"dictType" : "sys_common_status",
"status" : "0",
"remark" : "登录状态列表"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254322107,
"updateBy" : null,
"updateTime" : 1708254322107,
"tenantId" : "452748015218757",
"id" : 452767972294725,
"dictName" : "用户性别",
"dictType" : "sys_user_sex",
"status" : "0",
"remark" : "用户性别列表"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254322110,
"updateBy" : null,
"updateTime" : 1708254322110,
"tenantId" : "452748015218757",
"id" : 452767972298821,
"dictName" : "菜单状态",
"dictType" : "sys_show_hide",
"status" : "0",
"remark" : "菜单状态列表"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254322113,
"updateBy" : null,
"updateTime" : 1708254322113,
"tenantId" : "452748015218757",
"id" : 452767972298822,
"dictName" : "系统开关",
"dictType" : "sys_normal_disable",
"status" : "0",
"remark" : "系统开关列表"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254322116,
"updateBy" : null,
"updateTime" : 1708254322116,
"tenantId" : "452748015218757",
"id" : 452767972298823,
"dictName" : "系统是否",
"dictType" : "sys_yes_no",
"status" : "0",
"remark" : "系统是否列表"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254322120,
"updateBy" : null,
"updateTime" : 1708254322120,
"tenantId" : "452748015218757",
"id" : 452767972298824,
"dictName" : "通知类型",
"dictType" : "sys_notice_type",
"status" : "0",
"remark" : "通知类型列表"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254322123,
"updateBy" : null,
"updateTime" : 1708254322123,
"tenantId" : "452748015218757",
"id" : 452767972298825,
"dictName" : "通知状态",
"dictType" : "sys_notice_status",
"status" : "0",
"remark" : "通知状态列表"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254322127,
"updateBy" : null,
"updateTime" : 1708254322127,
"tenantId" : "452748015218757",
"id" : 452767972302917,
"dictName" : "操作类型",
"dictType" : "sys_oper_type",
"status" : "0",
"remark" : "操作类型列表"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254322133,
"updateBy" : null,
"updateTime" : 1708254322133,
"tenantId" : "452748015218757",
"id" : 452767972302918,
"dictName" : "登录状态",
"dictType" : "sys_common_status",
"status" : "0",
"remark" : "登录状态列表"
} ]

View File

@ -1,14 +1,23 @@
[
{
"id": 1665628533390614529,
"tenantId": "000000",
"userName": "admin",
"ipaddr": "127.0.0.1",
"loginLocation": "内网IP",
"browser": "Chrome",
"os": "Windows 10 or Windows Server 2016",
"status": "0",
"msg": "登录成功"
}
]
[ {
"id" : 516579924885573,
"tenantId" : "000000",
"userName" : "admin",
"status" : "0",
"ipaddr" : "127.0.0.1",
"loginLocation" : "内网IP",
"browser" : "Chrome",
"os" : "OSX",
"msg" : "user.login.success",
"loginTime" : 1708254547722
}, {
"id" : 1665628533390614529,
"tenantId" : "000000",
"userName" : "admin",
"status" : "0",
"ipaddr" : "127.0.0.1",
"loginLocation" : "内网IP",
"browser" : "Chrome",
"os" : "Windows 10 or Windows Server 2016",
"msg" : "登录成功",
"loginTime" : null
} ]

File diff suppressed because it is too large Load Diff

View File

@ -1,30 +1,29 @@
[
{
"id": 1,
"tenantId": "000000",
"noticeTitle": "温馨提醒2018-07-01 新版本发布啦",
"noticeType": "2",
"noticeContent": "5paw54mI5pys5YaF5a65",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "管理员"
},
{
"id": 2,
"tenantId": "000000",
"noticeTitle": "维护通知2018-07-01 系统凌晨维护",
"noticeType": "1",
"noticeContent": "57u05oqk5YaF5a65",
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "管理员"
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322623,
"updateBy" : null,
"updateTime" : 1708254322623,
"tenantId" : "000000",
"id" : 1,
"noticeTitle" : "温馨提醒2018-07-01 新版本发布啦",
"noticeType" : "2",
"noticeContent" : "5paw54mI5pys5YaF5a65",
"status" : "0",
"remark" : "管理员",
"createByName" : null
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322639,
"updateBy" : null,
"updateTime" : 1708254322639,
"tenantId" : "000000",
"id" : 2,
"noticeTitle" : "维护通知2018-07-01 系统凌晨维护",
"noticeType" : "1",
"noticeContent" : "57u05oqk5YaF5a65",
"status" : "0",
"remark" : "管理员",
"createByName" : null
} ]

View File

@ -1,22 +1,276 @@
[
{
"id": 1665641342438514690,
"tenantId": "000000",
"title": "代码生成",
"businessType": 6,
"method": "org.dromara.generator.controller.GenController.importTableSave()",
"request_method": "POST",
"operatorType": 1,
"operName": "admin",
"deptName": "",
"operUrl": "/tool/gen/importTable",
"operIp": "127.0.0.1",
"operLocation": "内网IP",
"operParam": "\"sys_role_dept,sys_role_menu,sysConfig,sysDictData,sysDictType,sysLogininfor,sysNotice,sys_operLog,sys_oss,sys_ossConfig\"",
"json_result": "{\"code\":200,\"msg\":\"操作成功\",\"data\":null}",
"status": 0,
"error_msg": "",
"costTime": 199
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580177526853,
"tenantId" : "000000",
"title" : "菜单管理",
"businessType" : 2,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysMenuController.edit()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/menu/edit",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"8ab12839-a039-4fad-8afe-bc5c0c98354f\",\"data\":{\"createDept\":null,\"createBy\":null,\"createTime\":\"2024-02-18T11:05:22.443+00:00\",\"updateBy\":null,\"updateTime\":null,\"id\":442127357415493,\"parentId\":2210,\"menuName\":\"插件添加\",\"orderNum\":1,\"path\":\"\",\"component\":null,\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"iot: plugin:add\",\"icon\":\"\",\"remark\":null}}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254609402,
"costTime" : 32
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580271538245,
"tenantId" : "000000",
"title" : "菜单管理",
"businessType" : 2,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysMenuController.edit()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/menu/edit",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"f3bfc9df-cacc-4560-8c6f-8984d231675a\",\"data\":{\"createDept\":null,\"createBy\":null,\"createTime\":\"2024-02-18T11:05:22.444+00:00\",\"updateBy\":null,\"updateTime\":null,\"id\":442127532781637,\"parentId\":2210,\"menuName\":\"插件修改\",\"orderNum\":1,\"path\":\"\",\"component\":null,\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"iot:plugin:edit\",\"icon\":\"\",\"remark\":null}}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254632356,
"costTime" : 6
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580303495237,
"tenantId" : "000000",
"title" : "菜单管理",
"businessType" : 2,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysMenuController.edit()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/menu/edit",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"e5e6b549-ae57-4265-9655-1f72768289bc\",\"data\":{\"createDept\":null,\"createBy\":null,\"createTime\":\"2024-02-18T11:05:22.443+00:00\",\"updateBy\":null,\"updateTime\":null,\"id\":442127357415493,\"parentId\":2210,\"menuName\":\"插件添加\",\"orderNum\":1,\"path\":\"\",\"component\":null,\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"iot:plugin:add\",\"icon\":\"\",\"remark\":null}}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254640158,
"costTime" : 7
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580369678405,
"tenantId" : "000000",
"title" : "菜单管理",
"businessType" : 2,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysMenuController.edit()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/menu/edit",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"413f5711-9b51-4b53-9c07-4a18a5d369f3\",\"data\":{\"createDept\":null,\"createBy\":null,\"createTime\":\"2024-02-18T11:05:22.446+00:00\",\"updateBy\":null,\"updateTime\":null,\"id\":442127596064837,\"parentId\":2210,\"menuName\":\"插件查询\",\"orderNum\":1,\"path\":\"\",\"component\":null,\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"iot:plugin:query\",\"icon\":\"\",\"remark\":null}}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254656316,
"costTime" : 5
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580424007749,
"tenantId" : "000000",
"title" : "菜单管理",
"businessType" : 2,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysMenuController.edit()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/menu/edit",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"564af98c-3af4-4b8b-8637-6a008d34fc6d\",\"data\":{\"createDept\":null,\"createBy\":null,\"createTime\":\"2024-02-18T11:05:22.447+00:00\",\"updateBy\":null,\"updateTime\":null,\"id\":442127705182277,\"parentId\":2210,\"menuName\":\"插件删除\",\"orderNum\":1,\"path\":\"\",\"component\":null,\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"iot:plugin:remove\",\"icon\":\"\",\"remark\":null}}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254669580,
"costTime" : 6
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580484644933,
"tenantId" : "000000",
"title" : "菜单管理",
"businessType" : 2,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysMenuController.edit()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/menu/edit",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"38ff89ff-6243-4c54-aa0b-735e83377836\",\"data\":{\"createDept\":null,\"createBy\":null,\"createTime\":\"2024-02-18T11:05:22.444+00:00\",\"updateBy\":null,\"updateTime\":null,\"id\":442127532781637,\"parentId\":2210,\"menuName\":\"插件修改\",\"orderNum\":2,\"path\":\"\",\"component\":null,\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"iot:plugin:edit\",\"icon\":\"\",\"remark\":null}}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254684384,
"costTime" : 5
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580523356229,
"tenantId" : "000000",
"title" : "菜单管理",
"businessType" : 2,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysMenuController.edit()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/menu/edit",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"19366ec6-55f5-49cd-8f82-e7b592cc0dd1\",\"data\":{\"createDept\":null,\"createBy\":null,\"createTime\":\"2024-02-18T11:05:22.447+00:00\",\"updateBy\":null,\"updateTime\":null,\"id\":442127705182277,\"parentId\":2210,\"menuName\":\"插件删除\",\"orderNum\":3,\"path\":\"\",\"component\":null,\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"iot:plugin:remove\",\"icon\":\"\",\"remark\":null}}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254693835,
"costTime" : 6
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580549386309,
"tenantId" : "000000",
"title" : "菜单管理",
"businessType" : 2,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysMenuController.edit()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/menu/edit",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"4beb5d69-7e4e-4826-abe8-cc7d860fe814\",\"data\":{\"createDept\":null,\"createBy\":null,\"createTime\":\"2024-02-18T11:05:22.446+00:00\",\"updateBy\":null,\"updateTime\":null,\"id\":442127596064837,\"parentId\":2210,\"menuName\":\"插件查询\",\"orderNum\":4,\"path\":\"\",\"component\":null,\"queryParam\":null,\"isFrame\":\"1\",\"isCache\":\"0\",\"menuType\":\"F\",\"visible\":\"0\",\"status\":\"0\",\"perms\":\"iot:plugin:query\",\"icon\":\"\",\"remark\":null}}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254700190,
"costTime" : 5
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580700786757,
"tenantId" : "000000",
"title" : "用户管理",
"businessType" : 3,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysUserController.remove()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/user/delete",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"32db1317-b4ee-42c8-8b44-ad077b13468d\",\"data\":[3]}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254737152,
"costTime" : 29
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516580742733893,
"tenantId" : "000000",
"title" : "用户管理",
"businessType" : 3,
"businessTypes" : null,
"method" : "cc.iotkit.system.controller.SysUserController.remove()",
"requestMethod" : "POST",
"operatorType" : 1,
"operName" : "admin",
"deptName" : null,
"operUrl" : "/system/user/delete",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "{\"requestId\":\"84a35cb9-b99f-4bdc-9977-a379fc964699\",\"data\":[2]}",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : 1708254747394,
"costTime" : 8
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 1665641342438514690,
"tenantId" : "000000",
"title" : "代码生成",
"businessType" : 6,
"businessTypes" : null,
"method" : "org.dromara.generator.controller.GenController.importTableSave()",
"requestMethod" : null,
"operatorType" : 1,
"operName" : "admin",
"deptName" : "",
"operUrl" : "/tool/gen/importTable",
"operIp" : "127.0.0.1",
"operLocation" : "内网IP",
"operParam" : "\"sys_role_dept,sys_role_menu,sysConfig,sysDictData,sysDictType,sysLogininfor,sysNotice,sys_operLog,sys_oss,sys_ossConfig\"",
"jsonResult" : null,
"status" : 0,
"errorMsg" : null,
"operTime" : null,
"costTime" : 199
} ]

View File

@ -1 +1 @@
[]
[ ]

View File

@ -1,112 +1,106 @@
[
{
"id": 1,
"tenantId": "000000",
"configKey": "minio",
"accessKey": "admin",
"secretKey": "iita@123",
"bucketName": "iotkit",
"prefix": "",
"endpoint": "159.75.222.119:9000",
"domain": "",
"is_https": "N",
"region": "",
"accessPolicy": "1",
"status": "0",
"ext1": "",
"createDept": 103,
"createBy": 1,
"updateBy": 1,
"remark": null
},
{
"id": 2,
"tenantId": "000000",
"configKey": "qiniu",
"accessKey": "XXXXXXXXXXXXXXX",
"secretKey": "XXXXXXXXXXXXXXX",
"bucketName": "ruoyi",
"prefix": "",
"endpoint": "s3-cn-north-1.qiniucs.com",
"domain": "",
"is_https": "N",
"region": "",
"accessPolicy": "1",
"status": "1",
"ext1": "",
"createDept": 103,
"createBy": 1,
"updateBy": 1,
"remark": null
},
{
"id": 3,
"tenantId": "000000",
"configKey": "aliyun",
"accessKey": "XXXXXXXXXXXXXXX",
"secretKey": "XXXXXXXXXXXXXXX",
"bucketName": "ruoyi",
"prefix": "",
"endpoint": "oss-cn-beijing.aliyuncs.com",
"domain": "",
"is_https": "N",
"region": "",
"accessPolicy": "1",
"status": "1",
"ext1": "",
"createDept": 103,
"createBy": 1,
"updateBy": 1,
"remark": null
},
{
"id": 4,
"tenantId": "000000",
"configKey": "qcloud",
"accessKey": "XXXXXXXXXXXXXXX",
"secretKey": "XXXXXXXXXXXXXXX",
"bucketName": "ruoyi-1250000000",
"prefix": "",
"endpoint": "cos.ap-beijing.myqcloud.com",
"domain": "",
"is_https": "N",
"region": "ap-beijing",
"accessPolicy": "1",
"status": "1",
"ext1": "",
"createDept": 103,
"createBy": 1,
"updateBy": 1,
"remark": null
},
{
"id": 5,
"tenantId": "000000",
"configKey": "image",
"accessKey": "ruoyi",
"secretKey": "ruoyi123",
"bucketName": "ruoyi",
"prefix": "image",
"endpoint": "127.0.0.1:9000",
"domain": "",
"is_https": "N",
"region": "",
"accessPolicy": "1",
"status": "1",
"ext1": "",
"createDept": 103,
"createBy": 1,
"updateBy": 1,
"remark": null
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322687,
"updateBy" : 1,
"updateTime" : 1708254322687,
"tenantId" : "000000",
"id" : 1,
"configKey" : "minio",
"accessKey" : "admin",
"secretKey" : "iita@123",
"bucketName" : "iotkit",
"prefix" : "",
"endpoint" : "159.75.222.119:9000",
"domain" : "",
"isHttps" : null,
"region" : "",
"status" : "0",
"ext1" : "",
"remark" : null,
"accessPolicy" : "1"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322701,
"updateBy" : 1,
"updateTime" : 1708254322701,
"tenantId" : "000000",
"id" : 2,
"configKey" : "qiniu",
"accessKey" : "XXXXXXXXXXXXXXX",
"secretKey" : "XXXXXXXXXXXXXXX",
"bucketName" : "ruoyi",
"prefix" : "",
"endpoint" : "s3-cn-north-1.qiniucs.com",
"domain" : "",
"isHttps" : null,
"region" : "",
"status" : "1",
"ext1" : "",
"remark" : null,
"accessPolicy" : "1"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322703,
"updateBy" : 1,
"updateTime" : 1708254322703,
"tenantId" : "000000",
"id" : 3,
"configKey" : "aliyun",
"accessKey" : "XXXXXXXXXXXXXXX",
"secretKey" : "XXXXXXXXXXXXXXX",
"bucketName" : "ruoyi",
"prefix" : "",
"endpoint" : "oss-cn-beijing.aliyuncs.com",
"domain" : "",
"isHttps" : null,
"region" : "",
"status" : "1",
"ext1" : "",
"remark" : null,
"accessPolicy" : "1"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322705,
"updateBy" : 1,
"updateTime" : 1708254322705,
"tenantId" : "000000",
"id" : 4,
"configKey" : "qcloud",
"accessKey" : "XXXXXXXXXXXXXXX",
"secretKey" : "XXXXXXXXXXXXXXX",
"bucketName" : "ruoyi-1250000000",
"prefix" : "",
"endpoint" : "cos.ap-beijing.myqcloud.com",
"domain" : "",
"isHttps" : null,
"region" : "ap-beijing",
"status" : "1",
"ext1" : "",
"remark" : null,
"accessPolicy" : "1"
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322708,
"updateBy" : 1,
"updateTime" : 1708254322708,
"tenantId" : "000000",
"id" : 5,
"configKey" : "image",
"accessKey" : "ruoyi",
"secretKey" : "ruoyi123",
"bucketName" : "ruoyi",
"prefix" : "image",
"endpoint" : "127.0.0.1:9000",
"domain" : "",
"isHttps" : null,
"region" : "",
"status" : "1",
"ext1" : "",
"remark" : null,
"accessPolicy" : "1"
} ]

View File

@ -1,58 +1,53 @@
[
{
"id": 1,
"tenantId": "000000",
"postCode": "ceo",
"postName": "董事长",
"postSort": 1,
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": ""
},
{
"id": 2,
"tenantId": "000000",
"postCode": "se",
"postName": "项目经理",
"postSort": 2,
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": ""
},
{
"id": 3,
"tenantId": "000000",
"postCode": "hr",
"postName": "人力资源",
"postSort": 3,
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": ""
},
{
"id": 4,
"tenantId": "000000",
"postCode": "user",
"postName": "普通员工",
"postSort": 4,
"status": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": ""
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322729,
"updateBy" : null,
"updateTime" : 1708254322729,
"tenantId" : "000000",
"id" : 1,
"postCode" : "ceo",
"postName" : "董事长",
"postSort" : 1,
"status" : "0",
"remark" : ""
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322742,
"updateBy" : null,
"updateTime" : 1708254322742,
"tenantId" : "000000",
"id" : 2,
"postCode" : "se",
"postName" : "项目经理",
"postSort" : 2,
"status" : "0",
"remark" : ""
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322745,
"updateBy" : null,
"updateTime" : 1708254322745,
"tenantId" : "000000",
"id" : 3,
"postCode" : "hr",
"postName" : "人力资源",
"postSort" : 3,
"status" : "0",
"remark" : ""
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322750,
"updateBy" : null,
"updateTime" : 1708254322750,
"tenantId" : "000000",
"id" : 4,
"postCode" : "user",
"postName" : "普通员工",
"postSort" : 4,
"status" : "0",
"remark" : ""
} ]

View File

@ -1,38 +1,37 @@
[
{
"id": 1,
"tenantId": "000000",
"roleName": "超级管理员",
"roleKey": "superadmin",
"roleSort": 1,
"data_scope": "1",
"menuCheck_strictly": 1,
"deptCheck_strictly": 1,
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "超级管理员"
},
{
"id": 2,
"tenantId": "000000",
"roleName": "普通角色",
"roleKey": "common",
"roleSort": 2,
"data_scope": "2",
"menuCheck_strictly": 1,
"deptCheck_strictly": 1,
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "普通角色"
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322779,
"updateBy" : null,
"updateTime" : 1708254322779,
"tenantId" : "000000",
"id" : 1,
"roleName" : "超级管理员",
"roleKey" : "superadmin",
"roleSort" : 1,
"dataScope" : null,
"menuCheckStrictly" : null,
"deptCheckStrictly" : null,
"status" : "0",
"remark" : "超级管理员",
"flag" : false,
"superAdmin" : true
}, {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254322799,
"updateBy" : null,
"updateTime" : 1708254322799,
"tenantId" : "000000",
"id" : 2,
"roleName" : "普通角色",
"roleKey" : "common",
"roleSort" : 2,
"dataScope" : null,
"menuCheckStrictly" : null,
"deptCheckStrictly" : null,
"status" : "0",
"remark" : "普通角色",
"flag" : false,
"superAdmin" : false
} ]

View File

@ -1,18 +1,37 @@
[
{
"roleId": 2,
"deptId": 100
},
{
"roleId": 2,
"deptId": 101
},
{
"roleId": 2,
"deptId": 105
},
{
"roleId": 452767970971717,
"deptId": 452767971254341
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516579003666501,
"roleId" : 2,
"deptId" : 100
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516579003695173,
"roleId" : 2,
"deptId" : 101
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516579003699269,
"roleId" : 2,
"deptId" : 105
}, {
"createDept" : null,
"createBy" : null,
"createTime" : null,
"updateBy" : null,
"updateTime" : null,
"id" : 516579003707461,
"roleId" : 452767970971717,
"deptId" : 452767971254341
} ]

File diff suppressed because it is too large Load Diff

View File

@ -1,39 +1,41 @@
[
{
"id": 1,
"tenantId": "000000",
"contactUserName": "管理组",
"contactPhone": "15888888888",
"companyName": "XXX有限公司",
"licenseNumber": null,
"address": null,
"intro": "多租户通用后台管理管理系统",
"domain": null,
"remark": null,
"packageId": null,
"expireTime": null,
"accountCount": -1,
"status": "0",
"delFlag": "0",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null
},
{
"id": 452748015235141,
"tenantId": "452748015218757",
"contactUserName": "测试人员",
"contactPhone": "18888888888",
"companyName": "测试租户有限公司",
"licenseNumber": "12312312312",
"address": "13123123",
"intro": "测试租户有限公司管理系统",
"domain": null,
"remark": "租户管理员账密:test/test123",
"packageId": 450389924483141,
"accountCount": -1,
"status": "0",
"delFlag": "0"
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254323415,
"updateBy" : null,
"updateTime" : 1708254323415,
"id" : 1,
"tenantId" : "000000",
"contactUserName" : "管理组",
"contactPhone" : "15888888888",
"companyName" : "XXX有限公司",
"licenseNumber" : null,
"address" : null,
"domain" : null,
"intro" : "多租户通用后台管理管理系统",
"remark" : null,
"packageId" : null,
"expireTime" : null,
"accountCount" : -1,
"status" : "0"
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254323430,
"updateBy" : null,
"updateTime" : 1708254323430,
"id" : 452748015235141,
"tenantId" : "452748015218757",
"contactUserName" : "测试人员",
"contactPhone" : "18888888888",
"companyName" : "测试租户有限公司",
"licenseNumber" : "12312312312",
"address" : "13123123",
"domain" : null,
"intro" : "测试租户有限公司管理系统",
"remark" : "租户管理员账密:test/test123",
"packageId" : 450389924483141,
"expireTime" : null,
"accountCount" : -1,
"status" : "0"
} ]

View File

@ -1,11 +1,13 @@
[
{
"id": 450389924483141,
"packageName": "测试套餐",
"delFlag": "0",
"menuCheckStrictly": true,
"menuIds":"1,100,1001,1002,1003,1004,1005,1006,1007,101,1008,1009,1010,1011,1012,102,1013,1014,1015,1016,103,1017,1018,1019,1020,104,1021,1022,1023,1024,1025,105,1026,1027,1028,1029,1030,106,1031,1032,1033,1034,1035,107,1036,1037,1038,1039,108,500,1040,1041,1042,501,1043,1044,1045,1050,118,1600,1601,1602,1603,1604,1605,502,442129,44212332,442123323123,423,4234553537,2200,2201,441851175424069,441851310268485,441851485323333,2214,2205,441853056651333,441853220675653,441853285179461,441862726639685,441862877970501,441862978281541,441863058096197,2206,441869217525829,441869327724613,441869398310981,441869530075205,441869649666117,441869802405957,441870007808069,441870091001925,441870227968069,441870309814341,2207,441870607315013,441870717771845,441870780928069,441870881378373,2215,2225,442149490409541,442149580529733,442149650423877,442149811572805,2208,2209,442127879118917,442127985041477,442128064598085,442128163270725,2210,442127357415493,442127532781637,442127596064837,442127705182277,2211,2212,442128593006661,442128733950021,442128795189317,2213,442129175347269,442129320091717,442129388187717,2216,2217,2218,2219,442130419388485,442130475098181,442130534805573,442143693541445,2220,2221,2222,442131294584901,2223,442130860195909,442130932109381,442131029889093,442131115253829",
"status": "0",
"remark": "测试套餐"
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254323450,
"updateBy" : null,
"updateTime" : 1708254323450,
"id" : 450389924483141,
"packageName" : "测试套餐",
"menuIds" : "1,100,1001,1002,1003,1004,1005,1006,1007,101,1008,1009,1010,1011,1012,102,1013,1014,1015,1016,103,1017,1018,1019,1020,104,1021,1022,1023,1024,1025,105,1026,1027,1028,1029,1030,106,1031,1032,1033,1034,1035,107,1036,1037,1038,1039,108,500,1040,1041,1042,501,1043,1044,1045,1050,118,1600,1601,1602,1603,1604,1605,502,442129,44212332,442123323123,423,4234553537,2200,2201,441851175424069,441851310268485,441851485323333,2214,2205,441853056651333,441853220675653,441853285179461,441862726639685,441862877970501,441862978281541,441863058096197,2206,441869217525829,441869327724613,441869398310981,441869530075205,441869649666117,441869802405957,441870007808069,441870091001925,441870227968069,441870309814341,2207,441870607315013,441870717771845,441870780928069,441870881378373,2215,2225,442149490409541,442149580529733,442149650423877,442149811572805,2208,2209,2210,442127357415493,442127532781637,442127596064837,442127705182277,2211,2212,442128593006661,442128733950021,442128795189317,2213,442129175347269,442129320091717,442129388187717,2216,2217,2218,2219,442130419388485,442130475098181,442130534805573,442143693541445,2220,2221,2222,442131294584901,2223,442130860195909,442130932109381,442131029889093,442131115253829",
"remark" : "测试套餐",
"menuCheckStrictly" : true,
"status" : "0"
} ]

View File

@ -1,67 +1,27 @@
[
{
"id": 1,
"tenantId": "000000",
"deptId": 103,
"userName": "admin",
"nickName": "admin",
"userType": "sys_user",
"email": "xw2sy@163.com",
"phonenumber": "15888888888",
"sex": "1",
"avatar": null,
"password": "$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2",
"status": "0",
"delFlag": "0",
"loginIp": "127.0.0.1",
"createDept": 103,
"createBy": 1,
"updateBy": 1,
"remark": "管理员"
},
{
"id": 2,
"tenantId": "000000",
"deptId": 105,
"userName": "lionli",
"nickName": "铱塔智联",
"userType": "sys_user",
"email": "jay.m@waterme.cn",
"phonenumber": "15666666666",
"sex": "1",
"avatar": null,
"password": "$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2",
"status": "0",
"delFlag": "0",
"loginIp": "127.0.0.1",
"createDept": 103,
"createBy": 1,
"updateBy": null,
"updateTime": null,
"remark": "测试员"
},
{
"id": 3,
"create_by": null,
"create_dept": null,
"avatar": null,
"delFlag": "0",
"deptId": 100,
"email": null,
"loginIp": "127.0.0.1",
"nickName": "铱塔智联",
"password": "$2a$10$W4DZDmkL1GPxKSxoNQ5yGuwLKbzuYALmNZujnENB18yNszQwCnwuC",
"phonenumber": null,
"remark": "",
"sex": "0",
"status": "0",
"tenantId": "000000",
"userName": "openiita",
"userType": "sys_user"
}
]
[ {
"createDept" : 103,
"createBy" : 1,
"createTime" : 1708254323474,
"updateBy" : 1,
"updateTime" : 1708254547736,
"tenantId" : "000000",
"id" : 1,
"deptId" : 103,
"userName" : "admin",
"nickName" : "admin",
"userType" : "sys_user",
"email" : "xw2sy@163.com",
"phonenumber" : "15888888888",
"sex" : "1",
"avatar" : null,
"password" : "$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2",
"status" : "0",
"loginIp" : "127.0.0.1",
"loginDate" : 1708254547731,
"remark" : "管理员",
"dept" : null,
"roles" : null,
"roleIds" : null,
"postIds" : null,
"roleId" : null
} ]

View File

@ -1,10 +1,10 @@
[
{
"userId": 1,
"postId": 1
},
{
"userId": 2,
"postId": 2
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254323498,
"updateBy" : null,
"updateTime" : 1708254323498,
"id" : 516579006476357,
"userId" : 1,
"postId" : 1
} ]

View File

@ -1,22 +1,10 @@
[
{
"userId": 1,
"roleId": 1
},
{
"userId": 2,
"roleId": 2
},
{
"userId": 3,
"roleId": 2
},
{
"userId": 3,
"roleId": 452767970971717
},
{
"userId": 452767971950661,
"roleId": 452767970971717
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254323519,
"updateBy" : null,
"updateTime" : 1708254323519,
"id" : 516579006554181,
"userId" : 1,
"roleId" : 1
}]

View File

@ -1,35 +1,23 @@
[
{
"id": "97f79dde-bf3c-4d5b-bfd8-8102539002ad",
"name": "测试111",
"type": "timer",
"expression": "*/25 * * * * ? *",
"desc": "sss入网",
"actions": [
{
"type": "device",
"config": "{\"id\":\"f8de6282-771d-4cdb-9929-299db46f361d\",\"type\":\"device\",\"services\":[{\"device\":\"hbtgIA0SuVw9lxjB/AA:BB:CC:DD:11\",\"identifier\":\"allowJoin\",\"inputData\":[]}]}"
}
],
"state": "stopped",
"uid": "1",
"createAt": 1645928016031,
"reason": "stop by 1"
},
{
"id": "667bbfa1-a7ed-4ce8-9ce0-cfa8cac90e6c",
"name": "2222",
"type": "delay",
"expression": "22",
"desc": "2222",
"actions": [
{
"type": "device",
"config": "{\"id\":\"24fd7df7-5c7d-4964-83af-a83d04b4db58\",\"type\":\"device\",\"services\":[{\"device\":\"Rf4QSjbm65X45753/ABC12300001\",\"identifier\":\"set\",\"inputData\":[{\"identifier\":\"powerstate\",\"value\":\"1\"}]}]}"
}
],
"state": "stopped",
"createAt": 1645871966035,
"reason": "stop by 6286886077b91b031115e6a6"
}
]
[ {
"id" : "97f79dde-bf3c-4d5b-bfd8-8102539002ad",
"name" : "测试111",
"type" : "timer",
"expression" : "*/25 * * * * ? *",
"desc" : "sss入网",
"actions" : null,
"state" : "stopped",
"uid" : "1",
"createAt" : 1645928016031,
"reason" : "stop by 1"
}, {
"id" : "667bbfa1-a7ed-4ce8-9ce0-cfa8cac90e6c",
"name" : "2222",
"type" : "delay",
"expression" : "22",
"desc" : "2222",
"actions" : null,
"state" : "stopped",
"uid" : null,
"createAt" : 1645871966035,
"reason" : "stop by 6286886077b91b031115e6a6"
} ]

File diff suppressed because it is too large Load Diff

View File

@ -1,124 +1,161 @@
[
{
"id": 13123123123213,
"uid": "13480802157",
"tenantId": "000000",
"secret": "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F78574F4778613764564338594E666770595A376177",
"nickName": "song2",
"type": 1,
"roles": [
"iot_client"
],
"permissions": [],
"usePlatforms": [
"dueros"
],
"createTime": 1654529407977
},
{
"id": 141231312312,
"uid": "guest1",
"tenantId": "000000",
"nickName": "演示账户",
"secret": "48774861346645676F51324A4D6E6639306E6474437741634C4333746C4575666C316F76503455542B5836763065315A2F676244695056557356704D49513569",
"type": 0,
"roles": [
"iot_system",
"iot_admin"
],
"permissions": [],
"usePlatforms": [],
"createTime": 1647592821770
},
{
"id": 13123123,
"uid": "iotkit",
"tenantId": "000000",
"nickName": "管理员",
"secret": "6E49354D37437030564370666E48486150524B3134743258735059354D75324F6532594478654C47767535614C6C6E767139625170774E576477785A34513369",
"type": 0,
"roles": [
"iot_system",
"iot_admin"
],
"permissions": [
"write"
],
"usePlatforms": [],
"createTime": 1647592821770
},
{
"id": 12312312312,
"uid": "du2",
"tenantId": "000000",
"nickName": "小度接入2",
"type": 1,
"roles": [
"iot_client"
],
"usePlatforms": [
"dueros"
],
"createTime": 1651230139460
},
{
"id": 23423423,
"uid": "tm3",
"tenantId": "000000",
"nickName": "天猫精灵test3",
"type": 1,
"roles": [
"iot_client"
],
"usePlatforms": [
"aligenie"
],
"createTime": 1647982036151
},
{
"id": 45234345,
"uid": "du1",
"tenantId": "000000",
"nickName": "小度接入1",
"secret": "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F517674507547437A72627A7154302B724441734C5A",
"type": 1,
"roles": [
"iot_client"
],
"usePlatforms": [
"dueros",
"aligenie"
],
"createTime": 1651226639006
},
{
"id": 3454543,
"uid": "tm1",
"tenantId": "000000",
"nickName": "天猫精灵1",
"type": 1,
"roles": [
"iot_client"
],
"usePlatforms": [
"aligenie"
],
"createTime": 1648486563107
},
{
"id": 432323,
"uid": "18126045687",
"tenantId": "000000",
"nickName": "song",
"secret": "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F517674507547437A72627A7154302B724441734C5A",
"type": 1,
"roles": [
"iot_client"
],
"usePlatforms": [
"aligenie",
"dueros"
],
"createTime": 1652115298592
}
]
[ {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321471,
"updateBy" : null,
"updateTime" : 1708254321471,
"tenantId" : "000000",
"id" : 432323,
"uid" : "18126045687",
"secret" : "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F517674507547437A72627A7154302B724441734C5A",
"nickName" : "song",
"gender" : null,
"avatarUrl" : null,
"email" : null,
"address" : null,
"currHomeId" : null,
"type" : 1,
"roles" : [ ],
"permissions" : [ ],
"usePlatforms" : [ ]
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321468,
"updateBy" : null,
"updateTime" : 1708254321468,
"tenantId" : "000000",
"id" : 3454543,
"uid" : "tm1",
"secret" : null,
"nickName" : "天猫精灵1",
"gender" : null,
"avatarUrl" : null,
"email" : null,
"address" : null,
"currHomeId" : null,
"type" : 1,
"roles" : [ ],
"permissions" : [ ],
"usePlatforms" : [ ]
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321451,
"updateBy" : null,
"updateTime" : 1708254321451,
"tenantId" : "000000",
"id" : 13123123,
"uid" : "iotkit",
"secret" : "6E49354D37437030564370666E48486150524B3134743258735059354D75324F6532594478654C47767535614C6C6E767139625170774E576477785A34513369",
"nickName" : "管理员",
"gender" : null,
"avatarUrl" : null,
"email" : null,
"address" : null,
"currHomeId" : null,
"type" : 0,
"roles" : [ ],
"permissions" : [ ],
"usePlatforms" : [ ]
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321458,
"updateBy" : null,
"updateTime" : 1708254321458,
"tenantId" : "000000",
"id" : 23423423,
"uid" : "tm3",
"secret" : null,
"nickName" : "天猫精灵test3",
"gender" : null,
"avatarUrl" : null,
"email" : null,
"address" : null,
"currHomeId" : null,
"type" : 1,
"roles" : [ ],
"permissions" : [ ],
"usePlatforms" : [ ]
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321463,
"updateBy" : null,
"updateTime" : 1708254321463,
"tenantId" : "000000",
"id" : 45234345,
"uid" : "du1",
"secret" : "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F517674507547437A72627A7154302B724441734C5A",
"nickName" : "小度接入1",
"gender" : null,
"avatarUrl" : null,
"email" : null,
"address" : null,
"currHomeId" : null,
"type" : 1,
"roles" : [ ],
"permissions" : [ ],
"usePlatforms" : [ ]
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321454,
"updateBy" : null,
"updateTime" : 1708254321454,
"tenantId" : "000000",
"id" : 12312312312,
"uid" : "du2",
"secret" : null,
"nickName" : "小度接入2",
"gender" : null,
"avatarUrl" : null,
"email" : null,
"address" : null,
"currHomeId" : null,
"type" : 1,
"roles" : [ ],
"permissions" : [ ],
"usePlatforms" : [ ]
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321446,
"updateBy" : null,
"updateTime" : 1708254321446,
"tenantId" : "000000",
"id" : 141231312312,
"uid" : "guest1",
"secret" : "48774861346645676F51324A4D6E6639306E6474437741634C4333746C4575666C316F76503455542B5836763065315A2F676244695056557356704D49513569",
"nickName" : "演示账户",
"gender" : null,
"avatarUrl" : null,
"email" : null,
"address" : null,
"currHomeId" : null,
"type" : 0,
"roles" : [ ],
"permissions" : [ ],
"usePlatforms" : [ ]
}, {
"createDept" : null,
"createBy" : null,
"createTime" : 1708254321434,
"updateBy" : null,
"updateTime" : 1708254321434,
"tenantId" : "000000",
"id" : 13123123123213,
"uid" : "13480802157",
"secret" : "483752384B473759556E685768796B6F644E48634F76486C51646A41576B545A2B396C34474244414F334F78574F4778613764564338594E666770595A376177",
"nickName" : "song2",
"gender" : null,
"avatarUrl" : null,
"email" : null,
"address" : null,
"currHomeId" : null,
"type" : 1,
"roles" : [ ],
"permissions" : [ ],
"usePlatforms" : [ ]
} ]

View File

@ -1,136 +1,73 @@
[
{
"id":"6293953092084e2df303ba3e",
"uid": "1",
"name": "三路开关",
"productKey": "eDhXKwEzwFybM5R7",
"devices": [
"16538390097670switch0300100500143",
"16538390048670switch0300100400141",
"16538390008670switch0300100300145",
"16538389971670switch0300100200140",
"16538389915670switch030010010014c"
],
"type": "thingModel",
"script": "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [];\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n\t \"rssi\":127-parseInt(Math.random()*127),\n\t \"powerstate_1\":Math.random()>0.5?1:0,\n\t \"powerstate_2\":Math.random()>0.5?1:0,\n\t \"powerstate_3\":Math.random()>0.5?1:0\n }\n }\n}",
"trigger": "random",
"triggerExpression": "second",
"state": "running",
"createAt": 1653839152090
},
{
"id":"629391ae92084e2df303ba3d",
"uid": "1",
"name": "温湿度传感器",
"productKey": "6kYp6jszrDns2yh4",
"devices": [
"16538383943670wenshidu01008000139",
"16538383910670wenshidu01007000136",
"16538383880670wenshidu0100600013b",
"16538383850710wenshidu01005000134",
"16538383810690wenshidu01004000132",
"16537594784840wenshidu0100300013a",
"16537594752710wenshidu0100200013d",
"16537594707840wenshidu0100100013c",
"16538390097670switch0300100500143",
"16514626218250abe124000010000011a"
],
"type": "thingModel",
"script": "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [];\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"humidity\":parseInt(Math.random()*100),\n\t \"temperature\":parseInt(Math.random()*500)-38\n }\n }\n}",
"trigger": "random",
"triggerExpression": "second",
"state": "running",
"createAt": 1653838254989
},
{
"id": "629390f492084e2df303ba3c",
"uid": "1",
"name": "调光灯",
"productKey": "xpsYHExTKPFaQMS7",
"devices": [
"16537595658790linght0010030000128",
"16537595624750linght001002000012c",
"16537595591780linght0010010000121",
"16552594933210linght001007000012f",
"16552594898210linght0010060000129",
"16552594863210linght001005000012c",
"16552594812210linght001004000012d"
],
"type": "thingModel",
"script": "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [];\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"brightness\":parseInt(Math.random()*100),\n\t \"powerstate\":Math.random()>0.5?1:0\n }\n }\n}",
"trigger": "random",
"triggerExpression": "second",
"state": "running",
"createAt": 1653838068860
},
{
"id": "62925cb72002b44c15caeb1c",
"uid": "1",
"name": "虚拟门磁1",
"productKey": "PN3EDmkBZDD8whDd",
"devices": [
"16537591055800menci0001003000012e",
"16537590838150menci00010020000128",
"16537590780810menci0001001000012b",
"16552595723210menci0001008000012f",
"16552595685220menci00010070000127",
"16552595656210menci0001006000012d",
"16501898583770f4cce4feffbd1bec164"
],
"type": "thingModel",
"script": "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [];\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"rssi\":127-parseInt(Math.random()*127),\n \"power\":parseInt(Math.random()*100),\n\t \"doorStatus\":Math.random()>0.5?1:0\n }\n }\n}",
"trigger": "random",
"triggerExpression": "minute",
"state": "running",
"createAt": 1653759159567
},
{
"id": "628fd800fba69e633a972e12",
"uid": "1",
"name": "开关1",
"productKey": "Rf4QSjbm65X45753",
"devices": [
"16465723451670abc123000030000011a",
"16465723448670abc1230000200000115"
],
"type": "thingModel",
"script": "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [{\n \"productKey\":service.productKey,\n \"deviceName\":service.deviceName,\n \"mid\":service.mid,\n \"type\":\"service\",\n \"identifier\":\"reboot_reply\",\n \"data\":{},\n \"code\":0\n },{\n \"mid\":getRequestId(),\n \"productKey\":service.productKey, \n \"deviceName\":service.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\n \"time\":new Date().getTime(),\n \"data\":{\n \"volt\":parseInt(Math.random()*100),\n\t \"powerstate\":Math.random()>0.5?1:0\n }\n }]\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"volt\":parseInt(Math.random()*100)\n }\n }\n}",
"trigger": "cron",
"triggerExpression": "0 * * * * ? ",
"state": "running",
"createAt": 1653594112764
},
{
"id": "628fa6bc1b735b73cb260042",
"uid": "1",
"name": "虚拟插座12",
"productKey": "cGCrkK7Ex4FESAwe",
"devices": [
"16534030209640test001230100000118",
"16514626216250abe1230000200000114",
"16514626214280abe1230000100000116",
"16538390924670pulg0a001006000012a",
"16538390885690pulg0a0010050000126",
"16538390853670pulg0a0010040000121",
"16538390820760pulg0a0010030000127",
"16538390787670pulg0a0010020000124",
"16538390738670pulg0a0010010000125",
"16552594646210pulg0a0010160000122",
"16552594604220pulg0a0010150000127",
"16552594572370pulg0a001014000012e",
"16552594542310pulg0a0010130000123",
"16552594511210pulg0a001012000012c",
"16552594475270pulg0a0010110000125",
"16552594444210pulg0a0010100000128",
"16552594405220pulg0a0010090000124",
"16552594368340pulg0a0010080000126",
"16552594320310pulg0a0010070000126"
],
"type": "thingModel",
"script": "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n var identifier=service.identifier;\n var result= [{\n \"productKey\":service.productKey,\n \"deviceName\":service.deviceName,\n \"mid\":service.mid,\n \"type\":\"service\",\n \"identifier\":identifier+\"_reply\",\n \"data\":{},\n \"code\":0\n }]\n \n if(service.type==\"property\" && (identifier==\"get\" || identifier==\"set\")){\n\tresult.push({\n\t \"mid\":getRequestId(),\n\t \"productKey\":device.productKey, \n\t \"deviceName\":device.deviceName,\n\t \"type\":\"property\",\n\t \"identifier\":\"report\",\n\t \"occurred\":new Date().getTime(),\n\t \"time\":new Date().getTime(),\n\t \"data\":service.params\n\t});\n }\n \n return result;\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"rssi\":127-parseInt(Math.random()*127),\n\t \"powerstate\":Math.random()>0.5?1:0\n }\n }\n}",
"trigger": "random",
"triggerExpression": "second",
"state": "running",
"createAt": 1653581500076
}
]
[ {
"id" : "6293953092084e2df303ba3e",
"uid" : "1",
"name" : "三路开关",
"productKey" : "eDhXKwEzwFybM5R7",
"devices" : [ ],
"type" : "thingModel",
"script" : "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [];\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n\t \"rssi\":127-parseInt(Math.random()*127),\n\t \"powerstate_1\":Math.random()>0.5?1:0,\n\t \"powerstate_2\":Math.random()>0.5?1:0,\n\t \"powerstate_3\":Math.random()>0.5?1:0\n }\n }\n}",
"trigger" : "random",
"triggerExpression" : "second",
"state" : "running",
"createAt" : 1653839152090
}, {
"id" : "629391ae92084e2df303ba3d",
"uid" : "1",
"name" : "温湿度传感器",
"productKey" : "6kYp6jszrDns2yh4",
"devices" : [ ],
"type" : "thingModel",
"script" : "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [];\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"humidity\":parseInt(Math.random()*100),\n\t \"temperature\":parseInt(Math.random()*500)-38\n }\n }\n}",
"trigger" : "random",
"triggerExpression" : "second",
"state" : "running",
"createAt" : 1653838254989
}, {
"id" : "629390f492084e2df303ba3c",
"uid" : "1",
"name" : "调光灯",
"productKey" : "xpsYHExTKPFaQMS7",
"devices" : [ ],
"type" : "thingModel",
"script" : "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [];\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"brightness\":parseInt(Math.random()*100),\n\t \"powerstate\":Math.random()>0.5?1:0\n }\n }\n}",
"trigger" : "random",
"triggerExpression" : "second",
"state" : "running",
"createAt" : 1653838068860
}, {
"id" : "62925cb72002b44c15caeb1c",
"uid" : "1",
"name" : "虚拟门磁1",
"productKey" : "PN3EDmkBZDD8whDd",
"devices" : [ ],
"type" : "thingModel",
"script" : "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [];\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"rssi\":127-parseInt(Math.random()*127),\n \"power\":parseInt(Math.random()*100),\n\t \"doorStatus\":Math.random()>0.5?1:0\n }\n }\n}",
"trigger" : "random",
"triggerExpression" : "minute",
"state" : "running",
"createAt" : 1653759159567
}, {
"id" : "628fd800fba69e633a972e12",
"uid" : "1",
"name" : "开关1",
"productKey" : "Rf4QSjbm65X45753",
"devices" : [ ],
"type" : "thingModel",
"script" : "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n return [{\n \"productKey\":service.productKey,\n \"deviceName\":service.deviceName,\n \"mid\":service.mid,\n \"type\":\"service\",\n \"identifier\":\"reboot_reply\",\n \"data\":{},\n \"code\":0\n },{\n \"mid\":getRequestId(),\n \"productKey\":service.productKey, \n \"deviceName\":service.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\n \"time\":new Date().getTime(),\n \"data\":{\n \"volt\":parseInt(Math.random()*100),\n\t \"powerstate\":Math.random()>0.5?1:0\n }\n }]\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"volt\":parseInt(Math.random()*100)\n }\n }\n}",
"trigger" : "cron",
"triggerExpression" : "0 * * * * ? ",
"state" : "running",
"createAt" : 1653594112764
}, {
"id" : "628fa6bc1b735b73cb260042",
"uid" : "1",
"name" : "虚拟插座12",
"productKey" : "cGCrkK7Ex4FESAwe",
"devices" : [ ],
"type" : "thingModel",
"script" : "\nvar mid=1000;\n\nfunction getMid(){\n mid++;\n if(mid>9999){\n\tmid=1;\n }\n return mid+\"\";\n}\n\nfunction getRequestId(){\n return \"RID\"+new Date().getTime()+getMid();\n}\n\n\nthis.receive=function(service,device){\n var identifier=service.identifier;\n var result= [{\n \"productKey\":service.productKey,\n \"deviceName\":service.deviceName,\n \"mid\":service.mid,\n \"type\":\"service\",\n \"identifier\":identifier+\"_reply\",\n \"data\":{},\n \"code\":0\n }]\n \n if(service.type==\"property\" && (identifier==\"get\" || identifier==\"set\")){\n\tresult.push({\n\t \"mid\":getRequestId(),\n\t \"productKey\":device.productKey, \n\t \"deviceName\":device.deviceName,\n\t \"type\":\"property\",\n\t \"identifier\":\"report\",\n\t \"occurred\":new Date().getTime(),\n\t \"time\":new Date().getTime(),\n\t \"data\":service.params\n\t});\n }\n \n return result;\n}\n\nthis.report=function(device){\n return {\n \"mid\":getRequestId(),\n \"productKey\":device.productKey, \n \"deviceName\":device.deviceName,\n \"type\":\"property\",\n \"identifier\":\"report\",\n \"occurred\":new Date().getTime(),\t//时间戳,设备上的事件或数据产生的本地时间\n \"time\":new Date().getTime(),\t\t//时间戳,消息上报时间\n \"data\":{\n \"rssi\":127-parseInt(Math.random()*127),\n\t \"powerstate\":Math.random()>0.5?1:0\n }\n }\n}",
"trigger" : "random",
"triggerExpression" : "second",
"state" : "running",
"createAt" : 1653581500076
} ]

View File

@ -58,6 +58,9 @@ public class DeviceCondition {
if ("property".equals(type)) {
Map<String, ?> properties = deviceInfo.getProperty();
DevicePropertyCache propertyCache = (DevicePropertyCache) properties.get(identifier);
if (propertyCache == null) {
return false;
}
left = propertyCache.getValue();
} else if ("state".equals(type)) {
DeviceInfo.State state = deviceInfo.getState();
@ -65,13 +68,9 @@ public class DeviceCondition {
} else if ("tag".equals(type)) {
//取设备标签判断
Map<String, DeviceInfo.Tag> tags = deviceInfo.getTag();
if (tags == null) {
left = null;
} else {
if (tags != null) {
DeviceInfo.Tag tag = tags.get(identifier);
if (tag == null) {
left = null;
} else {
if (tag != null) {
//设备标签值
left = tag.getValue();
}

View File

@ -9,13 +9,17 @@ import cc.iotkit.common.log.enums.BusinessType;
import cc.iotkit.common.validate.EditGroup;
import cc.iotkit.common.validate.QueryGroup;
import cc.iotkit.common.web.core.BaseController;
import cc.iotkit.data.manager.ICategoryData;
import cc.iotkit.model.product.Category;
import cc.iotkit.system.dto.bo.SysConfigBo;
import cc.iotkit.system.dto.vo.SysConfigVo;
import cc.iotkit.system.service.ISysConfigService;
import cn.dev33.satoken.annotation.SaCheckPermission;
import cn.hutool.core.io.FileUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@ -23,6 +27,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.util.List;
/**
@ -39,6 +44,8 @@ public class SysConfigController extends BaseController {
private final ISysConfigService configService;
private final ICategoryData categoryData;
@ApiOperation("获取参数配置列表")
@SaCheckPermission("system:config:list")
@ -118,4 +125,14 @@ public class SysConfigController extends BaseController {
public void refreshCache() {
configService.resetConfigCache();
}
@SneakyThrows
@ApiOperation("导出系统数据")
@Log(title = "导出系统数据", businessType = BusinessType.EXPORT)
@SaCheckPermission("system:config:exportSysData")
@PostMapping("/exportSysData")
public void exportSysData() {
configService.backupSysData();
}
}

View File

@ -5,6 +5,7 @@ import cc.iotkit.common.api.Paging;
import cc.iotkit.system.dto.bo.SysConfigBo;
import cc.iotkit.system.dto.vo.SysConfigVo;
import java.io.File;
import java.util.List;
/**
@ -84,4 +85,9 @@ public interface ISysConfigService {
*/
boolean checkConfigKeyUnique(SysConfigBo config);
/**
*
* @return zip
*/
File backupSysData();
}

View File

@ -6,20 +6,29 @@ import cc.iotkit.common.constant.CacheNames;
import cc.iotkit.common.constant.UserConstants;
import cc.iotkit.common.exception.BizException;
import cc.iotkit.common.redis.utils.CacheUtils;
import cc.iotkit.common.utils.MapstructUtils;
import cc.iotkit.common.utils.SpringUtils;
import cc.iotkit.common.utils.StringUtils;
import cc.iotkit.data.system.ISysConfigData;
import cc.iotkit.common.utils.*;
import cc.iotkit.data.ICommonData;
import cc.iotkit.data.manager.*;
import cc.iotkit.data.system.*;
import cc.iotkit.model.system.SysConfig;
import cc.iotkit.system.dto.bo.SysConfigBo;
import cc.iotkit.system.dto.vo.SysConfigVo;
import cc.iotkit.system.service.ISysConfigService;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.ZipUtil;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.io.File;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
/**
@ -179,4 +188,60 @@ public class SysConfigServiceImpl implements ISysConfigService {
return SpringUtils.getAopProxy(this).selectConfigByKey(configKey);
}
@Override
public File backupSysData() {
File fileDir = new File("./data/backup/" + DateUtils.dateTimeNow());
if (!fileDir.exists()) {
FileUtil.mkdir(fileDir);
}
writeData(fileDir, "category", SpringUtils.getBean(ICategoryData.class));
writeData(fileDir, "channel", SpringUtils.getBean(IChannelData.class));
writeData(fileDir, "channelConfig", SpringUtils.getBean(IChannelConfigData.class));
writeData(fileDir, "channelTemplate", SpringUtils.getBean(IChannelTemplateData.class));
writeData(fileDir, "deviceGroup", SpringUtils.getBean(IDeviceGroupData.class));
writeData(fileDir, "deviceInfo", SpringUtils.getBean(IDeviceInfoData.class));
writeData(fileDir, "home", SpringUtils.getBean(IHomeData.class));
writeData(fileDir, "notifyMessage", SpringUtils.getBean(INotifyMessageData.class));
writeData(fileDir, "product", SpringUtils.getBean(IProductData.class));
writeData(fileDir, "productModel", SpringUtils.getBean(IProductModelData.class));
writeData(fileDir, "ruleInfo", SpringUtils.getBean(IRuleInfoData.class));
writeData(fileDir, "space", SpringUtils.getBean(ISpaceData.class));
writeData(fileDir, "spaceDevice", SpringUtils.getBean(ISpaceDeviceData.class));
writeData(fileDir, "sys_app", SpringUtils.getBean(ISysAppData.class));
writeData(fileDir, "sys_config", SpringUtils.getBean(ISysConfigData.class));
writeData(fileDir, "sys_dept", SpringUtils.getBean(ISysDeptData.class));
writeData(fileDir, "sys_dict_data", SpringUtils.getBean(ISysDictData.class));
writeData(fileDir, "sys_dict_type", SpringUtils.getBean(ISysDictTypeData.class));
writeData(fileDir, "sys_logininfor", SpringUtils.getBean(ISysLogininforData.class));
writeData(fileDir, "sys_menu", SpringUtils.getBean(ISysMenuData.class));
writeData(fileDir, "sys_notice", SpringUtils.getBean(ISysNoticeData.class));
writeData(fileDir, "sys_oper_log", SpringUtils.getBean(ISysOperLogData.class));
writeData(fileDir, "sys_oss", SpringUtils.getBean(ISysOssData.class));
writeData(fileDir, "sys_oss_config", SpringUtils.getBean(ISysOssConfigData.class));
writeData(fileDir, "sys_post", SpringUtils.getBean(ISysPostData.class));
writeData(fileDir, "sys_role", SpringUtils.getBean(ISysRoleData.class));
writeData(fileDir, "sys_role_dept", SpringUtils.getBean(ISysRoleDeptData.class));
writeData(fileDir, "sys_role_menu", SpringUtils.getBean(ISysRoleMenuData.class));
writeData(fileDir, "sys_tenant", SpringUtils.getBean(ISysTenantData.class));
writeData(fileDir, "sys_tenant_package", SpringUtils.getBean(ISysTenantPackageData.class));
writeData(fileDir, "sys_user", SpringUtils.getBean(ISysUserData.class));
writeData(fileDir, "sys_user_post", SpringUtils.getBean(ISysUserPostData.class));
writeData(fileDir, "sys_user_role", SpringUtils.getBean(ISysUserRoleData.class));
writeData(fileDir, "taskInfo", SpringUtils.getBean(ITaskInfoData.class));
writeData(fileDir, "thingModel", SpringUtils.getBean(IThingModelData.class));
writeData(fileDir, "userInfo", SpringUtils.getBean(IUserInfoData.class));
writeData(fileDir, "virtualDevice", SpringUtils.getBean(IVirtualDeviceData.class));
String zipPath = fileDir.getAbsolutePath() + ".zip";
ZipUtil.zip(fileDir.getAbsolutePath(), zipPath);
return new File(zipPath);
}
@SneakyThrows
private void writeData(File dir, String name, ICommonData data) {
Path path = Paths.get(dir.getAbsolutePath(), name + ".json");
ObjectMapper mapper=new ObjectMapper();
mapper.enable(SerializationFeature.INDENT_OUTPUT);
String formattedJson = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(data.findAll());
FileUtil.writeString(formattedJson, path.toFile(), StandardCharsets.UTF_8);
}
}