Documentation
¶
Index ¶
- type Service
- func (s *Service) CancelRepeatOrder(c context.Context, phone int) (msg string, err error)
- func (s *Service) DesDecrypt(src, key []byte) ([]byte, error)
- func (s *Service) InOrdersSync(c context.Context, ip string, u *telecom.TelecomOrderJson) (err error)
- func (s *Service) InRechargeSync(c context.Context, ip string, u *telecom.RechargeJSON) (err error)
- func (s *Service) OrderConsent(c context.Context, phone int, orderID int64, captcha string) (res *telecom.PhoneConsent, msg string, err error)
- func (s *Service) OrderList(c context.Context, orderID int64, phone int) (res *telecom.SucOrder, msg string, err error)
- func (s *Service) OrderState(c context.Context, orderid int64) (t *telecom.OrderState, msg string, err error)
- func (s *Service) PhoneCode(c context.Context, phone int, captcha string, now time.Time) (res *telecom.Pay, err error, msg string)
- func (s *Service) PhoneFlow(c context.Context, orderID int64, phone int) (res *telecom.OrderFlow, msg string, err error)
- func (s *Service) PhoneSendSMS(c context.Context, phone int) (err error)
- func (s *Service) TelecomMessageSync(c context.Context, ip string, u *telecom.TelecomMessageJSON) (err error)
- func (s *Service) TelecomPay(c context.Context, phone, isRepeatOrder, payChannel, payAction int, ...) (res *telecom.Pay, msg string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CancelRepeatOrder ¶
CancelRepeatOrder
func (*Service) DesDecrypt ¶
DesDecrypt
func (*Service) InOrdersSync ¶
func (s *Service) InOrdersSync(c context.Context, ip string, u *telecom.TelecomOrderJson) (err error)
InOrdersSync insert OrdersSync
func (*Service) InRechargeSync ¶
InRechargeSync insert RechargeSync
func (*Service) OrderConsent ¶
func (s *Service) OrderConsent(c context.Context, phone int, orderID int64, captcha string) (res *telecom.PhoneConsent, msg string, err error)
OrderConsent user orderConsent
func (*Service) OrderList ¶
func (s *Service) OrderList(c context.Context, orderID int64, phone int) (res *telecom.SucOrder, msg string, err error)
OrderList user order list
func (*Service) OrderState ¶
func (s *Service) OrderState(c context.Context, orderid int64) (t *telecom.OrderState, msg string, err error)
OrderState
func (*Service) PhoneCode ¶
func (s *Service) PhoneCode(c context.Context, phone int, captcha string, now time.Time) (res *telecom.Pay, err error, msg string)
PhoneCode
func (*Service) PhoneFlow ¶
func (s *Service) PhoneFlow(c context.Context, orderID int64, phone int) (res *telecom.OrderFlow, msg string, err error)
PhoneFlow user flow
func (*Service) PhoneSendSMS ¶
PhoneSendSMS
func (*Service) TelecomMessageSync ¶
func (s *Service) TelecomMessageSync(c context.Context, ip string, u *telecom.TelecomMessageJSON) (err error)
telecomMessageOrder
Click to show internal directories.
Click to hide internal directories.