PMail/server/dto/tag.go
Jinnrry 01cbdc9875
V2.5.0 (#132)
支持多用户
支持SSL证书支持DNS验证
增加mysql测试用例
修复DNS设置时的展示歧义
2024-07-02 21:02:00 +08:00

15 lines
289 B
Go

package dto
import "encoding/json"
type SearchTag struct {
Type int8 `json:"type"` // -1 不限
Status int8 `json:"status"` // -1 不限
GroupId int `json:"group_id"` // -1 不限
}
func (t SearchTag) ToString() string {
data, _ := json.Marshal(t)
return string(data)
}