fix🐛 remove invalid identifier character U+00A0

This commit is contained in:
wenjianzhang
2021-05-28 17:18:20 +08:00
parent 5be2070cbc
commit 4c127c8c4b
+6 -6
View File
@@ -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
}
}