request

package
v3.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Location

type Location struct {
	StartLocation string `json:"start_location"`
	EndLocation   string `json:"end_location"`
}

type PostDiscount

type PostDiscount struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Count       int    `json:"count"`
}

type PostPayment

type PostPayment struct {
	Name        string `json:"name"`
	Amount      int    `json:"amount"`
	Description string `json:"description"`
	Count       int    `json:"count"`
}

type RequestServiceOrder

type RequestServiceOrder struct {
	OutOrderNo          string         `json:"out_order_no"`
	Appid               string         `json:"appid"`
	ServiceId           string         `json:"service_id"`
	ServiceIntroduction string         `json:"service_introduction"`
	PostPayments        []PostPayment  `json:"post_payments"`
	PostDiscounts       []PostDiscount `json:"post_discounts"`
	TimeRange           TimeRage       `json:"time_range"`
	Location            Location       `json:"location"`
	RiskFund            RiskFund       `json:"risk_fund"`
	Attach              string         `json:"attach"`
	NotifyUrl           string         `json:"notify_url"`
	Openid              string         `json:"openid"`
	NeedUserConfirm     bool           `json:"need_user_confirm"`
}

type RiskFund

type RiskFund struct {
	Name        string `json:"name"`
	Amount      int    `json:"amount"`
	Description string `json:"description"`
}

type TimeRage

type TimeRage struct {
	StartTime       string `json:"start_time"`
	EndTime         string `json:"end_time"`
	StartTimeRemark string `json:"start_time_remark"`
	EndTimeRemark   string `json:"end_time_remark"`
}

Jump to

Keyboard shortcuts

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