go-admin
go-admin copied to clipboard
A golang framework helps gopher to build a data visualization and admin panel in ten minutes
### 无法正常安装,路径错误! ``` go-admin tested by go-admin.test imports ./tables: "./tables" is relative, but relative import paths are not supported in module mode ``` ### 版本信息: - GoAdmin 版本:1.2.23 - golang...
### Bug Description [describe the bug in detail] #356 中提到用SetQueryFilterFn解决筛选搜索DatetimeRange上报的日期字符串转成时间戳的问题。 但是当我在分页的情况下,已经筛选设置了起始时间和终止时间,点击第2页的时候,url中的dt_end__goadmin和dt_start_goadmin已经是时间戳了,再次走到SetQueryFilterFn相当于将时间戳当成YYYY-MM-DD再转成时间戳,这样是没有数据的。 首次筛选浏览器里的url是:http://localhost:8080/admin/info/control?did=&dt_start__goadmin=2022-07-21+00%3A00%3A00&dt_end__goadmin=2022-07-22+00%3A00%3A00&uid=&status=&typ=&__go_admin_no_animation_=true 筛选条件下点击第2页url是:http://localhost:8080/admin/info/control?__is_all=false&__page=2&__pageSize=10&__sort=id&__sort_type=desc&dt_end__goadmin=1658419200&dt_start__goadmin=1658332800&__go_admin_no_animation_=true 我目前的解决方法是这样的:通过判断dt_end__goadmin中是否包含横杠判断需不需要再次转换,我觉得这种方式有点离谱了。 ``` info.SetQueryFilterFn(func(param parameter.Parameters, conn db.Connection) (ids []string, stopQuery bool) { fmt.Printf("param:%+v\n", param) if len(param.Fields["dt_end__goadmin"]) > 0...
### Bug Description [describe the bug in detail] ### How to reproduce [describe the steps how to reproduce the bug] ### Expect [describe your expect result] 编辑时可以选中,之前创建时候的值 ### Reproduction code...
匹配beego框架升级到V2
### Bug Description [describe the bug in detail] some parts of the code are in chinese, this is intimidating to international audiences. can these be translated to English? ``` ./plugins/plugins.go...
### 需求描述 我在使用多节点部署服务时,会出现大面积鉴权失败的现象,看了看源码好像是把token信息存在了服务内存中,由于内存不共享导致的 我理解这个包只能用内存,不能强制性需要额外扩展的模块 ### 解决方案 可不可以在初始化时,增加token保存介质的可配置项,支持保存在redis中
### 需求描述 [详细地描述需求,让大家都能理解] 三级联动菜单或者是三级联动下拉选择框是经常使用的功能,目前没有看到相关的解决方案和示例 ### 解决方案 [如果你有解决方案,在这里清晰地阐述] ### 其他信息 [如截图等其他信息可以贴在这里]
### Description Hi. Are you planning on adding support for array types in databases (postgresql)? I don't seem to be able to use array fields in my tables (neither in...