Documentation
¶
Index ¶
- type Service
- func (s *Service) AlipayApply(c context.Context, mid int64, param *model.ParamRealnameAlipayApply) (res *model.RealnameAlipayApply, err error)
- func (s *Service) AlipayConfirm(c context.Context, mid int64) (res *model.RealnameAlipayConfirm, err error)
- func (s *Service) Apply(c context.Context, mid int64, realname string, cardType int, cardNum string, ...) (err error)
- func (s *Service) ApplyStatus(c context.Context, mid int64) (status int8, remark string, realname string, card string, err error)
- func (s *Service) CaptchaGTRefresh(c context.Context, mid int64, ip, gtType string, hash string) (challenge string, gt string, success int, err error)
- func (s *Service) CaptchaGTRegister(c context.Context, mid int64, ip, gtType string) (urlstr string, remote int, err error)
- func (s *Service) CaptchaGTValidate(c context.Context, mid int64, ip, clientType string, ...) (res *model.RealnameCaptchaGTValidate, err error)
- func (s *Service) CardTypes(c context.Context, platform string, mobiapp string, device string, build int) (list []*model.RealnameCardType, err error)
- func (s *Service) CardTypesV2(c context.Context) (list []*model.RealnameCardType, err error)
- func (s *Service) Channel(c context.Context) (channels []*model.RealnameChannel, err error)
- func (s *Service) CountryList(c context.Context) (list []*model.RealnameCountry, err error)
- func (s *Service) Preview(c context.Context, mid int64, src string) (img []byte, err error)
- func (s *Service) Status(c context.Context, mid int64) (status int8, err error)
- func (s *Service) TelCapture(c context.Context, mid int64) (err error)
- func (s *Service) TelInfo(c context.Context, mid int64) (tel string, err error)
- func (s *Service) Upload(c context.Context, mid int64, data []byte) (src string, 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 is
func (*Service) AlipayApply ¶
func (s *Service) AlipayApply(c context.Context, mid int64, param *model.ParamRealnameAlipayApply) (res *model.RealnameAlipayApply, err error)
AlipayApply 提交芝麻认证申请
func (*Service) AlipayConfirm ¶
func (s *Service) AlipayConfirm(c context.Context, mid int64) (res *model.RealnameAlipayConfirm, err error)
AlipayConfirm 查询芝麻认证状态
func (*Service) Apply ¶
func (s *Service) Apply(c context.Context, mid int64, realname string, cardType int, cardNum string, countryID int, captureCode int, handIMGToken, frontIMGToken, backIMGToken string) (err error)
Apply .
func (*Service) ApplyStatus ¶
func (s *Service) ApplyStatus(c context.Context, mid int64) (status int8, remark string, realname string, card string, err error)
ApplyStatus return realname apply status
func (*Service) CaptchaGTRefresh ¶
func (s *Service) CaptchaGTRefresh(c context.Context, mid int64, ip, gtType string, hash string) (challenge string, gt string, success int, err error)
CaptchaGTRefresh refresh geetest
func (*Service) CaptchaGTRegister ¶
func (s *Service) CaptchaGTRegister(c context.Context, mid int64, ip, gtType string) (urlstr string, remote int, err error)
CaptchaGTRegister register geetest
func (*Service) CaptchaGTValidate ¶
func (s *Service) CaptchaGTValidate(c context.Context, mid int64, ip, clientType string, param *model.ParamRealnameCaptchaGTCheck) (res *model.RealnameCaptchaGTValidate, err error)
CaptchaGTValidate validate geetest
func (*Service) CardTypes ¶
func (s *Service) CardTypes(c context.Context, platform string, mobiapp string, device string, build int) (list []*model.RealnameCardType, err error)
CardTypes .
func (*Service) CardTypesV2 ¶
CardTypesV2 .
func (*Service) CountryList ¶
CountryList .
func (*Service) TelCapture ¶
TelCapture .
Click to show internal directories.
Click to hide internal directories.