tianyancha

package module
v0.0.0-...-05c9766 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct{}

func (*App) EquityHumanIndexNode

func (app *App) EquityHumanIndexNode(notMustParams ...Params) *EquityHumanIndexNodeResult

func (*App) NewParamsWith

func (app *App) NewParamsWith(params ...Params) Params

func (*App) SearchHumanSuggest

func (app *App) SearchHumanSuggest(key string) *SearchHumanSuggestResult

type EquityHumanIndexNodeResponse

type EquityHumanIndexNodeResponse struct {
	IsLogin    int    `json:"isLogin"`
	Message    string `json:"message"`
	Special    string `json:"special"`
	State      string `json:"state"`
	VipMessage string `json:"vipMessage"`
}

type EquityHumanIndexNodeResult

type EquityHumanIndexNodeResult struct {
	Result EquityHumanIndexNodeResponse // 结果
	Body   []byte                       // 内容
	Err    error                        // 错误
}

func NewEquityHumanIndexNodeResult

func NewEquityHumanIndexNodeResult(result EquityHumanIndexNodeResponse, body []byte, err error) *EquityHumanIndexNodeResult

type Params

type Params map[string]interface{}

Params 请求参数

func NewParams

func NewParams() Params

func (Params) Set

func (p Params) Set(key string, value interface{})

func (Params) SetParams

func (p Params) SetParams(params Params)

type SearchHumanSuggestResponse

type SearchHumanSuggestResponse struct {
	Data struct {
		Id          int         `json:"id"`
		HumanName   interface{} `json:"humanName"`
		DistinctNum int         `json:"distinctNum"`
		ViewNum     int         `json:"viewNum"`
		ResultCount int         `json:"resultCount"`
		ResultList  []struct {
			Name            string        `json:"name"`
			Hid             int64         `json:"hid"`
			HeadUrl         interface{}   `json:"headUrl"`
			Introduction    interface{}   `json:"introduction"`
			Event           interface{}   `json:"event"`
			BossCertificate int           `json:"bossCertificate"`
			CompanyNum      int           `json:"companyNum"`
			Office          []interface{} `json:"office"`
			Companys        interface{}   `json:"companys"`
			PartnerNum      int           `json:"partnerNum"`
			CoopCount       int           `json:"coopCount"`
			Partners        interface{}   `json:"partners"`
			Cid             int64         `json:"cid"`
			TypeJoin        interface{}   `json:"typeJoin"`
			Alias           interface{}   `json:"alias"`
			ServiceType     int           `json:"serviceType"`
			ServiceCount    int           `json:"serviceCount"`
			OfficeV1        []interface{} `json:"officeV1"`
			Pid             interface{}   `json:"pid"`
			Role            interface{}   `json:"role"`
		} `json:"resultList"`
		TotalPage   int         `json:"totalPage"`
		CurrentPage int         `json:"currentPage"`
		RealName    interface{} `json:"realName"`
		AdviceQuery interface{} `json:"adviceQuery"`
	} `json:"data"`
	VipMessage string `json:"vipMessage"`
	Special    string `json:"special"`
	State      string `json:"state"`
}

type SearchHumanSuggestResult

type SearchHumanSuggestResult struct {
	Result SearchHumanSuggestResponse // 结果
	Body   []byte                     // 内容
	Err    error                      // 错误
}

func NewSearchHumanSuggestResult

func NewSearchHumanSuggestResult(result SearchHumanSuggestResponse, body []byte, err error) *SearchHumanSuggestResult

Jump to

Keyboard shortcuts

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