提交
This commit is contained in:
@@ -50,6 +50,15 @@ public class SysNoticeController extends BaseController
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@GetMapping("/indexList")
|
||||
public TableDataInfo indexList(SysNotice notice)
|
||||
{
|
||||
notice.setDeptId(getDeptId());
|
||||
startPage();
|
||||
List<SysNotice> list = noticeService.selectNoticeList(notice);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据通知公告编号获取详细信息
|
||||
*/
|
||||
|
||||
@@ -11,7 +11,7 @@ spring:
|
||||
password: pRePNKSeawMMpKpJ
|
||||
# url: jdbc:mysql://192.168.200.53:3306/gongkongbang?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
# username: root
|
||||
# password: aiot@1234
|
||||
# password: ledo@1234
|
||||
# 从库数据源
|
||||
slave:
|
||||
enabled: false # 从数据源开关/默认关闭
|
||||
@@ -19,13 +19,13 @@ spring:
|
||||
username:
|
||||
password:
|
||||
# TDengine数据库
|
||||
# tdengine-server:
|
||||
# enabled: false # 默认不启用TDengine,true=启用,false=不启用
|
||||
# driverClassName: com.taosdata.jdbc.TSDBDriver
|
||||
# url: jdbc:TAOS://xinda:6030/xinda_log?timezone=UTC-8&charset=utf-8
|
||||
# username: root
|
||||
# password: taosdata
|
||||
# dbName: xinda_log
|
||||
tdengine-server:
|
||||
enabled: false # 默认不启用TDengine,true=启用,false=不启用
|
||||
driverClassName: com.taosdata.jdbc.TSDBDriver
|
||||
url: jdbc:TAOS://1.15.36.7:6041/xinda_log?timezone=UTC-8&charset=utf-8
|
||||
username: root
|
||||
password: taosdata
|
||||
dbName: xinda_log
|
||||
|
||||
initialSize: 5 # 初始连接数
|
||||
minIdle: 10 # 最小连接池数量
|
||||
|
||||
@@ -6,8 +6,8 @@ spring:
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://127.0.0.1:3306/gongkongbang?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: gongkongbang
|
||||
url: jdbc:mysql://177.7.0.11:3306/gongkongbang?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: pRePNKSeawMMpKpJ
|
||||
# 从库数据源
|
||||
slave:
|
||||
@@ -57,10 +57,10 @@ spring:
|
||||
multi-statement-allow: true
|
||||
# redis 配置
|
||||
redis:
|
||||
host: localhost # 地址
|
||||
host: 177.7.0.10 # 地址
|
||||
port: 6379 # 端口,默认为6379
|
||||
database: 0 # 数据库索引
|
||||
password: 841503 # 密码
|
||||
password: iot@1234 # 密码
|
||||
timeout: 10s # 连接超时时间
|
||||
lettuce:
|
||||
pool:
|
||||
@@ -70,17 +70,17 @@ spring:
|
||||
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
# mqtt 配置
|
||||
mqtt:
|
||||
username: xinda # 账号(仅用于后端自认证)
|
||||
password: xinda # 密码(仅用于后端自认证)
|
||||
host-url: tcp://127.0.0.1:1883 # 连接 Emqx 消息服务器地址
|
||||
# host-url: tcp://192.168.1.103:1883 # 内置netty mqtt broker地址
|
||||
username: gkb # 账号(仅用于后端自认证)
|
||||
password: 888888 # 密码(仅用于后端自认证)
|
||||
# host-url: tcp://127.0.0.1:1883 # 连接 Emqx 消息服务器地址
|
||||
host-url: tcp://177.7.0.13:1883 # 内置netty mqtt broker地址
|
||||
client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value}
|
||||
default-topic: test # 默认主题
|
||||
timeout: 30 # 超时时间
|
||||
keepalive: 30 # 保持连接
|
||||
clearSession: true # 清除会话(设置为false,断开连接,重连后使用原来的会话 保留订阅的主题,能接收离线期间的消息)
|
||||
general-username: gkb # 用户名
|
||||
general-password: 888888
|
||||
gen-username: gkb # 用户名
|
||||
gen-password: 888888
|
||||
# redisson 配置
|
||||
redisson:
|
||||
# redis key前缀
|
||||
@@ -108,8 +108,8 @@ sip:
|
||||
enabled: true # 是否启用视频监控SIP,true为启用
|
||||
## 本地调试时,绑定网卡局域网IP,设备在同一局域网,设备接入IP填写绑定IP
|
||||
## 部署服务端时,默认绑定容器IP,设备接入IP填写服务器公网IP
|
||||
ip: 1.14.72.242
|
||||
# ip: 192.168.1.103
|
||||
ip: 177.7.0.15
|
||||
# ip: 0.0.0.0
|
||||
port: 5061 # SIP端口(保持默认)
|
||||
domain: 3402000000 # 由省级、市级、区级、基层编号组成
|
||||
id: 34020000002000000001 # 同上,另外增加编号,(可保持默认)
|
||||
@@ -126,7 +126,7 @@ logging:
|
||||
# Swagger配置
|
||||
swagger:
|
||||
enabled: true # 是否开启swagger
|
||||
pathMapping: /prod-api # 请求前缀
|
||||
pathMapping: /prod-api # 请求前缀
|
||||
|
||||
|
||||
liteflow:
|
||||
|
||||
Reference in New Issue
Block a user