Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDStatusRequest ¶
type IDStatusRequest struct { ID int `form:"id"` Status int `form:"status"` //1 正常 2 禁用 From int `form:"form"` // 1 修改状态 2 是删除 Type int `form:"type"` //来源 0 单个id 1 使用数组 id字符串 IDArr []int IDString string `form:"id_string"` Def string `form:"def"` //字符串分隔符 默认 英文逗号分隔 }
用户删除或者修改状态通用
func (*IDStatusRequest) CheckStatus ¶
func (s *IDStatusRequest) CheckStatus() error
func (*IDStatusRequest) IDStringToIDArr ¶
func (s *IDStatusRequest) IDStringToIDArr() *IDStatusRequest
Click to show internal directories.
Click to hide internal directories.