app

package
v1.20.8 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserAddressController

type UserAddressController struct {
	*v.Controller
}

UserAddressController C端收货地址控制器(仅本人数据)

func (*UserAddressController) Default

func (c *UserAddressController) Default(ctx g.Ctx, req *v1.UserAddressDefaultReq) (res *v.BaseRes, err error)

Default 默认地址

type UserCommController

type UserCommController struct {
	*v.Controller
}

UserCommController C端通用控制器

func (*UserCommController) WxMpConfig

func (c *UserCommController) WxMpConfig(ctx g.Ctx, req *v1.UserWxMpConfigReq) (res *v.BaseRes, err error)

WxMpConfig 获取微信公众号配置

type UserInfoController

type UserInfoController struct {
	*v.Controller
}

UserInfoController C端用户信息控制器

func (*UserInfoController) BindPhone

func (c *UserInfoController) BindPhone(ctx g.Ctx, req *v1.UserInfoBindPhoneReq) (res *v.BaseRes, err error)

BindPhone 绑定手机号

func (*UserInfoController) Logoff

func (c *UserInfoController) Logoff(ctx g.Ctx, req *v1.UserInfoLogoffReq) (res *v.BaseRes, err error)

Logoff 注销

func (*UserInfoController) MiniPhone

func (c *UserInfoController) MiniPhone(ctx g.Ctx, req *v1.UserInfoMiniPhoneReq) (res *v.BaseRes, err error)

MiniPhone 绑定小程序手机号

func (*UserInfoController) Person

func (c *UserInfoController) Person(ctx g.Ctx, req *v1.UserInfoPersonReq) (res *v.BaseRes, err error)

Person 获取个人信息

func (*UserInfoController) UpdatePassword

func (c *UserInfoController) UpdatePassword(ctx g.Ctx, req *v1.UserInfoUpdatePasswordReq) (res *v.BaseRes, err error)

UpdatePassword 修改密码

func (*UserInfoController) UpdatePerson

func (c *UserInfoController) UpdatePerson(ctx g.Ctx, req *v1.UserInfoUpdatePersonReq) (res *v.BaseRes, err error)

UpdatePerson 更新个人信息

type UserLoginController

type UserLoginController struct {
	*v.Controller
}

UserLoginController C端登录控制器(全部免登录接口)

func (*UserLoginController) Captcha

func (c *UserLoginController) Captcha(ctx g.Ctx, req *v1.UserLoginCaptchaReq) (res *v.BaseRes, err error)

Captcha 图片验证码(复用基础模块能力)

func (*UserLoginController) Mini

func (c *UserLoginController) Mini(ctx g.Ctx, req *v1.UserLoginMiniReq) (res *v.BaseRes, err error)

Mini 小程序登录

func (*UserLoginController) MiniPhone

func (c *UserLoginController) MiniPhone(ctx g.Ctx, req *v1.UserLoginMiniPhoneReq) (res *v.BaseRes, err error)

MiniPhone 绑定小程序手机号(登录)

func (*UserLoginController) Mp

func (c *UserLoginController) Mp(ctx g.Ctx, req *v1.UserLoginMpReq) (res *v.BaseRes, err error)

Mp 公众号登录

func (*UserLoginController) Password

func (c *UserLoginController) Password(ctx g.Ctx, req *v1.UserLoginPasswordReq) (res *v.BaseRes, err error)

Password 密码登录

func (*UserLoginController) Phone

func (c *UserLoginController) Phone(ctx g.Ctx, req *v1.UserLoginPhoneReq) (res *v.BaseRes, err error)

Phone 手机验证码登录

func (*UserLoginController) RefreshToken

func (c *UserLoginController) RefreshToken(ctx g.Ctx, req *v1.UserLoginRefreshReq) (res *v.BaseRes, err error)

RefreshToken 刷新token

func (*UserLoginController) SmsCode

func (c *UserLoginController) SmsCode(ctx g.Ctx, req *v1.UserLoginSmsCodeReq) (res *v.BaseRes, err error)

SmsCode 发送短信验证码

func (*UserLoginController) UniPhone

func (c *UserLoginController) UniPhone(ctx g.Ctx, req *v1.UserLoginUniPhoneReq) (res *v.BaseRes, err error)

UniPhone 一键手机号登录

func (*UserLoginController) WxApp

func (c *UserLoginController) WxApp(ctx g.Ctx, req *v1.UserLoginWxAppReq) (res *v.BaseRes, err error)

WxApp 微信APP授权登录

Jump to

Keyboard shortcuts

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