优化结构

This commit is contained in:
Yvan
2026-08-21 09:07:33 +08:00
parent 77e192b6c0
commit 80e62acf7d
6 changed files with 57 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
# Service Layer
`service` adapts HTTP-facing DTOs to business usecases and owns application
orchestration. Request/response/filter contracts live in `dto/`; the root
package contains resource services, conversions, route metadata, and security
coordination.
`dto_alias.go` is a compatibility bridge for existing service callers. New
transport code should import `service/dto` directly when it needs a contract.