// Code generated by goctl. DO NOT EDIT. // goctl 1.8.1 package types type BaseReq struct { } type BaseResponse struct { Status Status `json:"status"` // 狀態 Data interface{} `json:"data"` // 資料 } type Pager struct { Total int64 `json:"total"` PageSize int64 `json:"page_size"` PageIndex int64 `json:"page_index"` } type RespOK struct { } type Status struct { Code int64 `json:"code"` // 狀態碼 Message string `json:"message"` // 訊息 Data interface{} `json:"data,omitempty"` // 可選的資料,當有返回時才出現 Error interface{} `json:"error,omitempty"` // 可選的錯誤信息 } type VerifyHeader struct { Token string `header:"token" validate:"required"` }