Commit 3fd32c0e authored by xfxmcy's avatar xfxmcy

readme 增加模块文档描述

parent 059e996e
...@@ -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.yml ## ssl
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` 等) , 并调整相关属性
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