Documentation ¶
Index ¶
- type Clientl
- type Dao
- func (d *Dao) CancelUseCoupon(c context.Context, arg *vipmol.ArgCancelUseCoupon) (err error)
- func (d *Dao) CodeOpen(c context.Context, mid int64, code, token, verify string) (data *model.ResourceCodeResq, err error)
- func (d *Dao) CodeOpeneds(c context.Context, arg *model.CodeInfoReq, ip string) (resp []*vipmol.CodeInfoResp, err error)
- func (d *Dao) CodeVerify(c context.Context) (token *model.Token, err error)
- func (d *Dao) Info(c context.Context, mid int64, ip string) (info *model.VIPInfo, err error)
- func (d *Dao) OAuth2ByCode(c context.Context, a *model.ArgAuthCode) (data *model.OAuth2InfoResp, err error)
- func (d *Dao) Tips(c context.Context, version int64, platform string) (data *vipmol.TipsResp, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientl ¶
type Clientl struct {
// contains filtered or unexported fields
}
Clientl Client is http client, for url sign.
func NewClientl ¶
func NewClientl(c *bm.ClientConfig, client *bm.Client) *Clientl
NewClientl new a http client.
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao dao
func (*Dao) CancelUseCoupon ¶
CancelUseCoupon cancel use coupon.
func (*Dao) CodeOpen ¶
func (d *Dao) CodeOpen(c context.Context, mid int64, code, token, verify string) (data *model.ResourceCodeResq, err error)
CodeOpen http code open
func (*Dao) CodeOpeneds ¶
func (d *Dao) CodeOpeneds(c context.Context, arg *model.CodeInfoReq, ip string) (resp []*vipmol.CodeInfoResp, err error)
CodeOpeneds sel code opened data
func (*Dao) CodeVerify ¶
CodeVerify code verify
func (*Dao) OAuth2ByCode ¶
func (d *Dao) OAuth2ByCode(c context.Context, a *model.ArgAuthCode) (data *model.OAuth2InfoResp, err error)
OAuth2ByCode get user info by oauth2 code.
Click to show internal directories.
Click to hide internal directories.