Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yst-dch-score
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuan 袁孟宇
yst-dch-score
Commits
88faa85e
Commit
88faa85e
authored
Jun 30, 2020
by
Fei 张飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建大昌行项目
parent
7e984607
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
492 additions
and
1 deletion
+492
-1
pom.xml
pom.xml
+2
-1
.gitignore
yst-dch/.gitignore
+34
-0
pom.xml
yst-dch/pom.xml
+80
-0
YstDchApplication.java
yst-dch/src/main/java/com/elitesland/YstDchApplication.java
+21
-0
package-info.java
...rc/main/java/com/elitesland/item/config/package-info.java
+9
-0
package-info.java
...ain/java/com/elitesland/item/controller/package-info.java
+9
-0
package-info.java
...rc/main/java/com/elitesland/item/entity/package-info.java
+9
-0
package-info.java
.../src/main/java/com/elitesland/item/repo/package-info.java
+9
-0
package-info.java
...n/java/com/elitesland/item/service/impl/package-info.java
+9
-0
package-info.java
...c/main/java/com/elitesland/sales/config/package-info.java
+9
-0
package-info.java
...in/java/com/elitesland/sales/controller/package-info.java
+9
-0
package-info.java
...c/main/java/com/elitesland/sales/entity/package-info.java
+9
-0
package-info.java
...src/main/java/com/elitesland/sales/impl/package-info.java
+9
-0
package-info.java
...src/main/java/com/elitesland/sales/repo/package-info.java
+9
-0
application-dev.yml
yst-dch/src/main/resources/config/application-dev.yml
+83
-0
application-local.yml
yst-dch/src/main/resources/config/application-local.yml
+83
-0
application-prod.yml
yst-dch/src/main/resources/config/application-prod.yml
+83
-0
application.yml
yst-dch/src/main/resources/config/application.yml
+3
-0
DemoApplicationTests.java
...rc/test/java/com/elitesland/dch/DemoApplicationTests.java
+13
-0
No files found.
pom.xml
View file @
88faa85e
...
...
@@ -13,6 +13,7 @@
<module>
interface
</module>
<module>
system
</module>
<module>
demo
</module>
<module>
yst-dch
</module>
</modules>
<properties>
...
...
yst-dch/.gitignore
0 → 100644
View file @
88faa85e
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**
!**/src/test/**
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
### VS Code ###
.vscode/
/mvnw
/mvnw.cmd
/.mvn/
yst-dch/pom.xml
0 → 100644
View file @
88faa85e
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
yst-dch-score
</artifactId>
<groupId>
com.elitesland
</groupId>
<version>
1.0-SNAPSHOT
</version>
</parent>
<artifactId>
yst-dch
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
yst-dch
</name>
<description>
Demo project for Spring Boot
</description>
<properties>
<java.version>
11
</java.version>
</properties>
<dependencies>
<dependency>
<groupId>
com.elitesland
</groupId>
<artifactId>
core
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.elitesland
</groupId>
<artifactId>
interface
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.elitesland
</groupId>
<artifactId>
system
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
11
</source>
<target>
11
</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<!--华为云仓库-->
<repository>
<id>
huaweicloud
</id>
<name>
huaweicloud-maven
</name>
<url>
https://mirrors.huaweicloud.com/repository/maven/
</url>
</repository>
<!--阿里云仓库-->
<repository>
<id>
aliyun
</id>
<name>
aliyun-maven
</name>
<url>
http://maven.aliyun.com/nexus/content/groups/public/
</url>
</repository>
<!-- 阿里云spring仓库 -->
<repository>
<id>
spring-milestones
</id>
<name>
Spring Milestones
</name>
<url>
https://maven.aliyun.com/repository/spring
</url>
</repository>
<!-- 中央仓库 -->
<repository>
<id>
central
</id>
<name>
maven-central
</name>
<url>
http://central.maven.org/maven2/
</url>
</repository>
</repositories>
</project>
yst-dch/src/main/java/com/elitesland/YstDchApplication.java
0 → 100644
View file @
88faa85e
package
com
.
elitesland
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
/**
* <p>
* 功能说明
* </p>
*
* @author Roman.zhang
* @date 2020/6/30
*/
@SpringBootApplication
public
class
YstDchApplication
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
YstDchApplication
.
class
,
args
);
}
}
yst-dch/src/main/java/com/elitesland/item/config/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:配置信息
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
item
.
config
;
yst-dch/src/main/java/com/elitesland/item/controller/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:API接口
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
item
.
controller
;
yst-dch/src/main/java/com/elitesland/item/entity/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:数据库对应实体类
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
item
.
entity
;
yst-dch/src/main/java/com/elitesland/item/repo/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:repository
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
item
.
repo
;
yst-dch/src/main/java/com/elitesland/item/service/impl/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:service
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
item
.
service
.
impl
;
yst-dch/src/main/java/com/elitesland/sales/config/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:配置信息
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
sales
.
config
;
yst-dch/src/main/java/com/elitesland/sales/controller/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:API接口
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
sales
.
controller
;
yst-dch/src/main/java/com/elitesland/sales/entity/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:数据库对应实体类
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
sales
.
entity
;
yst-dch/src/main/java/com/elitesland/sales/impl/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:service
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
sales
.
impl
;
yst-dch/src/main/java/com/elitesland/sales/repo/package-info.java
0 → 100644
View file @
88faa85e
/**
* <p>
* 功能说明:repository
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
sales
.
repo
;
yst-dch/src/main/resources/config/application-dev.yml
0 → 100644
View file @
88faa85e
#####测试环境
spring
:
datasource
:
url
:
jdbc:mysql://192.168.1.130:3306/yst_dchDB?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
username
:
root
password
:
123456
jpa
:
database
:
mysql
database-platform
:
org.hibernate.dialect.MySQL8Dialect
show-sql
:
true
hibernate
:
ddl-auto
:
update
open-in-view
:
false
redis
:
#数据库索引
database
:
0
host
:
127.0.0.1
port
:
6379
password
:
#连接超时时间
timeout
:
5000
main
:
allow-bean-definition-overriding
:
true
logging
:
level
:
org.springframework.security
:
-
debug
-
info
org.springframework.web
:
error
org.hibernate.SQL
:
debug
org.hibernate.engine.QueryParameters
:
debug
org.hibernate.engine.query.HQLQueryPlan
:
debug
org.hibernate.type.descriptor.sql.BasicBinder
:
trace
# 登录相关配置
login
:
# 是否限制单用户登录
single
:
false
# 验证码
login-code
:
# 验证码类型配置 查看 LoginProperties 类
code-type
:
arithmetic
# 登录图形验证码有效时间/分钟
expiration
:
2
# 验证码高度
width
:
111
# 验证码宽度
heigth
:
36
# 内容长度
length
:
2
#jwt
jwt
:
header
:
Authorization
# 令牌前缀
token-start-with
:
Bearer
# 必须使用最少88位的Base64对该令牌进行编码
base64-secret
:
ZmQ0ZGI5NjQ0MDQwY2I4MjMxY2Y3ZmI3MjdhN2ZmMjNhODViOTg1ZGE0NTBjMGM4NDA5NzYxMjdjOWMwYWRmZTBlZjlhNGY3ZTg4Y2U3YTE1ODVkZDU5Y2Y3OGYwZWE1NzUzNWQ2YjFjZDc0NGMxZWU2MmQ3MjY1NzJmNTE0MzI=
# 令牌过期时间 此处单位/毫秒 ,默认4小时,可在此网站生成 https://www.convertworld.com/zh-hans/time/milliseconds.html
token-validity-in-seconds
:
14400000
# 在线用户key
online-key
:
online-token-
# 验证码
code-key
:
code-key-
# token 续期检查时间范围(默认30分钟,单位毫秒),在token即将过期的一段时间内用户操作了,则给用户的token续期
detect
:
1800000
# 续期时间范围,默认1小时,单位毫秒
renew
:
3600000
#################################### Swagger start #################################
# swagger配置
swagger
:
base
:
package
:
com.elitesland.core
contact
:
email
:
Mir@qq.com
name
:
Mir
url
:
'
'
description
:
'
'
title
:
YST中台
url
:
'
'
version
:
1.0
#################################### Swagger end ####################################
yst-dch/src/main/resources/config/application-local.yml
0 → 100644
View file @
88faa85e
###开发环境
spring
:
datasource
:
url
:
jdbc:mysql://192.168.1.130:3306/yst_dchDB?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
username
:
root
password
:
123456
jpa
:
database
:
mysql
database-platform
:
org.hibernate.dialect.MySQL8Dialect
show-sql
:
true
hibernate
:
ddl-auto
:
update
open-in-view
:
false
redis
:
#数据库索引
database
:
0
host
:
127.0.0.1
port
:
6379
password
:
#连接超时时间
timeout
:
5000
main
:
allow-bean-definition-overriding
:
true
logging
:
level
:
org.springframework.security
:
-
debug
-
info
org.springframework.web
:
error
org.hibernate.SQL
:
debug
org.hibernate.engine.QueryParameters
:
debug
org.hibernate.engine.query.HQLQueryPlan
:
debug
org.hibernate.type.descriptor.sql.BasicBinder
:
trace
# 登录相关配置
login
:
# 是否限制单用户登录
single
:
false
# 验证码
login-code
:
# 验证码类型配置 查看 LoginProperties 类
code-type
:
arithmetic
# 登录图形验证码有效时间/分钟
expiration
:
2
# 验证码高度
width
:
111
# 验证码宽度
heigth
:
36
# 内容长度
length
:
2
#jwt
jwt
:
header
:
Authorization
# 令牌前缀
token-start-with
:
Bearer
# 必须使用最少88位的Base64对该令牌进行编码
base64-secret
:
ZmQ0ZGI5NjQ0MDQwY2I4MjMxY2Y3ZmI3MjdhN2ZmMjNhODViOTg1ZGE0NTBjMGM4NDA5NzYxMjdjOWMwYWRmZTBlZjlhNGY3ZTg4Y2U3YTE1ODVkZDU5Y2Y3OGYwZWE1NzUzNWQ2YjFjZDc0NGMxZWU2MmQ3MjY1NzJmNTE0MzI=
# 令牌过期时间 此处单位/毫秒 ,默认4小时,可在此网站生成 https://www.convertworld.com/zh-hans/time/milliseconds.html
token-validity-in-seconds
:
14400000
# 在线用户key
online-key
:
online-token-
# 验证码
code-key
:
code-key-
# token 续期检查时间范围(默认30分钟,单位毫秒),在token即将过期的一段时间内用户操作了,则给用户的token续期
detect
:
1800000
# 续期时间范围,默认1小时,单位毫秒
renew
:
3600000
#################################### Swagger start #################################
# swagger配置
swagger
:
base
:
package
:
com.elitesland.core
contact
:
email
:
Mir@qq.com
name
:
Mir
url
:
'
'
description
:
'
'
title
:
YST中台
url
:
'
'
version
:
1.0
#################################### Swagger end ####################################
yst-dch/src/main/resources/config/application-prod.yml
0 → 100644
View file @
88faa85e
#####生产环境
spring
:
datasource
:
url
:
jdbc:mysql://192.168.1.130:3306/yst_dchDB?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
username
:
root
password
:
123456
jpa
:
database
:
mysql
database-platform
:
org.hibernate.dialect.MySQL8Dialect
show-sql
:
true
hibernate
:
ddl-auto
:
update
open-in-view
:
false
redis
:
#数据库索引
database
:
0
host
:
127.0.0.1
port
:
6379
password
:
#连接超时时间
timeout
:
5000
main
:
allow-bean-definition-overriding
:
true
logging
:
level
:
org.springframework.security
:
-
debug
-
info
org.springframework.web
:
error
org.hibernate.SQL
:
debug
org.hibernate.engine.QueryParameters
:
debug
org.hibernate.engine.query.HQLQueryPlan
:
debug
org.hibernate.type.descriptor.sql.BasicBinder
:
trace
# 登录相关配置
login
:
# 是否限制单用户登录
single
:
false
# 验证码
login-code
:
# 验证码类型配置 查看 LoginProperties 类
code-type
:
arithmetic
# 登录图形验证码有效时间/分钟
expiration
:
2
# 验证码高度
width
:
111
# 验证码宽度
heigth
:
36
# 内容长度
length
:
2
#jwt
jwt
:
header
:
Authorization
# 令牌前缀
token-start-with
:
Bearer
# 必须使用最少88位的Base64对该令牌进行编码
base64-secret
:
ZmQ0ZGI5NjQ0MDQwY2I4MjMxY2Y3ZmI3MjdhN2ZmMjNhODViOTg1ZGE0NTBjMGM4NDA5NzYxMjdjOWMwYWRmZTBlZjlhNGY3ZTg4Y2U3YTE1ODVkZDU5Y2Y3OGYwZWE1NzUzNWQ2YjFjZDc0NGMxZWU2MmQ3MjY1NzJmNTE0MzI=
# 令牌过期时间 此处单位/毫秒 ,默认4小时,可在此网站生成 https://www.convertworld.com/zh-hans/time/milliseconds.html
token-validity-in-seconds
:
14400000
# 在线用户key
online-key
:
online-token-
# 验证码
code-key
:
code-key-
# token 续期检查时间范围(默认30分钟,单位毫秒),在token即将过期的一段时间内用户操作了,则给用户的token续期
detect
:
1800000
# 续期时间范围,默认1小时,单位毫秒
renew
:
3600000
#################################### Swagger start #################################
# swagger配置
swagger
:
base
:
package
:
com.elitesland.core
contact
:
email
:
Mir@qq.com
name
:
Mir
url
:
'
'
description
:
'
'
title
:
YST中台
url
:
'
'
version
:
1.0
#################################### Swagger end ####################################
yst-dch/src/main/resources/config/application.yml
0 → 100644
View file @
88faa85e
spring
:
profiles
:
active
:
@
profileActive@
yst-dch/src/test/java/com/elitesland/dch/DemoApplicationTests.java
0 → 100644
View file @
88faa85e
package
com
.
elitesland
.
dch
;
import
org.junit.jupiter.api.Test
;
import
org.springframework.boot.test.context.SpringBootTest
;
@SpringBootTest
class
DemoApplicationTests
{
@Test
void
contextLoads
()
{
}
}
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