Documentation ¶
Index ¶
Constants ¶
View Source
const ( OAuthUrl = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code" VerifyCodeKeyPrefix = "verify:" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SendVerifyCodeLogic ¶
func NewSendVerifyCodeLogic ¶
func NewSendVerifyCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendVerifyCodeLogic
func (*SendVerifyCodeLogic) SendVerifyCode ¶
func (l *SendVerifyCodeLogic) SendVerifyCode(in *pb.SendVerifyCodeReq) (*pb.SendVerifyCodeResp, error)
type SetPasswordLogic ¶
func NewSetPasswordLogic ¶
func NewSetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetPasswordLogic
func (*SetPasswordLogic) SetPassword ¶
func (l *SetPasswordLogic) SetPassword(in *pb.SetPasswordReq) (*pb.SetPasswordResp, error)
type SignInLogic ¶
func NewSignInLogic ¶
func NewSignInLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SignInLogic
func (*SignInLogic) SignIn ¶
func (l *SignInLogic) SignIn(in *pb.SignInReq) (resp *pb.SignInResp, err error)
Click to show internal directories.
Click to hide internal directories.