Versions in this module Expand all Collapse all v1 v1.0.216 Jul 5, 2024 Changes in this version + const LogTable type ApiOrderCreateResult + Http gorequest.Response + type ApiOrderCreateSoonOrderResponse struct + Code int + Data struct{ ... } + Message string + Success bool type ApiOrderCreateSoonOrderResult + Body []byte + Http gorequest.Response + Result ApiOrderCreateSoonOrderResponse type ApiOrderQueryResult + Http gorequest.Response + type ApiUserInfoResponse struct + Code int + Data struct{ ... } + Message string + Success bool type ApiUserInfoResult + Body []byte + Http gorequest.Response + Result ApiUserInfoResponse + type Client struct + func NewClient(config *ClientConfig) (*Client, error) + func (c *Client) ApiOrderCreate(ctx context.Context, notMustParams ...gorequest.Params) (*ApiOrderCreateResult, error) + func (c *Client) ApiOrderCreateSoonOrder(ctx context.Context, notMustParams ...gorequest.Params) (*ApiOrderCreateSoonOrderResult, error) + func (c *Client) ApiOrderQuery(ctx context.Context, thirdOrderId string, notMustParams ...gorequest.Params) (*ApiOrderQueryResult, error) + func (c *Client) ApiUserInfo(ctx context.Context, notMustParams ...gorequest.Params) (*ApiUserInfoResult, error) + func (c *Client) ConfigSLogClientFun(apiSLogFun golog.ApiSLogFun) + func (c *Client) DefaultHttp() + func (c *Client) GetAppKey() string + func (c *Client) GetAppSecret() string + func (c *Client) GetCinemaList(ctx context.Context, cityId int, notMustParams ...gorequest.Params) (*GetCinemaListResult, error) + func (c *Client) GetCityArea(ctx context.Context, cityId int, notMustParams ...gorequest.Params) (*GetCityAreaResult, error) + func (c *Client) GetCityList(ctx context.Context, notMustParams ...gorequest.Params) (*GetCityListResult, error) + func (c *Client) GetHotList(ctx context.Context, cityId int, notMustParams ...gorequest.Params) (*GetHotListResult, error) + func (c *Client) GetScheduleList(ctx context.Context, cinemaId int, notMustParams ...gorequest.Params) (*GetScheduleListResult, error) + func (c *Client) GetSeat(ctx context.Context, showId string, notMustParams ...gorequest.Params) (*GetSeatResult, error) + func (c *Client) GetShowDate(ctx context.Context, cityId, filmId int, notMustParams ...gorequest.Params) (*GetShowDateResult, error) + func (c *Client) GetShowList(ctx context.Context, notMustParams ...gorequest.Params) (*GetShowListResult, error) + func (c *Client) GetSoonList(ctx context.Context, cityId int, notMustParams ...gorequest.Params) (*GetSoonListResult, error) + func (c *Client) GetVersion(ctx context.Context, notMustParams ...gorequest.Params) (*GetVersionResult, error) + func (c *Client) GradeToFloat64(i interface{}) float64 + func (c *Client) Post(ctx context.Context, _method string, notMustParams ...gorequest.Params) ([]byte, error) + func (c *Client) SetHttp(app *gorequest.App) + type ClientConfig struct + AppKey string + AppSecret string + type GetCinemaListResponse struct + Code int + Data struct{ ... } + Message string + Success bool type GetCinemaListResult + Body []byte + Http gorequest.Response + Result GetCinemaListResponse type GetCityAreaResult + Http gorequest.Response type GetCityListResult + Http gorequest.Response + type GetHotListResponse struct + Code int + Data struct{ ... } + Message string + Success bool type GetHotListResult + Body []byte + Http gorequest.Response + Result GetHotListResponse + type GetScheduleListResponse struct + Code int + Data struct{ ... } + Message string + Success bool type GetScheduleListResult + Body []byte + Http gorequest.Response + Result GetScheduleListResponse + type GetSeatResponse struct + Code int + Data struct{ ... } + Message string + Success bool type GetSeatResult + Body []byte + Http gorequest.Response + Result GetSeatResponse + type GetShowDateResponse struct + Code int + Data struct{ ... } + Message string + Success bool type GetShowDateResult + Body []byte + Http gorequest.Response + Result GetShowDateResponse + type GetShowListResponse struct + Code int + Data struct{ ... } + Message string + Success bool type GetShowListResult + Body []byte + Http gorequest.Response + Result GetShowListResponse + type GetSoonListResponse struct + Code int + Data struct{ ... } + Message string + Success bool type GetSoonListResult + Body []byte + Http gorequest.Response + Result GetSoonListResponse + type GetVersionResponse struct + Code int + Data string + Message string + Success bool type GetVersionResult + Body []byte + Http gorequest.Response + Result GetVersionResponse v1.0.46 May 27, 2022 Changes in this version + type ApiOrderCreateResponse struct + Code int + Message string + Success bool + type ApiOrderCreateResult struct + Body []byte + Err error + Result ApiOrderCreateResponse + func NewApiOrderCreateResult(result ApiOrderCreateResponse, body []byte, err error) *ApiOrderCreateResult + type ApiOrderCreateSoonOrder struct + AcceptChangeSeat int + NetPrice int + NotifyUrl string + ReservedPhone string + Seat string + SeatId string + SeatNo string + ShowId string + TestType int + ThirdOrderId string + type ApiOrderCreateSoonOrderResult struct + Code int + Data struct{ ... } + Message string + Success bool + type ApiOrderQueryResponse struct + Code int + Data struct{ ... } + Message string + Success bool + type ApiOrderQueryResult struct + Body []byte + Err error + Result ApiOrderQueryResponse + func NewApiOrderQueryResult(result ApiOrderQueryResponse, body []byte, err error) *ApiOrderQueryResult + type ApiUserInfoResult struct + Code int + Data struct{ ... } + Message string + Success bool + type App struct + AppKey string + AppSecret string + Mongo gomongo.App + func (app *App) ApiOrderCreate(notMustParams ...Params) *ApiOrderCreateResult + func (app *App) ApiOrderCreateSoonOrder(param ApiOrderCreateSoonOrder) (result ApiOrderCreateSoonOrderResult, err error) + func (app *App) ApiOrderQuery(thirdOrderId string) *ApiOrderQueryResult + func (app *App) ApiUserInfo() (result ApiUserInfoResult, err error) + func (app *App) GetCinemaList(cityId int) (result GetCinemaListResult, err error) + func (app *App) GetCityArea(cityId int) *GetCityAreaResult + func (app *App) GetCityList() *GetCityListResult + func (app *App) GetHotList(cityId int) (result GetHotListResult, err error) + func (app *App) GetScheduleList(cinemaId int) (result GetScheduleListResult, err error) + func (app *App) GetSeat(showId string) (result GetSeatResult, err error) + func (app *App) GetShowDate(cityId, filmId int) (result GetShowDateResult, err error) + func (app *App) GetShowList(param GetShowList) (result GetShowListResult, err error) + func (app *App) GetSoonList(cityId int) (result GetSoonListResult, err error) + func (app *App) GetVersion() (result GetVersionResult, err error) + func (app *App) GradeToFloat64(i interface{}) float64 + func (app *App) NewParamsWith(params ...Params) Params + type GetCinemaListResult struct + Code int + Data struct{ ... } + Message string + Success bool + type GetCityAreaResponse struct + Code int + Data struct{ ... } + Message string + Success bool + type GetCityAreaResult struct + Body []byte + Err error + Result GetCityAreaResponse + func NewGetCityAreaResult(result GetCityAreaResponse, body []byte, err error) *GetCityAreaResult + type GetCityListResponse struct + Code int + Data struct{ ... } + Message string + Success bool + type GetCityListResponseDataList struct + CityId int + PinYin string + RegionName string + type GetCityListResult struct + Body []byte + Err error + Result GetCityListResponse + func NewGetCityListResult(result GetCityListResponse, body []byte, err error) *GetCityListResult + type GetHotListResult struct + Code int + Data struct{ ... } + Message string + Success bool + type GetScheduleListResult struct + Code int + Data struct{ ... } + Message string + Success bool + type GetSeat struct + ShowId string + type GetSeatResult struct + Code int + Data struct{ ... } + Message string + Success bool + type GetSeatSeats struct + Area string + ColumnNo string + Lovestatus int + RowNo string + SeatId string + SeatNo string + Status string + type GetShowDate struct + CityId int + FilmId int + type GetShowDateResult struct + Code int + Data struct{ ... } + Message string + Success bool + type GetShowList struct + Area string + CityId int + Date string + FilmId int + Latitude float64 + Limit int + Longitude float64 + Page int + type GetShowListResult struct + Code int + Data struct{ ... } + Message string + Success bool + type GetSoonListResult struct + Code int + Data struct{ ... } + Message string + Success bool + type GetVersionResult struct + Code int + Data string + Message string + Success bool + type Params map[string]interface + func (p Params) Set(key string, value interface{}) + func (p Params) SetParams(params Params) + func NewParams() Params