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

你好,使用生成配置后使用接口会报错。 #783

Open
xianlv1996 opened this issue Jan 16, 2024 · 2 comments
Open

你好,使用生成配置后使用接口会报错。 #783

xianlv1996 opened this issue Jan 16, 2024 · 2 comments
Labels

Comments

@xianlv1996
Copy link

image
Uncaught (in promise) Error: Request failed with status code 404
at createError (createError.js?2d83:16:1)
at settle (settle.js?467f:17:1)
at XMLHttpRequest.handleLoad (xhr.js?b50d:62:1)

路由代码中提示方法异常:
image

@xianlv1996
Copy link
Author

PS D:\Go\gocode\go-admin> go build

go-admin/app/admin/router

app\admin\router\acticle.go:19:29: api.GetArticleList undefined (type apis.Article has no field or method GetArticleList)
PS D:\Go\gocode\go-admin>

@wenjianzhang
Copy link
Member

image 确认一下这个文件中是否存在这个接口

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

No branches or pull requests

2 participants