Documentation
¶
Index ¶
- func Config(opts ...ConfOption)
- func GetCity(c interface{}, parentCode string) (data []types.XMap, err error)
- func GetDBName() string
- func GetDictionary(c interface{}, dicType, groupCode string) (data []types.XMap, err error)
- func GetEnums(c interface{}, params types.XMap) (data []types.XMap, err error)
- func GetProvince(c interface{}, parentCode string) (data []types.XMap, err error)
- func GetRegion(c interface{}) (data []types.XMap, err error)
- func GetRegionByName(c interface{}, name, grade string) (data types.XMap, err error)
- type ConfOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDictionary ¶
GetDictionary 获取字典信息 dicType:字典类型
func GetProvince ¶
GetProvince 获取第一级省市 parentCode:父级code 可为空
Types ¶
Click to show internal directories.
Click to hide internal directories.