Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AreaInfo ¶ added in v0.8.11
func GetALlProvince ¶ added in v0.8.11
func GetAreaChildren ¶ added in v0.8.11
type GetAreasResponse ¶ added in v0.8.11
type GetAreasResponse struct { Areas []AreaInfo `json:"areas"` // contains filtered or unexported fields }
type GetIndustryCategoriesResponse ¶
type GetIndustryCategoriesResponse struct { PageNo int `json:"pageNo" binding:"required"` TotalCount int64 `json:"totalCount" binding:"required"` Infos []IndustryCategoryInfo `json:"infos" binding:"required"` // contains filtered or unexported fields }
type GetLayerIndustryCategoriesQuery ¶
type GetLayerIndustryCategoriesQuery struct {
ParentID *uint64 `form:"parentId" binding:"required"`
}
type GetLayerIndustryCategoriesResponse ¶
type GetLayerIndustryCategoriesResponse struct { Infos []IndustryCategoryInfo `json:"infos" binding:"required"` // contains filtered or unexported fields }
type IndustryCategoryInfo ¶
type IndustryCategoryInfo struct { ID uint64 `json:"id" binding:"required"` IndustryID string `json:"industryId" binding:"required"` Name string `json:"name" binding:"required"` ParentID uint64 `json:"parentId"` }
func GetIndustryCategories ¶
func GetIndustryCategories(params *GetIndustryCategoriesQuery) ([]IndustryCategoryInfo, int64, error)
func GetLayerIndustryCategories ¶
func GetLayerIndustryCategories(params *GetLayerIndustryCategoriesQuery) ([]IndustryCategoryInfo, error)
Click to show internal directories.
Click to hide internal directories.