common

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AreaApplicationService

type AreaApplicationService interface {
	Area(ctx context.Context, areaType string, parentAreaId string) ([]common.Area, error)
	CascadeArea(ctx context.Context, provinceAreaId string, cityAreaId string, countyAreaId string) (*common.CascadeArea, error)
}

func NewAreaApplicationService

func NewAreaApplicationService(areaDomainService service.AreaDomainService) AreaApplicationService

type ValidCodeApplicationService

type ValidCodeApplicationService interface {
	SendValidCode(ctx context.Context, sender, bizType, account string) error
	VerifyValidCode(ctx context.Context, sender, bizType, account, code string) error
}

ValidCodeApplicationService 验证码应用服务

func NewValidCodeAppService

func NewValidCodeAppService(validCodeDomainService service.ValidCodeDomainService) ValidCodeApplicationService

Jump to

Keyboard shortcuts

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