service

package
v0.0.0-...-476510a Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActivityDetail

func GetActivityDetail(activityID string) map[string]interface{}

func GetBodyParam

func GetBodyParam(d, s string) *models.BodyParam

func GetCoreOrderResult

func GetCoreOrderResult(orderJobKey, stFlpv string) map[string]interface{}

func GetSpectatorList

func GetSpectatorList() map[string]interface{}

func GetTicketList

func GetTicketList(activityId string) map[string]interface{}

func Login

func Login() map[string]interface{}

func Order

func Order(oc *OrderConfig, pa *PersonAddress) map[string]interface{}

func RequestWithBodyParam

func RequestWithBodyParam(action, url string, method string, query interface{}) map[string]interface{}
func Search(keyword string, pageNo int) map[string]interface{}

Types

type OrderConfig

type OrderConfig struct {
	GoodsType         int
	SkuType           int
	Num               string
	GoodsId           int    //activityID
	SkuId             string //ticketID
	Price             string //价格
	CommonPerformerID int    //观演人ID
	TelePhone         string //联系电话
	SessionId         int
	StFlpv            string
}

type PersonAddress

type PersonAddress struct {
	Telephone    string //电话
	CustomerName string //姓名
	ProvinceName string //省份
	CityName     string //城市
	Address      string //详细地址

}

Jump to

Keyboard shortcuts

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