refactor🎨: 简化数据绑定

This commit is contained in:
zhangwenjian committed 2021-06-07 16:39:59 +08:00
1 parent 190dcfedc0
commit 3be02f1364
6 files changed
+3 -154

No files matched your search

+2 -2
View File
@@ -8,8 +8,8 @@ import (
type SysApiSearch struct {
dto.Pagination `search:"-"`
Title string `form:"title" search:"type:exact;column:title;table:sys_api" comment:"标题"`
Path string `form:"path" search:"type:exact;column:path;table:sys_api" comment:"地址"`
Title string `form:"title" search:"type:contains;column:title;table:sys_api" comment:"标题"`
Path string `form:"path" search:"type:contains;column:path;table:sys_api" comment:"地址"`
Action string `form:"action" search:"type:exact;column:action;table:sys_api" comment:"类型"`
ParentId string `form:"parentId" search:"type:exact;column:parent_id;table:sys_api" comment:"按钮id"`
SysApiOrder