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
8184b3fd
Commit
8184b3fd
authored
May 21, 2017
by
fsn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一些配置改动
parent
4c7f08a1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
13 deletions
+1
-13
src/main/java/com/stylefeng/guns/config/OtherConfigs.java
+0
-2
src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java
+0
-1
src/main/java/generator/MyBatisPlusGenerator.java
+1
-1
src/main/resources/application.yml
+0
-9
No files found.
src/main/java/com/stylefeng/guns/config/OtherConfigs.java
View file @
8184b3fd
...
...
@@ -31,7 +31,6 @@ public class OtherConfigs {
public
EhCacheCacheManager
cacheManager
(
CacheManager
cacheManager
)
{
return
new
EhCacheCacheManager
(
cacheManager
);
}
@Bean
public
EhCacheManagerFactoryBean
ehcache
()
{
EhCacheManagerFactoryBean
ehCacheManagerFactoryBean
=
new
EhCacheManagerFactoryBean
();
...
...
@@ -75,7 +74,6 @@ public class OtherConfigs {
public
DruidStatInterceptor
druidStatInterceptor
()
{
return
new
DruidStatInterceptor
();
}
@Bean
public
BeanTypeAutoProxyCreator
beanTypeAutoProxyCreator
()
{
BeanTypeAutoProxyCreator
beanTypeAutoProxyCreator
=
new
BeanTypeAutoProxyCreator
();
...
...
src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java
View file @
8184b3fd
...
...
@@ -152,7 +152,6 @@ public class ShiroConfig {
public
DefaultAdvisorAutoProxyCreator
defaultAdvisorAutoProxyCreator
()
{
return
new
DefaultAdvisorAutoProxyCreator
();
}
@Bean
public
AuthorizationAttributeSourceAdvisor
authorizationAttributeSourceAdvisor
(
DefaultWebSecurityManager
securityManager
)
{
AuthorizationAttributeSourceAdvisor
authorizationAttributeSourceAdvisor
=
...
...
src/main/java/generator/M
p
Generator.java
→
src/main/java/generator/M
yBatisPlus
Generator.java
View file @
8184b3fd
...
...
@@ -21,7 +21,7 @@ import java.util.Map;
* @author stylefeng
* @Date 2017/5/21 12:38
*/
public
class
M
p
Generator
{
public
class
M
yBatisPlus
Generator
{
public
static
void
main
(
String
[]
args
)
{
AutoGenerator
mpg
=
new
AutoGenerator
();
...
...
src/main/resources/application.yml
View file @
8184b3fd
...
...
@@ -4,20 +4,11 @@ server:
#spring
spring
:
devtools
:
restart
:
enabled
:
false
# mysql datasource
datasource
:
url
:
jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull
username
:
root
password
:
root
#web
mutipart
:
location
:
#mybatis
mybatis-plus
:
mapper-locations
:
classpath*:com/stylefeng/guns/**/mapping/*.xml
...
...
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