Documentation ¶
Index ¶
- func AuthRealName(userId, name, phone, enterpriseName string) error
- func BusinessCardDistribution() (int, error)
- func Destroy()
- func DownloadData(tangentId, userId, id, name string) (string, error)
- func DownloadNum() (int, error)
- func Init(baseUrl string, timeoutSec time.Duration)
- func PlayVideo(tangentId, userId, id string) (string, error)
- func RealNameAuthed(userId string) (bool, error)
- func SavePaperNum() (int, error)
- func VideoPlayNum() (int, error)
- func VisitEnterpriseBusinessCard(tangentId, userId, id string) (string, error)
- type AssociationInfo
- type AuthRealNameRequest
- type DynamicInfoStateInfo
- type EnterpriseAssociation
- type EnterpriseCount
- type EnterpriseDetail
- type EnterpriseFloatCount
- type EnterpriseInfo
- type GetEnterprisesQuery
- type GetEnterprisesResult
- type RankItem
- type Resp
- type TagEnterprise
- type TypeEnterpriseAssociation
- type VisitChangeDetail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthRealName ¶
func DownloadData ¶
func DownloadNum ¶
func RealNameAuthed ¶
func SavePaperNum ¶
func VideoPlayNum ¶
Types ¶
type AssociationInfo ¶
type AuthRealNameRequest ¶
type DynamicInfoStateInfo ¶
type DynamicInfoStateInfo struct { Data bool `json:"data"` Video bool `json:"video"` BusinessCard bool `json:"businessCard"` }
func DynamicInfoState ¶
func DynamicInfoState(id string) (*DynamicInfoStateInfo, error)
type EnterpriseAssociation ¶
type EnterpriseAssociation struct { EnterpriseName string `json:"name"` Num int `json:"value"` Association []AssociationInfo `json:"children"` }
type EnterpriseCount ¶
type EnterpriseDetail ¶
type EnterpriseDetail struct { EnterpriseInfo Video bool `json:"hasVideo"` Data bool `json:"hasData"` BusinessCard bool `json:"hasBusinessCard"` }
func VisitEnterprise ¶
func VisitEnterprise(tangentId, userId, id, way string) (*EnterpriseDetail, error)
type EnterpriseFloatCount ¶
type EnterpriseInfo ¶
type EnterpriseInfo struct { ID string `json:"id"` Name string `json:"name"` DataName []string `json:"dataName"` Page int `json:"page"` Video string `json:"video"` Logo string `json:"logo"` Pics []string `json:"pics"` Cover string `json:"cover"` Tag string `json:"tag"` ShortName string `json:"shortName"` }
type GetEnterprisesQuery ¶
type GetEnterprisesResult ¶
type GetEnterprisesResult struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []TagEnterprise `json:"infos"` }
type RankItem ¶
func DownloadRank ¶
type TagEnterprise ¶
type TagEnterprise struct { Name string `json:"name"` Enterprises []EnterpriseInfo `json:"enterprises"` }
func GetEnterprises ¶
func GetEnterprises(id, name string, pageNo, pageSize int) ([]TagEnterprise, int64, error)
type TypeEnterpriseAssociation ¶
type TypeEnterpriseAssociation struct { Type string `json:"name"` Association []EnterpriseAssociation `json:"children"` }
type VisitChangeDetail ¶
Click to show internal directories.
Click to hide internal directories.