2025-03-28 17:51:34 +08:00

18 lines
250 B
Go

package common
type CommonBiz interface {
CaptchaBiz() CaptchaBiz
}
type commonBiz struct{}
var _ CommonBiz = (*commonBiz)(nil)
func New() *commonBiz {
return &commonBiz{}
}
func (b *commonBiz) CaptchaBiz() CaptchaBiz {
return NewCaptcha()
}