package dto type PagePublishedReqDto struct { PageQueryDto Name string `json:"name" form:"name"` Release bool `json:"release" form:"release"` // 是否只要上架数据 } type PublishedListReqDto struct { Name string `json:"name" form:"name"` Type int32 `json:"type" form:"type"` Category string `json:"category" form:"category"` } type PublishedDto struct { ID int32 `json:"id" form:"id"` Name string `json:"name" form:"name"` Proto []byte `json:"proto" form:"proto"` UserID int32 `json:"userID" form:"userID"` Note string `json:"note" form:"note"` Type int32 `json:"type" form:"type"` Category string `json:"category" form:"category"` PublishAt JsonTime `json:"publishAt" form:"publishAt" time_format:"2006-01-02 15:04:05"` Status int32 `json:"status" form:"status"` Version int32 `json:"version" form:"version"` Publisher string `json:"publisher" form:"publisher"` } type PublishReqDto struct { //发布后的名称 Name string `json:"name" form:"name"` //草稿数据的id DraftId int32 `json:"draftId" form:"draftId"` Note string `json:"note" form:"note"` // 强制覆盖 Force bool `json:"force" form:"force"` } type PublishChangeReqDto struct { Id int32 `json:"id" form:"id"` Name string `json:"name" form:"name"` Release bool `json:"release" form:"release"` } // PublishedGiSingleQueryDto 单个查询发布地图数据 type PublishedSingleQueryDto struct { Name string `json:"name" form:"name"` Detail bool `json:"detail" form:"detail"` } type PublishHistoryDto struct { Id int32 `json:"id" form:"id"` Publisher string `json:"publisher" form:"publisher"` PublishAt JsonTime `json:"publishAt" time_format:"2006-01-02 15:04:05"` Version int32 `json:"version" form:"version"` Note string `json:"note" form:"note"` }