mboe

package
v0.13.71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthRealName added in v0.13.44

func AuthRealName(userId, name, phone, enterpriseName string) error

func BusinessCardDistribution

func BusinessCardDistribution() (int, error)

func Destroy

func Destroy()

func DownloadData

func DownloadData(tangentId, userId, id, name string) (string, error)

func DownloadNum

func DownloadNum() (int, error)

func EnterpriseExcel added in v0.12.32

func EnterpriseExcel(enterpriseId string) ([]byte, error)

func Excel added in v0.12.17

func Excel() ([]byte, error)

func Init

func Init(baseUrl string, timeoutSec time.Duration)

func PlayVideo

func PlayVideo(tangentId, userId, id string) (string, error)

func Pocket added in v0.12.20

func Pocket() error

func RealNameAuthed added in v0.13.44

func RealNameAuthed(userId string) (bool, error)

func SavePaperNum

func SavePaperNum() (int, error)

func VideoPlayNum

func VideoPlayNum() (int, error)

func VisitEnterpriseBusinessCard

func VisitEnterpriseBusinessCard(tangentId, userId, id string) (string, error)

Types

type AssociationInfo added in v0.12.17

type AssociationInfo struct {
	EnterpriseName string `json:"name"`
	Num            int    `json:"value"`
}

type AuthRealNameRequest added in v0.13.44

type AuthRealNameRequest struct {
	UserId         string `json:"userId"`
	Name           string `json:"name"`
	Phone          string `json:"phone"`
	EnterpriseName string `json:"enterpriseName"`
}

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"`
	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 GetEnterprisesQuery struct {
	ID       string `form:"id"`
	Name     string `form:"name"`
	PageNo   int    `form:"pageNo"`
	PageSize int    `form:"pageSize"`
}

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

type RankItem struct {
	ID   string `json:"id"`
	Name string `json:"name"`
	Num  int64  `json:"num"`
}

func DownloadRank

func DownloadRank() ([]RankItem, error)

func VisitRank

func VisitRank() ([]RankItem, error)

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

type VisitChangeDetail struct {
	Date  string `json:"date"`
	Count int    `json:"count"`
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL