优化结构

This commit is contained in:
Yvan
2026-08-21 10:29:14 +08:00
parent 56980c8087
commit 055f6811ca
340 changed files with 382 additions and 382 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.