xiaoming_global 7cec96d377 SCRM | 5 years ago | |
---|---|---|
.. | ||
admin_service | 5 years ago | |
article_service | 5 years ago | |
district_service | 5 years ago | |
marketing_tool_service | 5 years ago | |
member_service | 5 years ago | |
micro_service | 5 years ago | |
org_service | 5 years ago | |
role_service | 5 years ago | |
site_service | 5 years ago | |
sms_service | 5 years ago | |
staff_service | 5 years ago | |
tencentim_service | 5 years ago | |
wechat_service | 5 years ago | |
Readme.md | 5 years ago | |
db.go | 5 years ago | |
redis.go | 5 years ago |
将 service 模块化;
通用的 redis 和 db 配置处在最外层;
具体的业务 service 按业务分模块(包);
在具体的模块包里定义 service 方法和 view model;
如果某个模块比较复杂,service 代码很多,则再将其业务细分,拆分为多个文件;