XMLWAN 6733c591de 第一次提交 | 4 gadus atpakaļ | |
---|---|---|
.. | ||
admin_service | 4 gadus atpakaļ | |
article_service | 4 gadus atpakaļ | |
district_service | 4 gadus atpakaļ | |
login_service | 4 gadus atpakaļ | |
marketing_tool_service | 4 gadus atpakaļ | |
member_service | 4 gadus atpakaļ | |
micro_service | 4 gadus atpakaļ | |
org_service | 4 gadus atpakaļ | |
role_service | 4 gadus atpakaļ | |
site_service | 4 gadus atpakaļ | |
sms_service | 4 gadus atpakaļ | |
staff_service | 4 gadus atpakaļ | |
tencentim_service | 4 gadus atpakaļ | |
wechat_service | 4 gadus atpakaļ | |
Readme.md | 4 gadus atpakaļ | |
db.go | 4 gadus atpakaļ | |
redis.go | 4 gadus atpakaļ |
将 service 模块化;
通用的 redis 和 db 配置处在最外层;
具体的业务 service 按业务分模块(包);
在具体的模块包里定义 service 方法和 view model;
如果某个模块比较复杂,service 代码很多,则再将其业务细分,拆分为多个文件;