feat: switch to global auth and tenant route prefix

This commit is contained in:
2026-01-26 18:04:05 +08:00
parent 8addf6f900
commit cde4fb8594
25 changed files with 479 additions and 7196 deletions

View File

@@ -1,7 +1,7 @@
package v1
func (r *Routes) Path() string {
return "/t/:tenantCode/v1"
return "/v1/t/:tenantCode"
}
func (r *Routes) Middlewares() []any {