Documentation ¶
Index ¶
- func StripImage(raw []byte) ([]byte, error)
- type Service
- func (s *Service) AddMonitor(ctx context.Context, arg *model.ArgAddMonitor) error
- func (s *Service) BaseReview(ctx context.Context, arg *model.ArgBaseReview) ([]*model.BaseReview, error)
- func (s *Service) BatchFormal(ctx context.Context, arg *model.ArgBatchFormal) error
- func (s *Service) BlockImpl() *block.Service
- func (s *Service) ClearFace(ctx context.Context, arg *model.ArgMids) error
- func (s *Service) ClearName(ctx context.Context, arg *model.ArgMids) error
- func (s *Service) ClearSign(ctx context.Context, arg *model.ArgMids) error
- func (s *Service) Close()
- func (s *Service) DelMonitor(ctx context.Context, arg *model.ArgDelMonitor) error
- func (s *Service) DelSign(ctx context.Context, arg *model.ArgMids) error
- func (s *Service) ExpLog(ctx context.Context, mid int64) ([]*model.UserLog, error)
- func (s *Service) FaceHistory(ctx context.Context, arg *model.ArgFaceHistory) (*model.FaceRecordPagination, error)
- func (s *Service) FetchRealnameImage(ctx context.Context, token string) ([]byte, error)
- func (s *Service) MemberProfile(ctx context.Context, mid int64) (*model.Profile, error)
- func (s *Service) Members(ctx context.Context, arg *model.ArgList) (*model.MemberPagination, error)
- func (s *Service) Monitors(ctx context.Context, arg *model.ArgMonitor) ([]*model.Monitor, int, error)
- func (s *Service) MoralLog(ctx context.Context, mid int64) ([]*model.UserLog, error)
- func (s *Service) OfficialDoc(ctx context.Context, mid int64) (od *model.OfficialDoc, logs *model.SearchLogResult, block *model.BlockResult, ...)
- func (s *Service) OfficialDocAddits(ctx context.Context, property string, vstring string) ([]*model.OfficialDocAddit, error)
- func (s *Service) OfficialDocAudit(ctx context.Context, arg *model.ArgOfficialAudit) (err error)
- func (s *Service) OfficialDocEdit(ctx context.Context, arg *model.ArgOfficialEdit) (err error)
- func (s *Service) OfficialDocSubmit(ctx context.Context, arg *model.ArgOfficialSubmit) (err error)
- func (s *Service) OfficialDocs(ctx context.Context, arg *model.ArgOfficialDoc) ([]*model.OfficialDoc, int, error)
- func (s *Service) Officials(ctx context.Context, arg *model.ArgOfficial) ([]*model.Official, int, error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) PubExpMsg(ctx context.Context, arg *model.ArgPubExpMsg) (err error)
- func (s *Service) RealnameAuditApply(ctx context.Context, arg *model.ArgRealnameAuditApply, adminName string, ...) (err error)
- func (s *Service) RealnameExcel(ctx context.Context, mids []int64) ([]*model.RealnameExport, error)
- func (s *Service) RealnameFileUpload(ctx context.Context, mid int64, data []byte) (src string, err error)
- func (s *Service) RealnameImage(ctx context.Context, token string) ([]byte, error)
- func (s *Service) RealnameImagePreview(ctx context.Context, token string, borderSize uint) (data []byte, err error)
- func (s *Service) RealnameList(ctx context.Context, arg *model.ArgRealnameList) (list []*model.RespRealnameApply, total int, err error)
- func (s *Service) RealnamePendingList(ctx context.Context, arg *model.ArgRealnamePendingList) (list []*model.RespRealnameApply, total int, err error)
- func (s *Service) RealnameReasonList(ctx context.Context, arg *model.ArgRealnameReasonList) (list []string, total int, err error)
- func (s *Service) RealnameSearchCard(ctx context.Context, cards []string, cardType int, country int) (data map[string]int64, err error)
- func (s *Service) RealnameSetReason(ctx context.Context, arg *model.ArgRealnameSetReason) (err error)
- func (s *Service) RealnameSubmit(ctx context.Context, arg *model.ArgRealnameSubmit) error
- func (s *Service) RealnameUnbind(ctx context.Context, mid int64, adminName string, adminID int64) (err error)
- func (s *Service) Review(ctx context.Context, arg *model.ArgReview) (*model.UserPropertyReview, error)
- func (s *Service) ReviewAudit(ctx context.Context, arg *model.ArgReviewAudit) error
- func (s *Service) Reviews(ctx context.Context, arg *model.ArgReviewList) ([]*model.UserPropertyReview, int, error)
- func (s *Service) SetAdditRemark(ctx context.Context, arg *model.ArgAdditRemarkSet) error
- func (s *Service) SetCoin(ctx context.Context, arg *model.ArgCoinSet) error
- func (s *Service) SetExp(ctx context.Context, arg *model.ArgExpSet) error
- func (s *Service) SetMoral(ctx context.Context, arg *model.ArgMoralSet) error
- func (s *Service) SetRank(ctx context.Context, arg *model.ArgRankSet) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct
func (*Service) AddMonitor ¶
AddMonitor is.
func (*Service) BaseReview ¶
func (s *Service) BaseReview(ctx context.Context, arg *model.ArgBaseReview) ([]*model.BaseReview, error)
BaseReview is.
func (*Service) BatchFormal ¶
BatchFormal is
func (*Service) DelMonitor ¶
DelMonitor is.
func (*Service) FaceHistory ¶
func (s *Service) FaceHistory(ctx context.Context, arg *model.ArgFaceHistory) (*model.FaceRecordPagination, error)
FaceHistory is.
func (*Service) FetchRealnameImage ¶
FetchRealnameImage is
func (*Service) MemberProfile ¶
MemberProfile is.
func (*Service) Monitors ¶
func (s *Service) Monitors(ctx context.Context, arg *model.ArgMonitor) ([]*model.Monitor, int, error)
Monitors is.
func (*Service) OfficialDoc ¶
func (s *Service) OfficialDoc(ctx context.Context, mid int64) (od *model.OfficialDoc, logs *model.SearchLogResult, block *model.BlockResult, spys []*spymodel.Statistics, realname *model.Realname, sameCreditCodeMids []int64, err error)
OfficialDoc is.
func (*Service) OfficialDocAddits ¶
func (s *Service) OfficialDocAddits(ctx context.Context, property string, vstring string) ([]*model.OfficialDocAddit, error)
OfficialDocAddits find mids by property and value
func (*Service) OfficialDocAudit ¶
OfficialDocAudit is.
func (*Service) OfficialDocEdit ¶
OfficialDocEdit is.
func (*Service) OfficialDocSubmit ¶
OfficialDocSubmit is.
func (*Service) OfficialDocs ¶
func (s *Service) OfficialDocs(ctx context.Context, arg *model.ArgOfficialDoc) ([]*model.OfficialDoc, int, error)
OfficialDocs is.
func (*Service) Officials ¶
func (s *Service) Officials(ctx context.Context, arg *model.ArgOfficial) ([]*model.Official, int, error)
Officials is.
func (*Service) RealnameAuditApply ¶
func (s *Service) RealnameAuditApply(ctx context.Context, arg *model.ArgRealnameAuditApply, adminName string, adminID int64) (err error)
RealnameAuditApply .
func (*Service) RealnameExcel ¶
RealnameExcel export user realname info
func (*Service) RealnameFileUpload ¶
func (s *Service) RealnameFileUpload(ctx context.Context, mid int64, data []byte) (src string, err error)
RealnameFileUpload is
func (*Service) RealnameImage ¶
RealnameImage return img
func (*Service) RealnameImagePreview ¶
func (s *Service) RealnameImagePreview(ctx context.Context, token string, borderSize uint) (data []byte, err error)
RealnameImagePreview return preview img
func (*Service) RealnameList ¶
func (s *Service) RealnameList(ctx context.Context, arg *model.ArgRealnameList) (list []*model.RespRealnameApply, total int, err error)
RealnameList .
func (*Service) RealnamePendingList ¶
func (s *Service) RealnamePendingList(ctx context.Context, arg *model.ArgRealnamePendingList) (list []*model.RespRealnameApply, total int, err error)
RealnamePendingList .
func (*Service) RealnameReasonList ¶
func (s *Service) RealnameReasonList(ctx context.Context, arg *model.ArgRealnameReasonList) (list []string, total int, err error)
RealnameReasonList .
func (*Service) RealnameSearchCard ¶
func (s *Service) RealnameSearchCard(ctx context.Context, cards []string, cardType int, country int) (data map[string]int64, err error)
RealnameSearchCard .
func (*Service) RealnameSetReason ¶
func (s *Service) RealnameSetReason(ctx context.Context, arg *model.ArgRealnameSetReason) (err error)
RealnameSetReason .
func (*Service) RealnameSubmit ¶
RealnameSubmit is
func (*Service) RealnameUnbind ¶
func (s *Service) RealnameUnbind(ctx context.Context, mid int64, adminName string, adminID int64) (err error)
RealnameUnbind is.
func (*Service) Review ¶
func (s *Service) Review(ctx context.Context, arg *model.ArgReview) (*model.UserPropertyReview, error)
Review is.
func (*Service) ReviewAudit ¶
ReviewAudit is.
func (*Service) Reviews ¶
func (s *Service) Reviews(ctx context.Context, arg *model.ArgReviewList) ([]*model.UserPropertyReview, int, error)
Reviews is.
func (*Service) SetAdditRemark ¶
SetAdditRemark is.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.