Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当controller建在public目录下时自动路由识别不到 #44

Open
gcslaoli opened this issue Oct 9, 2021 · 1 comment
Open

当controller建在public目录下时自动路由识别不到 #44

gcslaoli opened this issue Oct 9, 2021 · 1 comment

Comments

@gcslaoli
Copy link
Contributor

gcslaoli commented Oct 9, 2021

controller文件路径 src/app/modules/news/controller/public/categories.ts 时 自动路由无法识别到
当修改为 src/app/modules/news/controller/public1/categories.ts 时可以识别

@cool-team-official
Copy link
Owner

public 为 egg-static的静态目录,避免出错就忽略了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants