Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projectArtifacture
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
yangzhaojun
projectArtifacture
Commits
3fd32c0e
Commit
3fd32c0e
authored
Nov 01, 2018
by
xfxmcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme 增加模块文档描述
parent
059e996e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
readMe.md
readMe.md
+23
-3
No files found.
readMe.md
View file @
3fd32c0e
...
@@ -93,10 +93,16 @@ ${basedir}/sql
...
@@ -93,10 +93,16 @@ ${basedir}/sql
# 模块开发
# 模块开发
## ssl
## redis
1.
`application-dev.yml`
配置redis相关参数
2.
`CyRedisConfigBean`
去掉
`@CyDoc(CyDocEnum.USELESS)`
开启
`@ConfigurationProperties`
`@Component`
3.
`CyRedisConfig`
去掉
`@CyDoc(CyDocEnum.USELESS)`
开启
`@Configuration`
4.
`CyRedisServiceImpl`
去掉
`@CyDoc(CyDocEnum.USELESS)`
开启
`@Service`
开启 application-dev.ym
l
## ss
l
1.
开启 application-dev.yml
~~~
~
~~~
~
ssl:
ssl:
key-store: classpath:client1.p12
key-store: classpath:client1.p12
...
@@ -104,4 +110,18 @@ ${basedir}/sql
...
@@ -104,4 +110,18 @@ ${basedir}/sql
key-store-type: PKCS12
key-store-type: PKCS12
key-alias: client1
key-alias: client1
#并生成证书,client1.p12 放在resource下
#并生成证书,client1.p12 放在resource下
~~~
~
~~~
~
\ No newline at end of file
## 报文加密
1.
CyDecryptParamAspect.java 去掉
`@CyDoc(CyDocEnum.USELESS)`
2.
application-dev.yml 配置参数 decryptKey
3.
CyAopConfig 注入bean
`@Bean ...`
## 多数据源
1.
`application-dev.yml`
配置多数据源相关参数 参考
`power`
`pmiss`
2.
配置多数据源配置类 参考
`CyDruidProPmiss`
`CyDruidProPower`
3.
关闭
`CyDruidConfig`
注掉
`Configuration`
等, 开启
`@CyDoc(CyDocEnum.USELESS)`
4.
开启
`CyMultipleDruidConfig`
和
`CyTransactionConfig`
(关闭
`@CyDoc(CyDocEnum.USELESS)`
, 开启
`@Configuration`
等) , 并调整相关属性
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