update llm
This commit is contained in:
@@ -114,7 +114,7 @@ If you need to define a module HTTP middleware (applies to the module route grou
|
||||
|
||||
1) Run `atomctl gen route` first.
|
||||
2) Edit `backend/app/http/<module>/routes.manual.go`:
|
||||
- Update `Path()` to return the current module route group prefix (must match the prefix used in `routes.gen.go`, e.g. `/super/v1`, `/t/:tenant_code/v1`).
|
||||
- Update `Path()` to return the current module route group prefix (must match the prefix used in `routes.gen.go`, e.g. `/super/v1`, `/t/:tenantCode/v1`).
|
||||
- Update `Middlewares()` return value: return a list like `[]any{r.middlewares.MiddlewareFunc1, r.middlewares.MiddlewareFunc2, ...}` (no `(...)`), where each item is `r.middlewares.<MiddlewareFunc>` referencing middleware definitions in `backend/app/middlewares`.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user