Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dict
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈文顺
dict
Commits
9ee9d12b
Commit
9ee9d12b
authored
Nov 09, 2018
by
陈文顺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme
parent
0b5f0f1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
README.md
+1
-1
No files found.
README.md
View file @
9ee9d12b
...
...
@@ -4,7 +4,7 @@
### 应用场景
数据字典类似缓存系统KV的形式存储数据,可以随时编辑,调用方通过接口获取数据。参考以下应用场景:
1.
动态配置:系统中有很多参数希望能及时调整,如不同
付方式的费率;调用第三方短信发送接口可能需要动态切换不同的提供
商接口;程序逻辑的开关等等,如果放在静态配置文件里修改后就需要重启服务,很不方便。(ps:配置数据可以放json格式)
1.
动态配置:系统中有很多参数希望能及时调整,如不同
支付方式的费率;调用第三方短信发送接口可能需要动态切换不同的供应
商接口;程序逻辑的开关等等,如果放在静态配置文件里修改后就需要重启服务,很不方便。(ps:配置数据可以放json格式)
2.
映射关系维护:有时候不同系统间商户id等参数会不同,需要有个转换的映射配置;还有一些枚举类型code对应描述,如果描述信息更改的配置修改很方便。
...
...
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