common

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AreaAppService

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

AreaAppService 地区应用服务

func InitAreaAppService

func InitAreaAppService() AreaAppService

func NewAreaAppService

func NewAreaAppService(areaDomainService common.AreaDomainService) AreaAppService

type ValidCodeAppService

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

ValidCodeAppService 验证码应用服务

func InitValidCodeAppService

func InitValidCodeAppService() ValidCodeAppService

func NewValidCodeAppService

func NewValidCodeAppService(validCodeDomainService common.ValidCodeDomainService) ValidCodeAppService

Jump to

Keyboard shortcuts

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