项目骨架使用说明

更新说明
2019-02-26 (Version:1.0.12)

更新logback配置默认增加sleuth跟踪字段
支持可配置方式tag的方式去调用其他匹配的微服务实例

背景

基于微服务拆分的背景下,提供了通用的项目骨架,方便快速建立起新应用和统一项目规范。

骨架maven配置信息

  • GroupId:com.tinkerc
  • ArtifactId:example-archetype
  • Version:1.0.12

项目结构说明
分层说明(以example-user示例artifactId)

├─example-user-common #通用层(常量、个性化util)

├─example-user-dao #数据操作层(Mapper+entity)

├─example-user-dto #数据传输层(模型对象)

├─example-user-proxy #代理层(调用其他内部服务的feign client)

├─example-user-service #服务层(业务逻辑处理层)

└─example-user-webapi #对外输出的API层(controller)

你可能感兴趣的:(项目骨架使用说明)