Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-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
李伟
cust-api
Commits
b005cf50
Commit
b005cf50
authored
Dec 23, 2024
by
gaoyingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 配置文件位置
parent
cd78059c
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
37 additions
and
62 deletions
+37
-62
application-common.yml
config/application-common.yml
+0
-0
application-dev-conf.yml
config/application-dev-conf.yml
+8
-14
application-kube-conf.yml
config/application-kube-conf.yml
+8
-0
application-prod-conf.yml
config/application-prod-conf.yml
+8
-0
application-spbt.yml
config/application-spbt.yml
+0
-0
application-test-conf.yml
config/application-test-conf.yml
+8
-0
application.yml
config/application.yml
+0
-0
logback-spring.xml
config/logback-spring.xml
+3
-2
OssGlobal.java
src/main/java/org/rcisoft/common/component/OssGlobal.java
+0
-44
MemInfoMapper.xml
...esources/mapper/business/memInfo/mapper/MemInfoMapper.xml
+2
-2
No files found.
src/main/resources
/application-common.yml
→
config
/application-common.yml
View file @
b005cf50
File moved
src/main/resources
/application-dev-conf.yml
→
config
/application-dev-conf.yml
View file @
b005cf50
...
@@ -102,7 +102,7 @@ cy:
...
@@ -102,7 +102,7 @@ cy:
-
"
/common/getKSA"
-
"
/common/getKSA"
-
"
/office/getFile"
-
"
/office/getFile"
-
"
/office/callback"
-
"
/office/callback"
-
"
/
**
/**"
-
"
/
app/open
/**"
permitStatic
:
[
"
/"
,
"
/*.html"
,
"
/favicon.ico"
,
"
/**/*.html"
,
"
/**/*.js"
,
"
/**/*.css"
,
"
/swagger-ui/*"
]
permitStatic
:
[
"
/"
,
"
/*.html"
,
"
/favicon.ico"
,
"
/**/*.html"
,
"
/**/*.js"
,
"
/**/*.css"
,
"
/swagger-ui/*"
]
logoutSuccessUrl
:
"
/login"
logoutSuccessUrl
:
"
/login"
loginPage
:
"
/login"
loginPage
:
"
/login"
...
@@ -181,23 +181,17 @@ global:
...
@@ -181,23 +181,17 @@ global:
code
:
code
:
admin
:
ROLE_1001
admin
:
ROLE_1001
resetPassword
:
123456
resetPassword
:
123456
oss
:
request
:
"
https://"
endpoint
:
"
oss-cn-beijing.aliyuncs.com"
putAcessKey
:
putSecretKey
:
logging
:
logging
:
config
:
./config/logback-spring.xml
level
:
level
:
root
:
info
root
:
info
com.alibaba.nacos
:
info
com.alibaba.nacos
:
info
path
:
D:\working\test
oss
:
request
:
"
https://"
endpoint
:
"
oss-cn-beijing.aliyuncs.com"
bucket
:
"
catarc-res"
regionId
:
"
cn-beijing"
put
:
acess_key
:
ENC(tbI3V/L3rXALTOW7DZByISDc68laCea8fsTyvgYbobWMsQ0TGkedn01SeAT1uXlQjr8EgqrM06Po6CRH0OCFBA==)
secret_key
:
ENC(nF9aH+p4P+ZQPal7mMh3aDgNJP1hwzwDrv+GGyjZUPRkt9gLsXGCOQ9Q77kIMDY/5WttzyqNQdX+bR6TACpBmw==)
ram
:
"
acs:ram::1372579886118191:role/catarc-put-role"
read
:
acess_key
:
ENC(WubSHSvpRIFL9U3T+ZIG+Kmo7ts4VKyROdA9idt5C8bqogJpYCQNz7sREwHCZ40EhvKMihcf8VYhwVR85HVSLg==)
secret_key
:
ENC(dvdFA7j1A2D6l9+2CUpYR0c3Us76nXyu/crr6s2mo7EDmKnCadWn9UFkYC9YYl9dUycFZsm+Wn0El4Kkau5+Xg==)
read_time
:
1800000
#读取超时时间
src/main/resources
/application-kube-conf.yml
→
config
/application-kube-conf.yml
View file @
b005cf50
...
@@ -166,8 +166,16 @@ global:
...
@@ -166,8 +166,16 @@ global:
code
:
code
:
admin
:
ROLE_1001
admin
:
ROLE_1001
resetPassword
:
123456
resetPassword
:
123456
oss
:
request
:
"
https://"
endpoint
:
"
oss-cn-beijing.aliyuncs.com"
putAcessKey
:
putSecretKey
:
logging
:
logging
:
config
:
/data/config/logback-spring.xml
level
:
level
:
root
:
info
root
:
info
com.alibaba.nacos
:
info
com.alibaba.nacos
:
info
path
:
\working\test
src/main/resources
/application-prod-conf.yml
→
config
/application-prod-conf.yml
View file @
b005cf50
...
@@ -166,8 +166,16 @@ global:
...
@@ -166,8 +166,16 @@ global:
code
:
code
:
admin
:
ROLE_1001
admin
:
ROLE_1001
resetPassword
:
123456
resetPassword
:
123456
oss
:
request
:
"
https://"
endpoint
:
"
oss-cn-beijing.aliyuncs.com"
putAcessKey
:
putSecretKey
:
logging
:
logging
:
config
:
/data/config/logback-spring.xml
level
:
level
:
root
:
info
root
:
info
com.alibaba.nacos
:
info
com.alibaba.nacos
:
info
path
:
\working\test
src/main/resources
/application-spbt.yml
→
config
/application-spbt.yml
View file @
b005cf50
File moved
src/main/resources
/application-test-conf.yml
→
config
/application-test-conf.yml
View file @
b005cf50
...
@@ -165,7 +165,15 @@ global:
...
@@ -165,7 +165,15 @@ global:
code
:
code
:
admin
:
ROLE_1001
admin
:
ROLE_1001
resetPassword
:
123456
resetPassword
:
123456
oss
:
request
:
"
https://"
endpoint
:
"
oss-cn-beijing.aliyuncs.com"
putAcessKey
:
putSecretKey
:
logging
:
logging
:
config
:
/data/config/logback-spring.xml
level
:
level
:
root
:
info
root
:
info
com.alibaba.nacos
:
info
com.alibaba.nacos
:
info
path
:
\working\test
src/main/resources
/application.yml
→
config
/application.yml
View file @
b005cf50
File moved
src/main/resources
/logback-spring.xml
→
config
/logback-spring.xml
View file @
b005cf50
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<configuration>
<configuration>
<springProperty
scope=
"context"
name=
"LOG_PATH"
source=
"logging.path"
/>
<appender
name=
"consoleLog"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<appender
name=
"consoleLog"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<layout
class=
"ch.qos.logback.classic.PatternLayout"
>
<layout
class=
"ch.qos.logback.classic.PatternLayout"
>
...
@@ -31,7 +32,7 @@
...
@@ -31,7 +32,7 @@
<!--滚动策略-->
<!--滚动策略-->
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<!--路径-->
<!--路径-->
<fileNamePattern>
/working/test
/info.%d{yyyy-MM-dd}.log
</fileNamePattern>
<fileNamePattern>
${LOG_PATH}
/info.%d{yyyy-MM-dd}.log
</fileNamePattern>
<!-- <fileNamePattern>/Users/lyl/Downloads/tea_resource/info.%d{yyyy-MM-dd}.log</fileNamePattern>-->
<!-- <fileNamePattern>/Users/lyl/Downloads/tea_resource/info.%d{yyyy-MM-dd}.log</fileNamePattern>-->
</rollingPolicy>
</rollingPolicy>
</appender>
</appender>
...
@@ -53,7 +54,7 @@
...
@@ -53,7 +54,7 @@
<!--滚动策略-->
<!--滚动策略-->
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<!--路径-->
<!--路径-->
<fileNamePattern>
/working/test
/error.%d{yyyy-MM-dd}.log
</fileNamePattern>
<fileNamePattern>
${LOG_PATH}
/error.%d{yyyy-MM-dd}.log
</fileNamePattern>
<!-- <fileNamePattern>/Users/lyl/Downloads/tea_resource/error.%d{yyyy-MM-dd}.log</fileNamePattern>-->
<!-- <fileNamePattern>/Users/lyl/Downloads/tea_resource/error.%d{yyyy-MM-dd}.log</fileNamePattern>-->
</rollingPolicy>
</rollingPolicy>
</appender>
</appender>
...
...
src/main/java/org/rcisoft/common/component/OssGlobal.java
deleted
100644 → 0
View file @
cd78059c
package
org
.
rcisoft
.
common
.
component
;
import
lombok.Data
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Component
;
/**
* @author Liushuaiyang
*/
@Component
@Data
public
class
OssGlobal
{
// oss-request
@Value
(
"${oss.request}"
)
private
String
request
;
// oss-endpoint
@Value
(
"${oss.endpoint}"
)
private
String
endpoint
;
// oss-bucket
@Value
(
"${oss.bucket}"
)
private
String
bucket
;
// oss-regionId
@Value
(
"${oss.regionId}"
)
private
String
regionId
;
// oss-put-acess_key
@Value
(
"${oss.put.acess_key}"
)
private
String
putAcessKey
;
// oss-put-secret_key
@Value
(
"${oss.put.secret_key}"
)
private
String
putSecretKey
;
// oss-put-ran
@Value
(
"${oss.put.ram}"
)
private
String
putRam
;
// oss-read-acess_key
@Value
(
"${oss.read.acess_key}"
)
private
String
readAcessKey
;
// oss-read-secret_key
@Value
(
"${oss.read.secret_key}"
)
private
String
readSecretKey
;
// oss-read-read_time
@Value
(
"${oss.read.read_time}"
)
private
Integer
readTime
;
}
src/main/resources/mapper/business/memInfo/mapper/MemInfoMapper.xml
View file @
b005cf50
...
@@ -231,8 +231,8 @@
...
@@ -231,8 +231,8 @@
<if
test=
"entity.memYearIncome !=null "
>
<if
test=
"entity.memYearIncome !=null "
>
and mem_year_income = #{entity.memYearIncome}
and mem_year_income = #{entity.memYearIncome}
</if>
</if>
<if
test=
"entity.mi
m
YearIncome !=null "
>
<if
test=
"entity.mi
n
YearIncome !=null "
>
and mem_year_income
>
= #{entity.mi
m
YearIncome}
and mem_year_income
>
= #{entity.mi
n
YearIncome}
</if>
</if>
<if
test=
"entity.maxYearIncome !=null "
>
<if
test=
"entity.maxYearIncome !=null "
>
and mem_year_income
<
= #{entity.maxYearIncome}
and mem_year_income
<
= #{entity.maxYearIncome}
...
...
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