taobaoke

package module
v0.0.0-...-a04d784 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

README

taobaoke

阿里妈妈的淘宝联盟 控制

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChromeUserDataDIR = ""

Functions

func BrowserCheckLogin

func BrowserCheckLogin() (status bool, msg string)

func BrowserHandler

func BrowserHandler(a string, b ...interface{})

func BrowserLogin

func BrowserLogin() string

func CheckLogin

func CheckLogin(lgToken string) (status bool, msg string)

func CookiesTotb_token

func CookiesTotb_token()

func Download

func Download(startTime, endTime string) []byte

func GetTbkPaymentDetails

func GetTbkPaymentDetails(startTime, endTime string) []byte

func GetUnionPubContextInfo

func GetUnionPubContextInfo()

func IsLogin

func IsLogin() bool

func KeepLogin

func KeepLogin()

func LoadLogin

func LoadLogin() bool

func Login

func Login(QrcodeStr *string, lg *string) bool

func MediaRpt

func MediaRpt(startTime, endTime string) []byte

func SaveLogin

func SaveLogin()

func SelfAdzoneCreate

func SelfAdzoneCreate(siteid, adzoneid string)

Types

type Entry

type Entry struct {
	//use form github.com/546669204/golang-http-do/cookies.go type entry
	Name          string
	Value         string
	Domain        string
	Path          string
	Secure        bool
	HttpOnly      bool
	Persistent    bool
	HostOnly      bool
	Expires       time.Time
	Creation      time.Time
	LastAccess    time.Time
	Updated       time.Time
	CanonicalHost string
}
type Link struct {
	ShortLinkUrl       string
	TaoToken           string
	CouponShortLinkUrl string
	CouponLinkTaoToken string
}

func GetAuctionCode

func GetAuctionCode(itemId, siteid, adzoneid string) (l Link)

type Products

type Products struct {
	ID      string
	Title   string
	Bili    string
	Yongjin string
	Jiage   string
	Youhui  string
	Pic     string
}
func Search(keyword string) (product Products)

type SelfAdzone

type SelfAdzone struct {
	Siteid   string
	Adzoneid []string
}

func NewSelfAdzone2

func NewSelfAdzone2(itemId string) []SelfAdzone

type UserInfoModel

type UserInfoModel struct {
	Name      string
	Pic       string
	LastLogin string
}
var UserInfo UserInfoModel

Jump to

Keyboard shortcuts

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