We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
按照这个示例生成代码之后,发现 app/admin/service/dto/article.go内容生成的有问题,会导致请求这个示例路径404:http://127.0.0.1:8000/api/v1/article?pageIndex=1&pageSize=10&beginTime=&endTime=
app/admin/service/dto/article.go
http://127.0.0.1:8000/api/v1/article?pageIndex=1&pageSize=10&beginTime=&endTime=
如下图:
解决方案: 修改template/v4/dto.go.template:18文件,将最后的一个-去掉,保证了time包会"追加"到上一个包的后面。
template/v4/dto.go.template:18
-
这个文件也缺少import time包:app/admin/service/article.go
app/admin/service/article.go
The text was updated successfully, but these errors were encountered:
done
Sorry, something went wrong.
No branches or pull requests
按照这个示例生成代码之后,发现
app/admin/service/dto/article.go
内容生成的有问题,会导致请求这个示例路径404:http://127.0.0.1:8000/api/v1/article?pageIndex=1&pageSize=10&beginTime=&endTime=
如下图:
解决方案: 修改
template/v4/dto.go.template:18
文件,将最后的一个-
去掉,保证了time包会"追加"到上一个包的后面。这个文件也缺少import time包:
app/admin/service/article.go
The text was updated successfully, but these errors were encountered: