Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
7d5a0caf
Commit
7d5a0caf
authored
Apr 19, 2017
by
fsn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
清除日志功能添加确认框
parent
d7d06ae1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
src/main/resources/dev/mybatis-config.xml
+6
-7
src/main/webapp/static/modular/system/log/log.js
+2
-2
No files found.
src/main/resources/dev/mybatis-config.xml
View file @
7d5a0caf
...
@@ -18,8 +18,7 @@
...
@@ -18,8 +18,7 @@
<package
name=
"com.stylefeng.guns.persistence.model"
/>
<package
name=
"com.stylefeng.guns.persistence.model"
/>
</typeAliases>
</typeAliases>
<plugins>
<!--<plugins>-->
<!-- SQL 执行性能分析,开发环境使用,线上不推荐。 maxTime 指的是 sql 最大执行时长 -->
<!-- SQL 执行性能分析,开发环境使用,线上不推荐。 maxTime 指的是 sql 最大执行时长 -->
<!--<plugin interceptor="com.baomidou.mybatisplus.plugins.PerformanceInterceptor">-->
<!--<plugin interceptor="com.baomidou.mybatisplus.plugins.PerformanceInterceptor">-->
<!--<property name="maxTime" value="100"/>-->
<!--<property name="maxTime" value="100"/>-->
...
@@ -28,10 +27,9 @@
...
@@ -28,10 +27,9 @@
<!--</plugin>-->
<!--</plugin>-->
<!-- SQL 执行分析拦截器 stopProceed 发现全表执行 delete update 是否停止运行 -->
<!-- SQL 执行分析拦截器 stopProceed 发现全表执行 delete update 是否停止运行 -->
<plugin
interceptor=
"com.baomidou.mybatisplus.plugins.SqlExplainInterceptor"
>
<!--<plugin interceptor="com.baomidou.mybatisplus.plugins.SqlExplainInterceptor">-->
<property
name=
"stopProceed"
value=
"true"
/>
<!--<property name="stopProceed" value="true"/>-->
</plugin>
<!--</plugin>-->
<!--</plugins>-->
</plugins>
</configuration>
</configuration>
\ No newline at end of file
src/main/webapp/static/modular/system/log/log.js
View file @
7d5a0caf
...
@@ -64,10 +64,10 @@ OptLog.detail = function () {
...
@@ -64,10 +64,10 @@ OptLog.detail = function () {
* 清空日志
* 清空日志
*/
*/
OptLog
.
delLog
=
function
()
{
OptLog
.
delLog
=
function
()
{
//
Feng.confirm("是否清空所有日志?",function(){
Feng
.
confirm
(
"是否清空所有日志?"
,
function
(){
var
ajax
=
Feng
.
baseAjax
(
"/log/delLog"
,
"清空日志"
);
var
ajax
=
Feng
.
baseAjax
(
"/log/delLog"
,
"清空日志"
);
ajax
.
start
();
ajax
.
start
();
//
});
});
}
}
/**
/**
...
...
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