Commit a16a5361 authored by 高宇's avatar 高宇

初始化项目

parent b18957d0
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) {
......
......@@ -19,11 +19,12 @@ cy_mq:
# password: ENC(v2dv818F45rL4ZCZQaEgV/+ruvGFPx65AMPV52sk56N7ZuJCMTo9lUGT9j4aDccy7FND4QHN1gyDZqG3cY8w8Q==)
# db: exam
cy_db:
ip: 192.144.239.97
port: 20220
ip: 49.232.167.247
port: 20022
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:
......
......@@ -32,11 +32,11 @@ cy:
debug: false
rabbitMq: false
quartz: false
redis: false
redis: true
mongodb: false
dbChange: false
dbChange: true
redisCluster: false
entityParam: false
entityParam: true
# 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
......
......@@ -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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment