Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddPayPhone(c context.Context, requestNo int64, phone string) (res int, err error)
- func (d *Dao) AddPhoneCode(c context.Context, phone int, captcha string) (res int, err error)
- func (d *Dao) AddTelecomCache(c context.Context, userphone int, u *telecom.OrderInfo) (err error)
- func (d *Dao) AddTelecomOrderIDCache(c context.Context, orderID int64, u *telecom.OrderInfo) (err error)
- func (d *Dao) CancelRepeatOrder(c context.Context, phone int, signNo string) (msg string, err error)
- func (d *Dao) InOrderSync(ctx context.Context, requestNo, resultType int, phone string, ...) (row int64, err error)
- func (d *Dao) InRechargeSync(ctx context.Context, r *telecom.RechargeJSON) (row int64, err error)
- func (d *Dao) OrderState(c context.Context, orderid int64) (res *telecom.OrderPhoneState, err error)
- func (d *Dao) OrdersUserByOrderID(ctx context.Context, orderID int64) (res map[int64]*telecom.OrderInfo, err error)
- func (d *Dao) OrdersUserFlow(ctx context.Context, phoneID int) (res map[int]*telecom.OrderInfo, err error)
- func (d *Dao) PayInfo(c context.Context, requestNo int64, ...) (data *telecom.Pay, err error, msg string)
- func (d *Dao) PayPhone(c context.Context, requestNo int64) (phone string, err error)
- func (d *Dao) PhoneArea(c context.Context, phone int) (area string, err error, msg string)
- func (d *Dao) PhoneCode(c context.Context, phone int) (captcha string, err error)
- func (d *Dao) SendSMS(c context.Context, phone int, smsTemplate, dataJSON string) (err error)
- func (d *Dao) SendTelecomSMS(c context.Context, phone int, smsTemplate string) (err error)
- func (d *Dao) SucOrderList(c context.Context, phone int) (res *telecom.SucOrder, err error, msg string)
- func (d *Dao) TelecomCache(c context.Context, userphone int) (u *telecom.OrderInfo, err error)
- func (d *Dao) TelecomOrderIDCache(c context.Context, orderID int64) (u *telecom.OrderInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
func (*Dao) AddPayPhone ¶
AddPayPhone add phone and requestNo
func (*Dao) AddPhoneCode ¶
AddPhoneCode
func (*Dao) AddTelecomCache ¶
AddTelecomCache
func (*Dao) AddTelecomOrderIDCache ¶
func (d *Dao) AddTelecomOrderIDCache(c context.Context, orderID int64, u *telecom.OrderInfo) (err error)
AddTelecomOrderIDCache
func (*Dao) CancelRepeatOrder ¶
func (d *Dao) CancelRepeatOrder(c context.Context, phone int, signNo string) (msg string, err error)
CancelRepeatOrder
func (*Dao) InOrderSync ¶
func (d *Dao) InOrderSync(ctx context.Context, requestNo, resultType int, phone string, t *telecom.TelecomJSON) (row int64, err error)
InOrderSync
func (*Dao) InRechargeSync ¶
InRechargeSync
func (*Dao) OrderState ¶
func (d *Dao) OrderState(c context.Context, orderid int64) (res *telecom.OrderPhoneState, err error)
OrderState
func (*Dao) OrdersUserByOrderID ¶
func (*Dao) OrdersUserFlow ¶
func (*Dao) PayInfo ¶
func (d *Dao) PayInfo(c context.Context, requestNo int64, phone, isRepeatOrder, payChannel, payAction int, orderID int64, ipStr string, beginTime, firstOrderEndtime time.Time) (data *telecom.Pay, err error, msg string)
PayInfo
func (*Dao) SendTelecomSMS ¶
SendTelecomSMS
func (*Dao) SucOrderList ¶
func (d *Dao) SucOrderList(c context.Context, phone int) (res *telecom.SucOrder, err error, msg string)
SucOrderList user order list
func (*Dao) TelecomCache ¶
TelecomCache
Click to show internal directories.
Click to hide internal directories.