Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
matrix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mall
arch
matrix
Commits
3ba485af
Commit
3ba485af
authored
May 10, 2019
by
qiuweili123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
05ac0a1e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
8 deletions
+30
-8
pom.xml
common-core/pom.xml
+1
-1
CommonConstant.java
common-core/src/main/java/com/secoo/mall/common/constant/CommonConstant.java
+7
-1
pom.xml
common-util/pom.xml
+16
-1
pom.xml
dubbo-starter/pom.xml
+1
-1
pom.xml
elasticsearch-starter/pom.xml
+1
-1
pom.xml
mongodb-starter/pom.xml
+1
-1
MybatisConfig.java
mybatis-starter/src/main/java/com/secoo/mall/mybatis/config/MybatisConfig.java
+2
-1
pom.xml
pom.xml
+1
-1
No files found.
common-core/pom.xml
View file @
3ba485af
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
mall-common
</artifactId>
<artifactId>
mall-common
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.0.2.100
6
-DEV-SNAPSHOT
</version>
<version>
1.0.2.100
7
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
common-core/src/main/java/com/secoo/mall/common/constant/CommonConstant.java
View file @
3ba485af
...
@@ -6,5 +6,11 @@ public interface CommonConstant {
...
@@ -6,5 +6,11 @@ public interface CommonConstant {
Integer
CODE
=
0
;
Integer
CODE
=
0
;
String
MSG
=
"success"
;
String
MSG
=
"success"
;
}
}
interface
Env
{
String
LOCAL
=
"local"
;
String
DEV
=
"dev"
;
String
TEST
=
"test"
;
String
BETA
=
"beta"
;
String
PROD
=
"prod"
;
}
}
}
common-util/pom.xml
View file @
3ba485af
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
mall-common
</artifactId>
<artifactId>
mall-common
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.0.2.100
6
-DEV-SNAPSHOT
</version>
<version>
1.0.2.100
7
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
@@ -20,6 +20,21 @@
...
@@ -20,6 +20,21 @@
<groupId>
commons-beanutils
</groupId>
<groupId>
commons-beanutils
</groupId>
<artifactId>
commons-beanutils
</artifactId>
<artifactId>
commons-beanutils
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.codehaus.janino
</groupId>
<artifactId>
commons-compiler
</artifactId>
<version>
2.7.8
</version>
</dependency>
<dependency>
<groupId>
org.codehaus.janino
</groupId>
<artifactId>
janino
</artifactId>
<version>
2.7.8
</version>
</dependency>
<dependency>
<groupId>
javax.mail
</groupId>
<artifactId>
mail
</artifactId>
<version>
1.4.7
</version>
</dependency>
</dependencies>
</dependencies>
...
...
dubbo-starter/pom.xml
View file @
3ba485af
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
mall-common
</artifactId>
<artifactId>
mall-common
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.0.2.100
6
-DEV-SNAPSHOT
</version>
<version>
1.0.2.100
7
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
elasticsearch-starter/pom.xml
View file @
3ba485af
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
mall-common
</artifactId>
<artifactId>
mall-common
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.0.2.100
6
-DEV-SNAPSHOT
</version>
<version>
1.0.2.100
7
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
mongodb-starter/pom.xml
View file @
3ba485af
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
mall-common
</artifactId>
<artifactId>
mall-common
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
1.0.2.100
6
-DEV-SNAPSHOT
</version>
<version>
1.0.2.100
7
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
mybatis-starter/src/main/java/com/secoo/mall/mybatis/config/MybatisConfig.java
View file @
3ba485af
...
@@ -7,6 +7,7 @@ import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
...
@@ -7,6 +7,7 @@ import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import
com.baomidou.mybatisplus.extension.plugins.PerformanceInterceptor
;
import
com.baomidou.mybatisplus.extension.plugins.PerformanceInterceptor
;
import
com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean
;
import
com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean
;
import
com.baomidou.mybatisplus.extension.toolkit.PackageHelper
;
import
com.baomidou.mybatisplus.extension.toolkit.PackageHelper
;
import
com.secoo.mall.common.constant.CommonConstant
;
import
com.secoo.mall.mybatis.handler.FillDefaultValueHandler
;
import
com.secoo.mall.mybatis.handler.FillDefaultValueHandler
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.apache.ibatis.session.SqlSessionFactory
;
...
@@ -49,7 +50,7 @@ public class MybatisConfig {
...
@@ -49,7 +50,7 @@ public class MybatisConfig {
/* 乐观锁插件 */
/* 乐观锁插件 */
// configuration.addInterceptor(new OptimisticLockerInterceptor());
// configuration.addInterceptor(new OptimisticLockerInterceptor());
//非生产环境加载的插件
//非生产环境加载的插件
if
(!
profile
.
equals
(
"prod"
)
)
{
if
(!
CommonConstant
.
Env
.
PROD
.
equals
(
profile
)
)
{
configuration
.
addInterceptor
(
new
PerformanceInterceptor
());
configuration
.
addInterceptor
(
new
PerformanceInterceptor
());
}
}
...
...
pom.xml
View file @
3ba485af
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<parent>
<parent>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
mall-parent
</artifactId>
<artifactId>
mall-parent
</artifactId>
<version>
1.0.2.100
6
-DEV-SNAPSHOT
</version>
<version>
1.0.2.100
7
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<artifactId>
mall-common
</artifactId>
<artifactId>
mall-common
</artifactId>
...
...
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