Documentation ¶
Index ¶
- type Config
- type Service
- func (s *Service) CancelOrder()
- func (s *Service) CreateOrder(req *base.MuggleReqOrder) (*base.MuggleRespOrderCreate, error)
- func (s *Service) GetOrder(orderID string) (*base.MuggleRespOrderCreate, error)
- func (s *Service) Init(app sptty.ISptty) error
- func (s *Service) Refund()
- func (s *Service) ServiceName() string
- func (s *Service) SetToken(token string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { sptty.BaseService // contains filtered or unexported fields }
func (*Service) CreateOrder ¶
func (s *Service) CreateOrder(req *base.MuggleReqOrder) (*base.MuggleRespOrderCreate, error)
创建订单
func (*Service) GetOrder ¶
func (s *Service) GetOrder(orderID string) (*base.MuggleRespOrderCreate, error)
查询订单
func (*Service) ServiceName ¶
Click to show internal directories.
Click to hide internal directories.