Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
log-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
log-platform
Commits
35ade8c5
Commit
35ade8c5
authored
Jun 20, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加设备日志类型筛选
parent
bc15c106
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
db/menu.sql
db/menu.sql
+10
-0
log-manager/src/main/java/com/mortals/xhx/module/error/web/ErrorLogController.java
.../com/mortals/xhx/module/error/web/ErrorLogController.java
+1
-1
log-manager/src/main/java/com/mortals/xhx/module/operate/web/OperateLogController.java
.../mortals/xhx/module/operate/web/OperateLogController.java
+3
-0
No files found.
db/menu.sql
View file @
35ade8c5
...
@@ -109,3 +109,13 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName
...
@@ -109,3 +109,13 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'dzmp'
,
'电子门牌'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'dzmp'
,
'电子门牌'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'hysdzmp'
,
'会议室电子门牌'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'hysdzmp'
,
'会议室电子门牌'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'device-manager'
,
'设备管理系统'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'应用标识'
,
'BizLog'
,
'appName'
,
'device-manager'
,
'设备管理系统'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'当前客户端使用平台'
,
'ErrorLog'
,
'platform'
,
'java'
,
'JAVA'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'当前客户端使用平台'
,
'ErrorLog'
,
'platform'
,
'php'
,
'PHP'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'当前客户端使用平台'
,
'ErrorLog'
,
'platform'
,
'c#'
,
'C#'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'当前客户端使用平台'
,
'ErrorLog'
,
'platform'
,
'android'
,
'ANDROID'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'当前客户端使用平台'
,
'ErrorLog'
,
'platform'
,
'vue'
,
'VUE'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'当前客户端使用平台'
,
'ErrorLog'
,
'platform'
,
'webos'
,
'WEBOS'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'当前客户端使用平台'
,
'ErrorLog'
,
'platform'
,
'ios'
,
'IOS'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'当前客户端使用平台'
,
'ErrorLog'
,
'platform'
,
'python'
,
'PYTHON'
,
1
,
4
,
0
,
'level'
,
NULL
,
NULL
,
NULL
);
log-manager/src/main/java/com/mortals/xhx/module/error/web/ErrorLogController.java
View file @
35ade8c5
...
@@ -46,7 +46,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
...
@@ -46,7 +46,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"platform"
,
paramService
.
getParamBySecondOrganize
(
"ErrorLog"
,
"platform"
));
this
.
addDict
(
model
,
"platform"
,
paramService
.
getParamBySecondOrganize
(
"ErrorLog"
,
"platform"
));
this
.
addDict
(
model
,
"level"
,
paramService
.
getParamBySecondOrganize
(
"ErrorLog"
,
"level"
));
this
.
addDict
(
model
,
"level"
,
paramService
.
getParamBySecondOrganize
(
"ErrorLog"
,
"level"
));
this
.
addDict
(
model
,
"appName"
,
paramService
.
getParamBySecondOrganize
(
"
BizLog"
,
"appName
"
));
this
.
addDict
(
model
,
"appName"
,
paramService
.
getParamBySecondOrganize
(
"
OperateLog"
,
"platformMark
"
));
super
.
init
(
model
,
context
);
super
.
init
(
model
,
context
);
}
}
...
...
log-manager/src/main/java/com/mortals/xhx/module/operate/web/OperateLogController.java
View file @
35ade8c5
...
@@ -61,6 +61,9 @@ public class OperateLogController extends BaseCRUDJsonBodyMappingController<Oper
...
@@ -61,6 +61,9 @@ public class OperateLogController extends BaseCRUDJsonBodyMappingController<Oper
@Override
@Override
@UnAuth
@UnAuth
public
String
save
(
@RequestBody
OperateLogEntity
entity
)
{
public
String
save
(
@RequestBody
OperateLogEntity
entity
)
{
return
super
.
save
(
entity
);
return
super
.
save
(
entity
);
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment