user

package
v0.0.0-...-eb64f0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WechatURL   = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code"
	UserInfoURL = "https://api.weixin.qq.com/sns/userinfo?access_token=%s&openid=%s&lang=zh_CN"
	APPID       = " "
	SECRET      = " "
)

Variables

This section is empty.

Functions

func AddPhone

func AddPhone(c *server.Context) error

AddPhone add phone.

func BbsUserInfo

func BbsUserInfo(c *server.Context) error

BbsUserInfo get user info in bbs.

func ChangeAvatar

func ChangeAvatar(c *server.Context) error

ChangeAvatar changes avatar.

func ChangePassword

func ChangePassword(c *server.Context) error

ChangePassword changes password.

func ChangeUserInfo

func ChangeUserInfo(c *server.Context) error

ChangeUserInfo changes user's information.

func WechatLogin

func WechatLogin(this *server.Context) error

WechatLogin

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL