Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) ConfigSLogClientFun(apiSLogFun golog.ApiSLogFun)
- func (c *Client) DefaultHttp()
- func (c *Client) GetVendor() string
- func (c *Client) PartnerCommonGetSurplusMoney(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerCommonGetSurplusMoneyResult, error)
- func (c *Client) PartnerData4GetAddressLists(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetAddressListsResult, error)
- func (c *Client) PartnerData4GetCinema(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetCinemaResult, error)
- func (c *Client) PartnerData4GetCityLists(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetCityListsResult, error)
- func (c *Client) PartnerData4GetFilmList(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetFilmListResult, error)
- func (c *Client) PartnerData4GetOrderData(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetOrderDataResult, error)
- func (c *Client) PartnerData4GetOrderDetail(ctx context.Context, orderNo string, notMustParams ...gorequest.Params) (*PartnerData4GetOrderDetailResult, error)
- func (c *Client) PartnerData4GetOrderStatus(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetOrderStatusResult, error)
- func (c *Client) PartnerData4GetPlan(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetPlanResult, error)
- func (c *Client) PartnerData4GetPlanDetail(ctx context.Context, cinemaId int, featureAppNo string, ...) (*PartnerData4GetPlanDetailResult, error)
- func (c *Client) PartnerData4GetPlanSeat(ctx context.Context, cinemaId int, featureAppNo string, ...) (*PartnerData4GetPlanSeatResult, error)
- func (c *Client) PartnerData4LockSeat(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4LockSeatResult, error)
- func (c *Client) PartnerData4SellTicket(ctx context.Context, orderId, orderNo, notifyUrl string, ...) (*PartnerData4SellTicketResult, error)
- func (c *Client) PartnerData4UnLockOrder(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4UnLockOrderResult, error)
- func (c *Client) Post(ctx context.Context, _method string, notMustParams ...gorequest.Params) ([]byte, error)
- func (c *Client) ServeHttpPartnerData4GetOrderData(ctx context.Context, gCtx *gin.Context) (validateJson RequestServeHttpPartnerData4GetOrderData, err error)
- func (c *Client) ServeHttpPartnerData4SellTicket(ctx context.Context, gCtx *gin.Context) (validateJson RequestServeHttpPartnerData4SellTicket, err error)
- func (c *Client) SetHttp(app *gorequest.App)
- func (c *Client) Sign(p gorequest.Params) gorequest.Params
- type ClientConfig
- type PartnerCommonGetSurplusMoneyResponse
- type PartnerCommonGetSurplusMoneyResult
- type PartnerData4GetAddressListsResponse
- type PartnerData4GetAddressListsResult
- type PartnerData4GetCinemaResponse
- type PartnerData4GetCinemaResult
- type PartnerData4GetCityListsResponse
- type PartnerData4GetCityListsResult
- type PartnerData4GetFilmListResponse
- type PartnerData4GetFilmListResult
- type PartnerData4GetOrderDataResponse
- type PartnerData4GetOrderDataResult
- type PartnerData4GetOrderDetailResponse
- type PartnerData4GetOrderDetailResult
- type PartnerData4GetOrderStatusResponse
- type PartnerData4GetOrderStatusResult
- type PartnerData4GetPlanDetailResponse
- type PartnerData4GetPlanDetailResult
- type PartnerData4GetPlanResponse
- type PartnerData4GetPlanResult
- type PartnerData4GetPlanSeatResponse
- type PartnerData4GetPlanSeatResult
- type PartnerData4LockSeatResponse
- type PartnerData4LockSeatResult
- type PartnerData4SellTicketResponse
- type PartnerData4SellTicketResult
- type PartnerData4UnLockOrderResponse
- type PartnerData4UnLockOrderResult
- type RequestServeHttpPartnerData4GetOrderData
- type RequestServeHttpPartnerData4SellTicket
Constants ¶
const (
LogTable = "nldyp"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func NewClient ¶ added in v1.0.177
func NewClient(config *ClientConfig) (*Client, error)
NewClient 创建实例化
func (*Client) ConfigSLogClientFun ¶ added in v1.0.162
func (c *Client) ConfigSLogClientFun(apiSLogFun golog.ApiSLogFun)
ConfigSLogClientFun 日志配置
func (*Client) PartnerCommonGetSurplusMoney ¶ added in v1.0.56
func (c *Client) PartnerCommonGetSurplusMoney(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerCommonGetSurplusMoneyResult, error)
PartnerCommonGetSurplusMoney 释放锁座 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=802c4269-60c5-4d61-bda2-ec82cae60930
func (*Client) PartnerData4GetAddressLists ¶ added in v1.0.56
func (c *Client) PartnerData4GetAddressLists(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetAddressListsResult, error)
PartnerData4GetAddressLists 获取地区 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=85053df1-09b5-4042-aeed-c7e10f3cdddc
func (*Client) PartnerData4GetCinema ¶ added in v1.0.56
func (c *Client) PartnerData4GetCinema(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetCinemaResult, error)
PartnerData4GetCinema 获取影院 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=a1db1066-f346-4f9a-bffe-b892b3c73a1d
func (*Client) PartnerData4GetCityLists ¶ added in v1.0.56
func (c *Client) PartnerData4GetCityLists(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetCityListsResult, error)
PartnerData4GetCityLists 获取城市 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=d8842641-00bd-4bb4-a031-fb6d89908742
func (*Client) PartnerData4GetFilmList ¶ added in v1.0.56
func (c *Client) PartnerData4GetFilmList(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetFilmListResult, error)
PartnerData4GetFilmList 获取影片 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=b13d7051-6a31-49d4-ba49-42e423da41d3
func (*Client) PartnerData4GetOrderData ¶ added in v1.0.56
func (c *Client) PartnerData4GetOrderData(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetOrderDataResult, error)
PartnerData4GetOrderData 15分钟出票模式 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=98dfc19f-6f76-4018-8de4-86cdeea4fcab
func (*Client) PartnerData4GetOrderDetail ¶ added in v1.0.56
func (c *Client) PartnerData4GetOrderDetail(ctx context.Context, orderNo string, notMustParams ...gorequest.Params) (*PartnerData4GetOrderDetailResult, error)
PartnerData4GetOrderDetail 获取订单详情 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=0888fc18-6ac7-4d37-a1c5-f26e136b381a
func (*Client) PartnerData4GetOrderStatus ¶ added in v1.0.56
func (c *Client) PartnerData4GetOrderStatus(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetOrderStatusResult, error)
PartnerData4GetOrderStatus 查询秒出票订单状态 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=fce3fbc1-28e1-4757-8665-ffa316a60bfb
func (*Client) PartnerData4GetPlan ¶ added in v1.0.56
func (c *Client) PartnerData4GetPlan(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4GetPlanResult, error)
PartnerData4GetPlan 获取影院排期 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=1e0161fe-12ca-4a64-afb9-5c97431f1f70
func (*Client) PartnerData4GetPlanDetail ¶ added in v1.0.56
func (c *Client) PartnerData4GetPlanDetail(ctx context.Context, cinemaId int, featureAppNo string, notMustParams ...gorequest.Params) (*PartnerData4GetPlanDetailResult, error)
PartnerData4GetPlanDetail 获取影城单个排期详情 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=05639c5c-080f-43f4-b94d-e4b8bb14130e
func (*Client) PartnerData4GetPlanSeat ¶ added in v1.0.56
func (c *Client) PartnerData4GetPlanSeat(ctx context.Context, cinemaId int, featureAppNo string, notMustParams ...gorequest.Params) (*PartnerData4GetPlanSeatResult, error)
PartnerData4GetPlanSeat 获取实时座位图 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=b245efe6-f728-450a-92f4-a93669c1d555
func (*Client) PartnerData4LockSeat ¶ added in v1.0.56
func (c *Client) PartnerData4LockSeat(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4LockSeatResult, error)
PartnerData4LockSeat 锁座(支持多座区下单) https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=ac7d2885-c575-4efa-8438-03175f8978a9
func (*Client) PartnerData4SellTicket ¶ added in v1.0.56
func (c *Client) PartnerData4SellTicket(ctx context.Context, orderId, orderNo, notifyUrl string, notMustParams ...gorequest.Params) (*PartnerData4SellTicketResult, error)
PartnerData4SellTicket 售票 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=edd25537-3425-49e0-b6b5-373ebe4e919c
func (*Client) PartnerData4UnLockOrder ¶ added in v1.0.56
func (c *Client) PartnerData4UnLockOrder(ctx context.Context, notMustParams ...gorequest.Params) (*PartnerData4UnLockOrderResult, error)
PartnerData4UnLockOrder 释放锁座 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=43074323-fd3d-4c14-9a17-a447101b410f
func (*Client) ServeHttpPartnerData4GetOrderData ¶ added in v1.0.56
func (c *Client) ServeHttpPartnerData4GetOrderData(ctx context.Context, gCtx *gin.Context) (validateJson RequestServeHttpPartnerData4GetOrderData, err error)
ServeHttpPartnerData4GetOrderData 回调 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=2e99efc0-6c77-457f-80d5-adaf19fdf313
func (*Client) ServeHttpPartnerData4SellTicket ¶ added in v1.0.56
func (c *Client) ServeHttpPartnerData4SellTicket(ctx context.Context, gCtx *gin.Context) (validateJson RequestServeHttpPartnerData4SellTicket, err error)
ServeHttpPartnerData4SellTicket 退票通知 https://docs.apipost.cn/preview/fa101f4865dc783f/66e7c2e894fda4a6?target_id=6f36e1f2-bdbc-476e-b9ca-a8806c0087ab
type PartnerCommonGetSurplusMoneyResponse ¶ added in v1.0.56
type PartnerCommonGetSurplusMoneyResponse struct { Status int `json:"status"` Data []struct { SurplusMoney float64 `json:"surplusMoney"` // 余额 WithholdingMoney float64 `json:"withholdingMoney"` // 预扣金额 AvailableMoney float64 `json:"AvailableMoney"` // 可用余额 } `json:"data"` Content string `json:"content"` }
type PartnerCommonGetSurplusMoneyResult ¶ added in v1.0.56
type PartnerCommonGetSurplusMoneyResult struct { Result PartnerCommonGetSurplusMoneyResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetAddressListsResponse ¶ added in v1.0.56
type PartnerData4GetAddressListsResult ¶ added in v1.0.56
type PartnerData4GetAddressListsResult struct { Result PartnerData4GetAddressListsResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetCinemaResponse ¶ added in v1.0.56
type PartnerData4GetCinemaResponse struct { Code int `json:"code"` Msg string `json:"msg"` Data []struct { Id string `json:"id"` // 影城 id (注:用于请求其他数据) CinemaId int `json:"cinemaId"` // 版本4 影城ID (注:用于锁座,判断是否有秒出票,为空则不能秒出票) CinemaCode int `json:"cinemaCode"` // 影城编码 CinemaName string `json:"cinemaName"` // 影城名称 ProvinceId string `json:"provinceId"` // 省份ID CityId string `json:"cityId"` // 城市ID CountyId int `json:"countyId"` // 区县ID Address string `json:"address"` // 影城地址 Longitude string `json:"longitude"` // 经度(高德) Latitude string `json:"latitude"` // 维度(高德) Province string `json:"province"` // 省份 City string `json:"city"` // 城市 County string `json:"county"` // 区县 StopSaleTime string `json:"stopSaleTime"` // 停售时间 Direct interface{} `json:"direct"` BackTicketConfig interface{} `json:"backTicketConfig"` } `json:"data"` }
type PartnerData4GetCinemaResult ¶ added in v1.0.56
type PartnerData4GetCinemaResult struct { Result PartnerData4GetCinemaResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetCityListsResponse ¶ added in v1.0.56
type PartnerData4GetCityListsResult ¶ added in v1.0.56
type PartnerData4GetCityListsResult struct { Result PartnerData4GetCityListsResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetFilmListResponse ¶ added in v1.0.56
type PartnerData4GetFilmListResponse struct { Code int `json:"code"` Msg string `json:"msg"` Data []struct { Id string `json:"id"` // 影片 id FilmCode string `json:"filmCode"` // 影片编码(标准影片 编码去除第 4 位) FilmName string `json:"filmName"` // 影片名称 Version string `json:"version"` // 影片制式 Duration int `json:"duration"` // 影片时长单位分钟 PublishDate int `json:"publishDate"` // 上映时间 unix 时间 戳 Director string `json:"director"` // 导演 CastType int `json:"castType"` // 0、主演 1、配音演 员 Cast string `json:"cast"` // 主演/配音演员 Introduction string `json:"introduction"` // 影片描述 Wantview int `json:"wantview"` // 想看人数 Score int `json:"score"` // 电影评分 Cover string `json:"cover"` // 封面图 Area string `json:"area"` // 影片归属地区 Type string `json:"type"` // 影片类型 PlanNum interface{} `json:"planNum"` PreSaleFlag int `json:"preSaleFlag"` // 是 否 预 售 0 、 否 1、预售 } `json:"data"` }
type PartnerData4GetFilmListResult ¶ added in v1.0.56
type PartnerData4GetFilmListResult struct { Result PartnerData4GetFilmListResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetOrderDataResponse ¶ added in v1.0.56
type PartnerData4GetOrderDataResult ¶ added in v1.0.56
type PartnerData4GetOrderDataResult struct { Result PartnerData4GetOrderDataResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetOrderDetailResponse ¶ added in v1.0.56
type PartnerData4GetOrderDetailResponse struct { OrderNo string `json:"orderNo"` // 订单号 Status int `json:"status"` // 订单状态: 1 出票中 2 已出票 3 出票失败 4 关闭订单 5 系统已出票 6 系统关闭订单 Mobile string `json:"mobile"` // 手机号码 BuyTime int `json:"buyTime"` // 下单时间(时间戳) FilmName string `json:"filmName"` // 电影名称 CinemaName string `json:"cinemaName"` // 影院名称 CinemaAddress string `json:"cinemaAddress"` // 影院地址 CopyLanguage string `json:"copyLanguage"` // 影片语言 MovieType string `json:"movieType"` // 影片类型 StartTime int `json:"startTime"` // 开场时间(时间戳) TicketNum int `json:"ticketNum"` // 购票数量 HallName string `json:"hallName"` // 影厅名称 CopyType string `json:"copyType"` // 影厅类型 CityName string `json:"cityName"` // 城市 MarketPrice float64 `json:"marketPrice"` // 市场价 CostPrice float64 `json:"costPrice"` // 成本价 BuyType int `json:"buyType"` // 下单类型:0 特惠 1 秒出 }
type PartnerData4GetOrderDetailResult ¶ added in v1.0.56
type PartnerData4GetOrderDetailResult struct { Result PartnerData4GetOrderDetailResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetOrderStatusResponse ¶ added in v1.0.56
type PartnerData4GetOrderStatusResponse struct { Status int `json:"status"` Data struct { OrderNo string `json:"orderNo"` // 系统商锁座订单号 PrintNo interface{} `json:"printNo"` OrderStatus int `json:"orderStatus"` // PlanOrderNo interface{} `json:"planOrderNo"` TicketInfo []struct { Name string `json:"name"` Value string `json:"value"` } `json:"ticketInfo"` Tickets struct { Field1 struct { SeatNo string `json:"seatNo"` TicketCode interface{} `json:"ticketCode"` InfoCode interface{} `json:"infoCode"` PrintFlag interface{} `json:"printFlag"` } `json:"0000000000000001-1-05"` Field2 struct { SeatNo string `json:"seatNo"` TicketCode interface{} `json:"ticketCode"` InfoCode interface{} `json:"infoCode"` PrintFlag interface{} `json:"printFlag"` } `json:"0000000000000001-1-06"` } `json:"tickets"` } `json:"data"` Content string `json:"content"` }
type PartnerData4GetOrderStatusResult ¶ added in v1.0.56
type PartnerData4GetOrderStatusResult struct { Result PartnerData4GetOrderStatusResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetPlanDetailResponse ¶ added in v1.0.56
type PartnerData4GetPlanDetailResponse struct { Code int `json:"code"` Data []struct { FeatureAppNo string `json:"featureAppNo"` // 排期编码 CinemaCode int `json:"cinemaCode"` // 影城编码 SourceFilmNo string `json:"sourceFilmNo"` FilmNo string `json:"filmNo"` // 影片编码 FilmName string `json:"filmName"` // 影片名称 HallNo string `json:"hallNo"` // 影厅编码 HallName string `json:"hallName"` // 影厅名称 StartTime int `json:"startTime"` // 放映时间 CopyType string `json:"copyType"` // 影片制式 CopyLanguage string `json:"copyLanguage"` // 语言 TotalTime string `json:"totalTime"` // 时长 ListingPrice string `json:"listingPrice"` // 挂牌价 TicketPrice string `json:"ticketPrice"` // 票价 ServiceAddFee string `json:"serviceAddFee"` // 服务费下限 LowestPrice string `json:"lowestPrice"` // 最低保护价 Thresholds string `json:"thresholds"` // 服务费上限 Areas string `json:"areas"` // 座区属性 MarketPrice string `json:"marketPrice"` // 市场参考价(无座位区间时,下特价票使用该价格,有座位区间则使用座位区间价) } `json:"data"` Content string `json:"content"` }
type PartnerData4GetPlanDetailResult ¶ added in v1.0.56
type PartnerData4GetPlanDetailResult struct { Result PartnerData4GetPlanDetailResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetPlanResponse ¶ added in v1.0.56
type PartnerData4GetPlanResponse struct { Code int `json:"code"` Data []struct { FeatureAppNo string `json:"featureAppNo"` // 排期编码 CinemaCode int `json:"cinemaCode"` // 影城编码 SourceFilmNo string `json:"sourceFilmNo"` FilmNo string `json:"filmNo"` // 影片编码 FilmName string `json:"filmName"` // 影片名称 HallNo string `json:"hallNo"` // 影厅编码 HallName string `json:"hallName"` // 影厅名称 StartTime int `json:"startTime"` // 放映时间 CopyType string `json:"copyType"` // 影片制式 CopyLanguage string `json:"copyLanguage"` // 语言 TotalTime string `json:"totalTime"` // 时长 ListingPrice string `json:"listingPrice"` // 挂牌价 TicketPrice string `json:"ticketPrice"` // 票价 ServiceAddFee string `json:"serviceAddFee"` // 服务费下限 LowestPrice string `json:"lowestPrice"` // 最低保护价 Thresholds string `json:"thresholds"` // 服务费上限 Areas string `json:"areas"` // 座区属性 MarketPrice string `json:"marketPrice"` // 市场参考价(无座位区间时,下特价票使用该价格,有座位区间则使用座位区间价) } `json:"data"` Content string `json:"content"` }
type PartnerData4GetPlanResult ¶ added in v1.0.56
type PartnerData4GetPlanResult struct { Result PartnerData4GetPlanResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4GetPlanSeatResponse ¶ added in v1.0.56
type PartnerData4GetPlanSeatResponse struct { Code int `json:"code"` Msg string `json:"msg"` Data []struct { SeatState int `json:"seatState"` // 状 态 (-1 不 可 售 0-可售) SectionCode string `json:"sectionCode"` SeatNo string `json:"seatNo"` // 座位编号 GraphRow int `json:"graphRow"` // 逻辑坐标行(绘图) GraphCol int `json:"graphCol"` // 逻辑坐标列(绘图) SeatRow string `json:"seatRow"` // 物理座位行号 SeatCol string `json:"seatCol"` // 物理座位列号 SeatPieceNo string `json:"seatPieceNo"` // 连座编号,带相同编 号的必须同时锁座 SeatPieceName string `json:"seatPieceName"` // 座位名称 AreaId string `json:"areaId"` // 座区 Id,该字段为 空表示未设置座区 SeatType string `json:"seatType"` // 座 位 类 型 N: 普 通 座,L:情侣座首座,M: 三连中间座,R:情侣 座次座 SeatFlag int `json:"seatFlag"` } `json:"data"` }
type PartnerData4GetPlanSeatResult ¶ added in v1.0.56
type PartnerData4GetPlanSeatResult struct { Result PartnerData4GetPlanSeatResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4LockSeatResponse ¶ added in v1.0.56
type PartnerData4LockSeatResponse struct { Status int `json:"status"` Data []struct { OrderId string `json:"orderId"` // 订单 id OrderNo string `json:"orderNo"` // 系统商锁座订单号 SerialNum string `json:"serialNum"` // 锁座流水号 Direct int `json:"direct"` // 是否直签 BackTicketConfig []string `json:"backTicketConfig"` } `json:"data"` Content string `json:"content"` }
type PartnerData4LockSeatResult ¶ added in v1.0.56
type PartnerData4LockSeatResult struct { Result PartnerData4LockSeatResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4SellTicketResponse ¶ added in v1.0.56
type PartnerData4SellTicketResult ¶ added in v1.0.56
type PartnerData4SellTicketResult struct { Result PartnerData4SellTicketResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type PartnerData4UnLockOrderResponse ¶ added in v1.0.56
type PartnerData4UnLockOrderResult ¶ added in v1.0.56
type PartnerData4UnLockOrderResult struct { Result PartnerData4UnLockOrderResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type RequestServeHttpPartnerData4GetOrderData ¶ added in v1.0.56
type RequestServeHttpPartnerData4GetOrderData struct { Vendor string `json:"vendor"` Ts int `json:"ts"` Sign string `json:"sign"` Code int `json:"code"` Message string `json:"message"` Data struct { Status int `json:"status"` OrderNumber string `json:"orderNumber"` Cpje float64 `json:"cpje"` TicketList []struct { TicketCode string `json:"ticketCode"` Url string `json:"url"` YuanUrl string `json:"yuan_url"` } `json:"ticketList"` Beizhu string `json:"beizhu"` IsChangeSeat string `json:"is_changeSeat"` ChangeSeatName string `json:"changeSeatName"` } `json:"data"` }
RequestServeHttpPartnerData4GetOrderData 返回参数
type RequestServeHttpPartnerData4SellTicket ¶ added in v1.0.56
type RequestServeHttpPartnerData4SellTicket struct { OrderId string `json:"orderId"` Account string `json:"account"` CinemaId string `json:"cinemaId"` RequestTime string `json:"requestTime"` Reason string `json:"reason"` VerifyInfo string `json:"verifyInfo"` }
RequestServeHttpPartnerData4SellTicket 返回参数
Source Files ¶
- api.go
- client.go
- config.go
- const.go
- get.go
- partner.common.GetSurplusMoney.go
- partner.data4.GetOrderData.go
- partner.data4.getAddressLists.go
- partner.data4.getCinema.go
- partner.data4.getCityLists.go
- partner.data4.getFilmList.go
- partner.data4.getOrderDetail.go
- partner.data4.getOrderStatus.go
- partner.data4.getPlan.go
- partner.data4.getPlanDetail.go
- partner.data4.getPlanSeat.go
- partner.data4.lockSeat.go
- partner.data4.sellTicket.go
- partner.data4.unLockOrder.go
- request.go
- service_http.partner.data4.GetOrderData.go
- service_http.partner.data4.sellTicket.go
- sign.go