types

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInfo

type AuthInfo struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Url      string `json:"url"`
}

type Config

type Config struct {
	Auth     AuthInfo  `json:"auth"`
	Receiver []RecInfo `json:"receiver"`
	Fanli    FanliInfo `json:"fanli"`
}

type FanliInfo

type FanliInfo struct {
	Interval   int64 `json:"interval"`
	Process    `json:"process"`
	Premonitor `json:"premonitor"`
}

type Item

type Item struct {
	Id                   int    `json:"id"`
	ActivityStatus       int    `json:"activity_status"`
	StartTime            int64  `json:"start_time"`
	StopTime             int64  `json:"stop_time"`
	ExtendDocument       string `json:"extend_document"`
	GoodsImageUrl        string `json:"goods_image_url"`
	GoodsName            string `json:"goods_name"`
	MinGroupPrice        string `json:"min_group_price"`
	CouponDiscount       string `json:"coupon_discount"`
	RefundAmount         string `json:"refund_amount"`
	ServiceCharge        string `json:"service_charge"`
	CouponRemainQuantity int    `json:"coupon_remain_quantity"`
	CouponTotalQuantity  int    `json:"coupon_total_quantity"`
	OrderMode            int    `json:"order_mode"`
	From                 int    `json:"from"`
	AdminName            string `json:"admin_name"`
}

type ItemResult

type ItemResult struct {
	Code  int    `json:"code"`
	Msg   string `json:"msg"`
	Count int    `json:"count"`
	Data  []Item `json:"data,omitempty"`
}

{"code":1,"msg":"暂无数据!","count":"","data":""}

type Premonitor

type Premonitor struct {
	Url   string `json:"url"`
	Start bool   `json:"start"`
}

type Process

type Process struct {
	Url   string `json:"url"`
	Start bool   `json:"start"`
}

type RecInfo added in v0.0.2

type RecInfo struct {
	Name      string `json:"name"`
	Link      string `json:"link"`
	SkipImage bool   `json:"skipimage"`
}

type TokenData

type TokenData struct {
	Token string `json:"token"`
}

type TokenResult

type TokenResult struct {
	Code int         `json:"code"`
	Msg  string      `json:"msg"`
	Data []TokenData `json:"data"`
}

Jump to

Keyboard shortcuts

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