Documentation ¶
Index ¶
- func CreateDict(dict Dict) error
- func DeleteDict(dictType, val string) error
- func Destroy()
- func Init(baseUrl string, timeoutSec time.Duration)
- type AreaInfo
- type AreaNode
- type Dict
- type DictResult
- type GetAllAreaResponse
- type GetAreasResponse
- type GetDictResponse
- type GetDictV2Response
- type GetIndustryCategoriesQuery
- type GetIndustryCategoriesResponse
- type GetLayerIndustryCategoriesQuery
- type GetLayerIndustryCategoriesResponse
- type IndustryCategoryInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDict ¶ added in v0.15.0
func DeleteDict ¶ added in v0.15.0
Types ¶
type AreaInfo ¶ added in v0.8.11
func GetALlProvince ¶ added in v0.8.11
func GetAreaChildren ¶ added in v0.8.11
type AreaNode ¶ added in v0.12.23
func GetAllArea ¶ added in v0.12.23
type Dict ¶ added in v0.9.17
type DictResult ¶ added in v0.15.0
type GetAllAreaResponse ¶ added in v0.12.23
type GetAllAreaResponse struct { AreaNodes []AreaNode `json:"areaNodes"` // contains filtered or unexported fields }
type GetAreasResponse ¶ added in v0.8.11
type GetAreasResponse struct { Areas []AreaInfo `json:"areas"` // contains filtered or unexported fields }
type GetDictResponse ¶ added in v0.9.17
type GetDictResponse struct { Dict []Dict `json:"dict"` // contains filtered or unexported fields }
type GetDictV2Response ¶ added in v0.15.0
type GetDictV2Response struct { DictResult // 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.