Documentation ¶
Index ¶
- type Service
- func (s *Service) ActivityTimeLimit(mid int64) error
- func (s *Service) ActivityWhiteIPLimit(appkey string, ip string) error
- func (s *Service) ActivityWhiteOutOpenIDLimit(openid string) error
- func (s *Service) AssociatePanel(c context.Context, req *vol.ArgAssociatePanel) (res []*v1.AssociatePanelInfo, err error)
- func (s *Service) BilibiliPrizeGrant(c context.Context, a *model.ArgBilibiliPrizeGrant) (res *v1.BilibiliPrizeGrantReply, err error)
- func (s *Service) BilibiliVipGrant(c context.Context, a *model.ArgBilibiliVipGrant) (err error)
- func (s *Service) BindInfoByMid(c context.Context, a *model.ArgBindInfo) (res *v1.BindInfoByMidReply, err error)
- func (s *Service) CancelUseCoupon(c context.Context, arg *vipml.ArgCancelUseCoupon) (err error)
- func (s *Service) CodeOpen(c context.Context, mid int64, code, token, verify string) (codeInfo *model.ResourceCode, err error)
- func (s *Service) CodeOpeneds(c context.Context, arg *model.CodeInfoReq, ip string) (resp []*vipmod.CodeInfoResp, err error)
- func (s *Service) CodeVerify(c context.Context) (token *model.Token, err error)
- func (s *Service) CouponBySuitID(c context.Context, mid int64, sid int64) (res *col.CouponAllowancePanelInfo, err error)
- func (s *Service) CouponBySuitIDV2(c context.Context, a *model.ArgCouponBySuitID) (res *v1.CouponBySuitIDReply, err error)
- func (s *Service) CouponsForPanel(c context.Context, mid int64, sid int64, platform string) (res *col.CouponAllowancePanelResp, err error)
- func (s *Service) CouponsForPanelV2(c context.Context, mid int64, sid int64) (res *col.CouponAllowancePanelResp, err error)
- func (s *Service) CreateAssociateOrder(c context.Context, req *model.ArgCreateAssociateOrder) (res map[string]interface{}, err error)
- func (s *Service) EleRedPackages(c context.Context) (res []*v1.ModelEleRedPackage, err error)
- func (s *Service) EleSpecailFoods(c context.Context) (res []*v1.ModelEleSpecailFoods, err error)
- func (s *Service) ElemeOAuthURI(c context.Context, csrf string) string
- func (s *Service) FrozenTime(c context.Context, mid int64) (stime int64, err error)
- func (s *Service) ManagerInfo(c context.Context) (res *model.ManagerResp, err error)
- func (s *Service) MyWelfare(c context.Context, mid int64) (res *v1.MyWelfareReply, err error)
- func (s *Service) OpenAuthCallBack(c context.Context, a *model.ArgOpenAuthCallBack) (uri string)
- func (s *Service) OpenBindByOutOpenID(c context.Context, a *model.ArgBind) (err error)
- func (s *Service) OpenIDByAuthCode(c context.Context, a *model.ArgAuthCode) (res *model.OpenIDResp, err error)
- func (s *Service) OrderStatus(c context.Context, arg *vipmod.ArgDialog) (res *vipmod.OrderResult, err error)
- func (s *Service) PrivilegebySid(c context.Context, arg *model.ArgPrivilegeBySid) (res *model.PrivilegesResp, err error)
- func (s *Service) PrivilegebyType(c context.Context, arg *model.ArgPrivilegeDetail) (res []*model.PrivilegeDetailResp, err error)
- func (s *Service) ResourceBanner(c context.Context, arg *model.ArgResource) (res []*resmdl.Banner, err error)
- func (s *Service) ResourceBuy(c context.Context, arg *model.ArgResource) (res []*resmdl.Banner, err error)
- func (s *Service) Tips(c context.Context, req *model.TipsReq) (res *vipmol.TipsResp, err error)
- func (s *Service) TipsV2(c context.Context, req *model.TipsReq) (res []*vipmol.TipsResp, err error)
- func (s *Service) Unfrozen(c context.Context, mid int64) (err error)
- func (s *Service) UseBatch(c context.Context, arg *vipmod.ArgUseBatch) (err error)
- func (s *Service) UserInfoByOpenID(c context.Context, a *model.ArgUserInfoByOpenID) (res *v1.UserInfoByOpenIDReply, err error)
- func (s *Service) VipPanel(c context.Context, mid int64, a *model.VipPanelRes) (res *vipml.VipPirceResp, err error)
- func (s *Service) VipPanel5(c context.Context, mid int64, a *model.VipPanelRes) (res *vipml.VipPirceResp5, err error)
- func (s *Service) VipPanelV2(c context.Context, a *model.ArgVipPanel) (res *model.VipPanelResp, err error)
- func (s *Service) VipPanelV8(c context.Context, a *model.ArgVipPanel) (res *model.VipPanelV8Resp, err error)
- func (s *Service) VipPanelV9(c context.Context, a *model.ArgVipPanel) (res *model.VipPanelRespV9, err error)
- func (s *Service) WelfareInfo(c context.Context, wid, mid int64) (res *v1.WelfareInfoReply, err error)
- func (s *Service) WelfareList(c context.Context, tid, recommend, pn, ps int64) (res *v1.WelfareReply, err error)
- func (s *Service) WelfareReceive(c context.Context, wid, mid int64) (res *v1.WelfareReceiveReply, err error)
- func (s *Service) WelfareTypeList(c context.Context) (res *v1.WelfareTypeReply, 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
}
Service .
func (*Service) ActivityTimeLimit ¶
ActivityTimeLimit activity time limit.
func (*Service) ActivityWhiteIPLimit ¶
ActivityWhiteIPLimit act ip limit.
func (*Service) ActivityWhiteOutOpenIDLimit ¶
ActivityWhiteOutOpenIDLimit act out open id limit.
func (*Service) AssociatePanel ¶
func (s *Service) AssociatePanel(c context.Context, req *vol.ArgAssociatePanel) (res []*v1.AssociatePanelInfo, err error)
AssociatePanel associate panel.
func (*Service) BilibiliPrizeGrant ¶
func (s *Service) BilibiliPrizeGrant(c context.Context, a *model.ArgBilibiliPrizeGrant) (res *v1.BilibiliPrizeGrantReply, err error)
BilibiliPrizeGrant vip prize grant.
func (*Service) BilibiliVipGrant ¶
BilibiliVipGrant vip grant.
func (*Service) BindInfoByMid ¶
func (s *Service) BindInfoByMid(c context.Context, a *model.ArgBindInfo) (res *v1.BindInfoByMidReply, err error)
BindInfoByMid bind info by mid[bilibili->third].
func (*Service) CancelUseCoupon ¶
CancelUseCoupon coupon cancel use.
func (*Service) CodeOpen ¶
func (s *Service) CodeOpen(c context.Context, mid int64, code, token, verify string) (codeInfo *model.ResourceCode, err error)
CodeOpen .
func (*Service) CodeOpeneds ¶
func (s *Service) CodeOpeneds(c context.Context, arg *model.CodeInfoReq, ip string) (resp []*vipmod.CodeInfoResp, err error)
CodeOpeneds sel code opened
func (*Service) CodeVerify ¶
CodeVerify .
func (*Service) CouponBySuitID ¶
func (s *Service) CouponBySuitID(c context.Context, mid int64, sid int64) (res *col.CouponAllowancePanelInfo, err error)
CouponBySuitID coupon by suit id.
func (*Service) CouponBySuitIDV2 ¶
func (s *Service) CouponBySuitIDV2(c context.Context, a *model.ArgCouponBySuitID) (res *v1.CouponBySuitIDReply, err error)
CouponBySuitIDV2 get coupon by mid and suit info.
func (*Service) CouponsForPanel ¶
func (s *Service) CouponsForPanel(c context.Context, mid int64, sid int64, platform string) (res *col.CouponAllowancePanelResp, err error)
CouponsForPanel coupon for panel.
func (*Service) CouponsForPanelV2 ¶
func (s *Service) CouponsForPanelV2(c context.Context, mid int64, sid int64) (res *col.CouponAllowancePanelResp, err error)
CouponsForPanelV2 coupon for panel.
func (*Service) CreateAssociateOrder ¶
func (s *Service) CreateAssociateOrder(c context.Context, req *model.ArgCreateAssociateOrder) (res map[string]interface{}, err error)
CreateAssociateOrder create associate order.
func (*Service) EleRedPackages ¶
EleRedPackages ele red packages.
func (*Service) EleSpecailFoods ¶
EleSpecailFoods ele speacail foods.
func (*Service) ElemeOAuthURI ¶
ElemeOAuthURI get ele oauth uri.
func (*Service) FrozenTime ¶
FrozenTime get frozen time
func (*Service) ManagerInfo ¶
ManagerInfo manager info.
func (*Service) OpenAuthCallBack ¶
OpenAuthCallBack open auth callback[third->bilibili].
func (*Service) OpenBindByOutOpenID ¶
OpenBindByOutOpenID associate user bind by out_open_id [third -> bilibili].
func (*Service) OpenIDByAuthCode ¶
func (s *Service) OpenIDByAuthCode(c context.Context, a *model.ArgAuthCode) (res *model.OpenIDResp, err error)
OpenIDByAuthCode third get open_id by auth code.
func (*Service) OrderStatus ¶
func (s *Service) OrderStatus(c context.Context, arg *vipmod.ArgDialog) (res *vipmod.OrderResult, err error)
OrderStatus .
func (*Service) PrivilegebySid ¶
func (s *Service) PrivilegebySid(c context.Context, arg *model.ArgPrivilegeBySid) (res *model.PrivilegesResp, err error)
PrivilegebySid privilege by sid.
func (*Service) PrivilegebyType ¶
func (s *Service) PrivilegebyType(c context.Context, arg *model.ArgPrivilegeDetail) (res []*model.PrivilegeDetailResp, err error)
PrivilegebyType privilege by type.
func (*Service) ResourceBanner ¶
func (s *Service) ResourceBanner(c context.Context, arg *model.ArgResource) (res []*resmdl.Banner, err error)
ResourceBanner .
func (*Service) ResourceBuy ¶
func (s *Service) ResourceBuy(c context.Context, arg *model.ArgResource) (res []*resmdl.Banner, err error)
ResourceBuy .
func (*Service) UserInfoByOpenID ¶
func (s *Service) UserInfoByOpenID(c context.Context, a *model.ArgUserInfoByOpenID) (res *v1.UserInfoByOpenIDReply, err error)
UserInfoByOpenID get userinfo by open_id.
func (*Service) VipPanel ¶
func (s *Service) VipPanel(c context.Context, mid int64, a *model.VipPanelRes) (res *vipml.VipPirceResp, err error)
VipPanel .
func (*Service) VipPanel5 ¶
func (s *Service) VipPanel5(c context.Context, mid int64, a *model.VipPanelRes) (res *vipml.VipPirceResp5, err error)
VipPanel5 .
func (*Service) VipPanelV2 ¶
func (s *Service) VipPanelV2(c context.Context, a *model.ArgVipPanel) (res *model.VipPanelResp, err error)
VipPanelV2 vip panel v2.
func (*Service) VipPanelV8 ¶
func (s *Service) VipPanelV8(c context.Context, a *model.ArgVipPanel) (res *model.VipPanelV8Resp, err error)
VipPanelV8 vip panel v8
func (*Service) VipPanelV9 ¶
func (s *Service) VipPanelV9(c context.Context, a *model.ArgVipPanel) (res *model.VipPanelRespV9, err error)
VipPanelV9 vip panel v9
func (*Service) WelfareInfo ¶
func (s *Service) WelfareInfo(c context.Context, wid, mid int64) (res *v1.WelfareInfoReply, err error)
WelfareInfo get welfare info
func (*Service) WelfareList ¶
func (s *Service) WelfareList(c context.Context, tid, recommend, pn, ps int64) (res *v1.WelfareReply, err error)
WelfareList get welfare list