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 EnterpriseExcel(enterpriseId string) ([]byte, error)
- func Excel() ([]byte, error)
- func Init(baseUrl string, timeoutSec time.Duration)
- func PlayVideo(tangentId, userId, id string) (string, error)
- func Pocket() 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 DynamicInfoStateResponse
- type EnterpriseAssociation
- type EnterpriseAssociationResponse
- type EnterpriseCount
- type EnterpriseDetail
- type EnterpriseFloatCount
- type EnterpriseFloatNumResponse
- type EnterpriseInfo
- type EnterpriseNumResponse
- type GetEnterprisesQuery
- type GetEnterprisesResponse
- type NumResponse
- type RankItem
- type RankResponse
- type RealNameAuthedResponse
- type TagEnterprise
- type TypeEnterpriseAssociation
- type UrlResponse
- type VisitChangeDetail
- type VisitChangeResponse
- type VisitEnterpriseBusinessCardResponse
- type VisitEnterpriseResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthRealName ¶ added in v0.13.44
func DownloadData ¶
func DownloadNum ¶
func EnterpriseExcel ¶ added in v0.12.32
func RealNameAuthed ¶ added in v0.13.44
func SavePaperNum ¶
func VideoPlayNum ¶
Types ¶
type AssociationInfo ¶ added in v0.12.17
type AuthRealNameRequest ¶ added in v0.13.44
type DynamicInfoStateInfo ¶ added in v0.13.46
type DynamicInfoStateInfo struct { Data bool `json:"data"` Video bool `json:"video"` BusinessCard bool `json:"businessCard"` }
func DynamicInfoState ¶ added in v0.13.45
func DynamicInfoState(id string) (*DynamicInfoStateInfo, error)
type DynamicInfoStateResponse ¶ added in v0.13.45
type DynamicInfoStateResponse struct { DynamicInfoStateInfo // contains filtered or unexported fields }
type EnterpriseAssociation ¶ added in v0.12.17
type EnterpriseAssociation struct { EnterpriseName string `json:"name"` Num int `json:"value"` Association []AssociationInfo `json:"children"` }
type EnterpriseAssociationResponse ¶ added in v0.12.17
type EnterpriseAssociationResponse struct { Infos []TypeEnterpriseAssociation `json:"infos"` // contains filtered or unexported fields }
type EnterpriseCount ¶ added in v0.12.17
type EnterpriseCount struct { EnterpriseName string `json:"enterpriseName"` Count int64 `json:"count"` }
func BusinessCard18 ¶ added in v0.12.17
func BusinessCard18() ([]EnterpriseCount, error)
func Download18 ¶ added in v0.12.17
func Download18() ([]EnterpriseCount, error)
func PlayVideo18 ¶ added in v0.12.17
func PlayVideo18() ([]EnterpriseCount, error)
func Qr18 ¶ added in v0.12.17
func Qr18() ([]EnterpriseCount, error)
func SavePaper18 ¶ added in v0.12.17
func SavePaper18() ([]EnterpriseCount, error)
func Visit18 ¶ added in v0.12.17
func Visit18() ([]EnterpriseCount, error)
type EnterpriseDetail ¶ added in v0.13.51
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 ¶ added in v0.12.17
type EnterpriseFloatCount struct { EnterpriseName string `json:"enterpriseName"` Count float64 `json:"count"` }
func ReduceLongEmissions18 ¶ added in v0.12.17
func ReduceLongEmissions18() ([]EnterpriseFloatCount, error)
type EnterpriseFloatNumResponse ¶ added in v0.12.17
type EnterpriseFloatNumResponse struct { Infos []EnterpriseFloatCount `json:"infos"` // contains filtered or unexported fields }
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 EnterpriseNumResponse ¶ added in v0.12.17
type EnterpriseNumResponse struct { Infos []EnterpriseCount `json:"infos"` // contains filtered or unexported fields }
type GetEnterprisesQuery ¶
type GetEnterprisesResponse ¶
type GetEnterprisesResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []TagEnterprise `json:"infos"` // contains filtered or unexported fields }
type NumResponse ¶
type NumResponse struct { Num int `json:"num"` // contains filtered or unexported fields }
type RankItem ¶
func DownloadRank ¶
type RankResponse ¶
type RankResponse struct { Infos []RankItem `json:"infos"` // contains filtered or unexported fields }
type RealNameAuthedResponse ¶ added in v0.13.44
type RealNameAuthedResponse struct { Authed bool `json:"authed"` // contains filtered or unexported fields }
type TagEnterprise ¶ added in v0.11.11
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 ¶ added in v0.12.18
type TypeEnterpriseAssociation struct { Type string `json:"name"` Association []EnterpriseAssociation `json:"children"` }
func Association18 ¶ added in v0.12.17
func Association18() ([]TypeEnterpriseAssociation, error)
type UrlResponse ¶
type UrlResponse struct { Url string `json:"url"` // contains filtered or unexported fields }
type VisitChangeDetail ¶ added in v0.12.17
func VisitChange ¶ added in v0.12.17
func VisitChange() ([]VisitChangeDetail, error)
type VisitChangeResponse ¶ added in v0.12.17
type VisitChangeResponse struct { Info []VisitChangeDetail `json:"info"` // contains filtered or unexported fields }
type VisitEnterpriseBusinessCardResponse ¶
type VisitEnterpriseBusinessCardResponse struct { BusinessCardId string `json:"businessCardId"` // contains filtered or unexported fields }
type VisitEnterpriseResponse ¶
type VisitEnterpriseResponse struct { Info *EnterpriseDetail `json:"info"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.