mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-28 23:31:27 +08:00
组织数据读取权限完成
This commit is contained in:
@@ -26,6 +26,9 @@ func (p *DeviceAlarmApi) GetDeviceAlarmList(rc *restfulx.ReqCtx) {
|
||||
data.StartTime = restfulx.QueryParam(rc, "startTime")
|
||||
data.EndTime = restfulx.QueryParam(rc, "endTime")
|
||||
|
||||
data.RoleId = rc.LoginAccount.RoleId
|
||||
data.Owner = rc.LoginAccount.UserName
|
||||
|
||||
list, total := p.DeviceAlarmApp.FindListPage(pageNum, pageSize, data)
|
||||
|
||||
rc.ResData = model.ResultPage{
|
||||
|
||||
Reference in New Issue
Block a user