Documentation ¶
Index ¶
- func Start()
- type WxToken
- type WxmpController
- type WxmpService
- func (s *WxmpService) GetApp(appId string) *officialAccount.OfficialAccount
- func (s *WxmpService) GetSignature(ctx context.Context, appId string, url string, nonce string, timestamp int64) (*object.HashMap, error)
- func (s *WxmpService) GetSocialUserByCode(ctx context.Context, socialChannelId string, code string) *social.SocialUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WxmpController ¶
type WxmpController struct {
WxmpService *WxmpService
}
func (*WxmpController) GetSignature ¶
func (c *WxmpController) GetSignature(ctx *gin.Context)
func (*WxmpController) InitRouter ¶
func (e *WxmpController) InitRouter(g *gin.Engine)
*
- 处理WEB验证码的API路由
type WxmpService ¶
type WxmpService struct {
// contains filtered or unexported fields
}
func (*WxmpService) GetApp ¶
func (s *WxmpService) GetApp(appId string) *officialAccount.OfficialAccount
func (*WxmpService) GetSignature ¶
func (*WxmpService) GetSocialUserByCode ¶
func (s *WxmpService) GetSocialUserByCode(ctx context.Context, socialChannelId string, code string) *social.SocialUser
Click to show internal directories.
Click to hide internal directories.