Documentation ¶
Index ¶
- type Service
- func (s *Service) AddMailch(f func())
- func (s *Service) BatchJudge(c context.Context, req *model.BatchJudgeReq) (err error)
- func (s *Service) Close()
- func (s *Service) CommitInfo(c context.Context, uinfo *model.UserInfoReq) (err error)
- func (s *Service) CompareInfo(c context.Context, rid int64) (err error)
- func (s *Service) GameList(c context.Context, mids string) (res []*model.GameListRes, err error)
- func (s *Service) GetCaptchaMail(c context.Context, req *model.CaptchaMailReq) (state int64, err error)
- func (s *Service) InsertRecoveryAddit(c context.Context, rid int64, Files []string, BusinessMap map[string]string) (err error)
- func (s *Service) Judge(c context.Context, req *model.JudgeReq) (err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) QueryAccount(c context.Context, req *model.QueryInfoReq) (res *model.QueryInfoResp, err error)
- func (s *Service) QueryCon(c context.Context, aq *model.QueryRecoveryInfoReq) (res *model.MultiQueryRes, err error)
- func (s *Service) QueryRecoveryAddit(c context.Context, rids []int64) (map[int64]*model.RecoveryAddit, error)
- func (s *Service) SendMail(c context.Context, req *model.SendMailReq) (err error)
- func (s *Service) SendMailLog(c context.Context, mid int64, mailType int, linkMail string, params ...string) (err error)
- func (s *Service) SendMailM(c context.Context, mailType int, linkMail string, params ...string) (err error)
- func (s *Service) SendMailMany(c context.Context, mailType int, batchRes []*model.BatchAppeal, ...) (err error)
- func (s *Service) Verify(c context.Context, token, code string) (err error)
- func (s *Service) WebToken(c context.Context) (token *model.Token, 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 struct
func (*Service) BatchJudge ¶
BatchJudge is reject or agree more operation.
func (*Service) CommitInfo ¶
CommitInfo is commit appeal info
func (*Service) CompareInfo ¶
CompareInfo compare user_info with sys_info
func (*Service) GetCaptchaMail ¶
func (s *Service) GetCaptchaMail(c context.Context, req *model.CaptchaMailReq) (state int64, err error)
GetCaptchaMail send captcha mail.
func (*Service) InsertRecoveryAddit ¶
func (s *Service) InsertRecoveryAddit(c context.Context, rid int64, Files []string, BusinessMap map[string]string) (err error)
InsertRecoveryAddit insert addit for commit info
func (*Service) QueryAccount ¶
func (s *Service) QueryAccount(c context.Context, req *model.QueryInfoReq) (res *model.QueryInfoResp, err error)
QueryAccount is verify account is exist
func (*Service) QueryCon ¶
func (s *Service) QueryCon(c context.Context, aq *model.QueryRecoveryInfoReq) (res *model.MultiQueryRes, err error)
QueryCon is Multi conditional combinatorial query
func (*Service) QueryRecoveryAddit ¶
func (s *Service) QueryRecoveryAddit(c context.Context, rids []int64) (map[int64]*model.RecoveryAddit, error)
QueryRecoveryAddit query recovery addit
func (*Service) SendMailLog ¶
func (s *Service) SendMailLog(c context.Context, mid int64, mailType int, linkMail string, params ...string) (err error)
SendMailLog send mailLog
func (*Service) SendMailM ¶
func (s *Service) SendMailM(c context.Context, mailType int, linkMail string, params ...string) (err error)
SendMailM send more type mail
func (*Service) SendMailMany ¶
func (s *Service) SendMailMany(c context.Context, mailType int, batchRes []*model.BatchAppeal, userMap map[string]*model.User) (err error)
SendMailMany send more type mail
Click to show internal directories.
Click to hide internal directories.