signup

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Route

func Route(root server.Router)

Types

type RegisterReq added in v0.0.4

type RegisterReq struct {
	Mobile   string `json:"mobile,omitempty"`
	Email    string `json:"email,omitempty"`
	Password string `json:"password,omitempty"`
	Name     string `json:"name,omitempty"`
}

type WxMiniReq

type WxMiniReq struct {
	UnionId    string `json:"unionId"`              // 微信ID
	SessionKey string `json:"sessionKey,omitempty"` // 微信登录session
	Code       string `json:"code"`                 // 获取手机号的code
}

type WxMiniResp

type WxMiniResp struct {
	app.Response
	models.BasicSession
}

Jump to

Keyboard shortcuts

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