package dto type NilReq struct { } type NilRsp = NilReq type ListWhereConditionInfo struct { Conditions []*GetWhereCondition `json:"conditions"` } type CommonListReq struct { PageNo int `json:"page_no"` PageLen int `json:"page_len"` //WhereConditions []*GetWhereCondition `json:"where_conditions"` WhereConditions string `json:"where_conditions"` // json序列化数据,内容是{"conditions": []*GetWhereCondition} ParsedWhereConditions *ListWhereConditionInfo `json:"-"` } type CommonPostReq struct { Dto *CommonDtoValues `json:"dto"` } type CommonPutReq struct { Dto *CommonDtoValues `json:"dto"` } type CommonDeleteReq struct { Id int `json:"id"` } type CommonListRsp = CommonDtoList type CommonPostRsp struct { Dto *CommonDtoValues `json:"dto"` } type CommonPutRsp struct { Dto *CommonDtoValues `json:"dto"` } type CommonDeleteRsp struct { Id int `json:"id"` } type CommonRowsSelectionReq struct { BtnKey string `json:"btn_key"` Rows []CommonDtoValues `json:"rows"` } type CommonRowsSelectionRsp struct { Msg string `json:"msg"` NeedRefresh bool `json:"need_refresh"` FileName string `json:"file_name"` ShortDesc string `json:"short_desc"` } type CommandListReq struct { Addr string `json:"addr"` } type CommandListRsp struct { List []*PathInfo `json:"list"` } type GetProjectAllItemsRsp struct { Items []*CommonDtoFieldChoice `json:"items"` } type CDKeyExportFileReq struct { ID int `json:"id"` } type CDKeyAddCountReq struct { ID int `json:"id"` AddCount int `json:"add_count"` } type CDKeyAddCountRsp struct { ID int `json:"id"` NewCount int `json:"new_count"` } type CDKeyUseReq struct { ProjectId int `json:"project_id"` Key string `json:"key"` Account string `json:"account"` RoleID string `json:"role_id"` RoleName string `json:"role_name"` IP string `json:"ip"` ServerID string `json:"server_id"` DeviceID string `json:"device_id"` } type CDKeyUseRsp struct { RewardItems []*ItemInfo `json:"reward_items"` } type CDKeyUsedHistoryReq struct { ID int `json:"id"` } type CDKeyUsedInfo struct { ServerID string `json:"server_id"` Account string `json:"account"` RoleID string `json:"role_id"` RoleName string `json:"role_name"` Key string `json:"key"` IP string `json:"ip"` DeviceID string `json:"device_id"` CreatedAt string `json:"created_at"` } type CDKeyUsedHistoryRsp struct { List []*CDKeyUsedInfo `json:"list"` } type GetAccountDetailReq struct { Account string } type GetAccountDetailRsp struct { AccountInfo *AccountDetailInfo `json:"account_info"` }