feat ✨ 排序字段接受参数名调整
This commit is contained in:
1 parent
dd7b50e0fa
commit
8d272e8862
7 files changed
+35
-17
No files matched your search
@@ -20,7 +20,7 @@ type SysLoginLogSearch struct {
|
||||
}
|
||||
|
||||
type SysLoginLogOrder struct {
|
||||
HandleOrder string `search:"type:order;column:created_at;table:sys_login_log" form:"created_at_order"`
|
||||
HandleOrder string `search:"type:order;column:created_at;table:sys_login_log" form:"createdAtOrder"`
|
||||
}
|
||||
|
||||
func (m *SysLoginLogSearch) GetNeedSearch() interface{} {
|
||||
@@ -115,4 +115,4 @@ func (s *SysLoginLogById) Generate() *SysLoginLogById {
|
||||
|
||||
func (s *SysLoginLogById) GenerateM() (*models.SysLoginLog, error) {
|
||||
return &models.SysLoginLog{}, nil
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user