Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms_api
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高宇
wms_api
Commits
a16a5361
Commit
a16a5361
authored
May 28, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化项目
parent
b18957d0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
16 deletions
+35
-16
WmsApiApplication.java
src/main/java/org/rcisoft/WmsApiApplication.java
+6
-2
application-dev-conf.yml
src/main/resources/application-dev-conf.yml
+6
-5
application-spbt.yml
src/main/resources/application-spbt.yml
+4
-4
logback-spring.xml
src/main/resources/logback-spring.xml
+19
-5
No files found.
src/main/java/org/rcisoft/WmsApiApplication.java
View file @
a16a5361
package
org
.
rcisoft
;
import
com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties
;
import
org.mybatis.spring.annotation.MapperScan
;
import
org.rcisoft.core.doc.anno.CyDocAnno
;
import
org.rcisoft.core.doc.enums.CyDocEnum
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.context.annotation.EnableAspectJAutoProxy
;
...
...
@@ -9,12 +12,13 @@ import org.springframework.security.config.annotation.method.configuration.Enabl
import
org.springframework.transaction.annotation.EnableTransactionManagement
;
@SpringBootApplication
@EnableTransactionManagement
@SpringBootApplication
(
scanBasePackages
=
{
"org.rcisoft"
})
@EnableAspectJAutoProxy
@EnableScheduling
@EnableGlobalMethodSecurity
(
prePostEnabled
=
true
)
@MapperScan
(
basePackages
=
{
"org.rcisoft.**.dao"
,
"org.activiti.dao"
})
//扫描dao 不需要@repository
@CyDocAnno
(
CyDocEnum
.
DEMO
)
@EnableEncryptableProperties
public
class
WmsApiApplication
{
public
static
void
main
(
String
[]
args
)
{
...
...
src/main/resources/application-dev-conf.yml
View file @
a16a5361
...
...
@@ -19,11 +19,12 @@ cy_mq:
# password: ENC(v2dv818F45rL4ZCZQaEgV/+ruvGFPx65AMPV52sk56N7ZuJCMTo9lUGT9j4aDccy7FND4QHN1gyDZqG3cY8w8Q==)
# db: exam
cy_db
:
ip
:
192.144.239.9
7
port
:
20
220
ip
:
49.232.167.24
7
port
:
20
022
username
:
root
password
:
rootnj23nj23jk@2
password
:
cy
db
:
wms_db
#cy_db:
...
...
@@ -66,14 +67,14 @@ cy:
realSend
:
false
model
:
yuntongxun
# 1 "", 2 math, 3 char, 4 block,5 word
captchaType
:
3
captchaType
:
1
# 是否开启短信登录拦截
secure
:
false
login
:
# 是否开启登录日志
log
:
true
# 1 "", 2 math, 3 char, 4 block,5 word
captcha
:
3
captcha
:
1
# 是否开启登录拦截
secure
:
false
security
:
...
...
src/main/resources/application-spbt.yml
View file @
a16a5361
...
...
@@ -32,11 +32,11 @@ cy:
debug
:
false
rabbitMq
:
false
quartz
:
false
redis
:
fals
e
redis
:
tru
e
mongodb
:
false
dbChange
:
fals
e
dbChange
:
tru
e
redisCluster
:
false
entityParam
:
fals
e
entityParam
:
tru
e
# md5
decryptParam
:
false
decryptKey
:
cyKey
...
...
@@ -64,7 +64,7 @@ cy:
enable
:
true
author
:
cy
dbType
:
mysql
database
:
wms_db
database
:
rcisoft
basePackage
:
org.rcisoft.sys
rejectRepeatSubmit
:
enable
:
false
...
...
src/main/resources/logback-spring.xml
View file @
a16a5361
...
...
@@ -10,10 +10,6 @@
<!--格式化输出:%d表示日期,%thread表示线程名,%-5level:级别从左显示5个字符宽度%msg:日志消息,%n是换行符-->
<!--<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n</pattern>-->
</layout>
<!-- <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>WARN</level>
</filter>-->
</appender>
<appender
name=
"fileInfoLog"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
...
...
@@ -120,7 +116,25 @@
<!--<appender-ref ref="logStash" />-->
</root>
</springProfile>
<springProfile
name=
"oracle"
>
<root
level=
"debug"
>
<appender-ref
ref=
"consoleLog"
/>
<appender-ref
ref=
"fileInfoLog"
/>
<appender-ref
ref=
"fileErrorLog"
/>
<!--<appender-ref ref="logStash" />-->
</root>
</springProfile>
<springProfile
name=
"kube"
>
<root
level=
"info"
>
<appender-ref
ref=
"consoleLog"
/>
<appender-ref
ref=
"fileInfoLog"
/>
<appender-ref
ref=
"fileErrorLog"
/>
<!--<appender-ref ref="logStash" />-->
</root>
</springProfile>
<springProfile
name=
"test"
>
<root
level=
"debug"
>
...
...
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