Documentation
¶
Index ¶
- type Service
- func (s *Service) CheckBcoinData(c context.Context) (mids []int64, err error)
- func (s *Service) CheckChangeHistory(c context.Context) (mids []int64, err error)
- func (s *Service) CheckUserData(c context.Context) (diffs map[int64]string, err error)
- func (s *Service) ClearUserCache(mid int64)
- func (s *Service) Close()
- func (s *Service) CouponNotify(c context.Context, o *model.VipPayOrderNewMsg) (err error)
- func (s *Service) EleGrantCompensate(c context.Context) (err error)
- func (s *Service) Frozen(c context.Context, ll *model.LoginLog) (err error)
- func (s *Service) HandlerBcoin() (err error)
- func (s *Service) HandlerPayOrder() (err error)
- func (s *Service) HandlerVipChangeHistory() (err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) SalaryVideoCouponAtOnce(c context.Context, nvip *model.VipUserInfoMsg, ovip *model.VipUserInfoMsg, ...) (res int, err error)
- func (s *Service) ScanSalaryLog(c context.Context) (err error)
- func (s *Service) ScanSalaryVideoCoupon(c context.Context) (err error)
- func (s *Service) ScanUserInfo(c context.Context) (err error)
- func (s *Service) SyncAllUser(c context.Context)
- func (s *Service) SyncUserInfoByMid(c context.Context, mid int64) (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 vip service
func (*Service) CheckBcoinData ¶
CheckBcoinData check bcoin data
func (*Service) CheckChangeHistory ¶
CheckChangeHistory check change history data
func (*Service) CheckUserData ¶
CheckUserData check vip_user_info data.
func (*Service) ClearUserCache ¶
ClearUserCache clear user cache.
func (*Service) CouponNotify ¶
CouponNotify coupon notify.
func (*Service) EleGrantCompensate ¶
EleGrantCompensate ele frant compensate.
func (*Service) HandlerBcoin ¶
HandlerBcoin handler bcoin
func (*Service) HandlerPayOrder ¶
HandlerPayOrder handler pay order
func (*Service) HandlerVipChangeHistory ¶
HandlerVipChangeHistory handler sync change history data
func (*Service) SalaryVideoCouponAtOnce ¶
func (s *Service) SalaryVideoCouponAtOnce(c context.Context, nvip *model.VipUserInfoMsg, ovip *model.VipUserInfoMsg, act string) (res int, err error)
SalaryVideoCouponAtOnce salary video coupon at once.
func (*Service) ScanSalaryLog ¶
ScanSalaryLog scan salary log.
func (*Service) ScanSalaryVideoCoupon ¶
ScanSalaryVideoCoupon scan all vip user to salary video coupon.
func (*Service) ScanUserInfo ¶
ScanUserInfo scan all userinfo update status
func (*Service) SyncAllUser ¶
SyncAllUser 同步旧user——info到新db. FIXME 切新db后删除.
Click to show internal directories.
Click to hide internal directories.