mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 18:20:50 +00:00
fix🐛 remove invalid identifier character U+00A0
This commit is contained in:
@@ -9,11 +9,11 @@ import (
|
||||
common "go-admin/common/models"
|
||||
)
|
||||
|
||||
type SysContentSearch struct {
|
||||
dto.Pagination `search:"-"`
|
||||
CateId string `form:"cateId" search:"type:exact;column:cate_id;table:sys_content" comment:"分类"`
|
||||
Name string `form:"name" search:"type:contains;column:name;table:sys_content" comment:"名称"`
|
||||
Status string `form:"status" search:"type:exact;column:status;table:sys_content" comment:"状态"`
|
||||
type SysContentSearch struct {
|
||||
dto.Pagination `search:"-"`
|
||||
CateId string `form:"cateId" search:"type:exact;column:cate_id;table:sys_content" comment:"分类"`
|
||||
Name string `form:"name" search:"type:contains;column:name;table:sys_content" comment:"名称"`
|
||||
Status string `form:"status" search:"type:exact;column:status;table:sys_content" comment:"状态"`
|
||||
}
|
||||
|
||||
func (m *SysContentSearch) GetNeedSearch() interface{} {
|
||||
@@ -92,4 +92,4 @@ func (s *SysContentById) Generate() dto.Control {
|
||||
|
||||
func (s *SysContentById) GenerateM() (common.ActiveRecord, error) {
|
||||
return &models.SysContent{}, nil
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user