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
http://demo.g-fast.cn/tool/gen/batchGenCode?tables=user 404
看前端有
/** 生成代码操作 */ handleGenTable(row) { const tableNames = row.tableName || this.tableNames; if (tableNames == "") { this.msgError("请选择要生成的数据"); return; } downLoadZip("/tool/gen/batchGenCode?tables=" + tableNames, "ruoyi"); },
后端代码并没有看到对应的接口
//代码生成 group.Group("/tools", func(group *ghttp.RouterGroup) { group.ALL("/gen", new(admin.Gen)) })
感谢开源
The text was updated successfully, but these errors were encountered:
功能细节还在完善中
Sorry, something went wrong.
预览生成的model.go
AddReq结构体,Id自增长主键,AddSave函数会去使用req不存在的Id
// AddSave 添加 func AddSave(req *AddReq) error { . . . entity.Id = req.Id . . . }
SelectPageReq结构体PageNum字段类型是int,分页查询函数
func SelectListByPage(req *SelectPageReq) (total int, page int64, list []*Entity, err error) { . . . //req.PageNum需要转换类型为int64 page = req.PageNum . . . }
No branches or pull requests
http://demo.g-fast.cn/tool/gen/batchGenCode?tables=user 404
看前端有
后端代码并没有看到对应的接口
感谢开源
The text was updated successfully, but these errors were encountered: