common

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QrCode

func QrCode(ctx *gin.Context)

QrCode 生成二维码图片 @route /api/v1/common/qr_code

Types

type AreaController added in v0.3.0

type AreaController struct {
	// contains filtered or unexported fields
}

func NewAreaController added in v0.3.0

func NewAreaController(areaService common.AreaApplicationService) *AreaController

func (*AreaController) Area added in v0.3.0

func (c *AreaController) Area(ctx *gin.Context)

Area 获取地区信息 @router /api/v1/common/area [POST]

func (*AreaController) CascadeArea added in v0.3.0

func (c *AreaController) CascadeArea(ctx *gin.Context)

CascadeArea 级联获取地区信息 @router /api/v1/common/area/cascade [POST]

type ValidCodeController added in v0.3.0

type ValidCodeController struct {
	// contains filtered or unexported fields
}

func NewValidCodeController added in v0.3.0

func NewValidCodeController(validCodeService common.ValidCodeApplicationService) *ValidCodeController

func (*ValidCodeController) SendValidCode added in v0.3.0

func (c *ValidCodeController) SendValidCode(ctx *gin.Context)

SendValidCode 发送验证码 @router /api/v1/common/valid_code/send [POST]

func (*ValidCodeController) VerifyValidCode added in v0.3.0

func (c *ValidCodeController) VerifyValidCode(ctx *gin.Context)

VerifyValidCode 验证验证码 @router /api/v1/common/valid_code/verify [POST]

Jump to

Keyboard shortcuts

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