31 lines
666 B
Go
31 lines
666 B
Go
|
package member
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"app-cloudep-portal-api-gateway/internal/svc"
|
||
|
"app-cloudep-portal-api-gateway/internal/types"
|
||
|
|
||
|
"github.com/zeromicro/go-zero/core/logx"
|
||
|
)
|
||
|
|
||
|
type CheckVerifyCodeLogic struct {
|
||
|
logx.Logger
|
||
|
ctx context.Context
|
||
|
svcCtx *svc.ServiceContext
|
||
|
}
|
||
|
|
||
|
func NewCheckVerifyCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckVerifyCodeLogic {
|
||
|
return &CheckVerifyCodeLogic{
|
||
|
Logger: logx.WithContext(ctx),
|
||
|
ctx: ctx,
|
||
|
svcCtx: svcCtx,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (l *CheckVerifyCodeLogic) CheckVerifyCode(req *types.CheckoutVerifyReq) (resp *types.BaseResponse, err error) {
|
||
|
// todo: add your logic here and delete this line
|
||
|
|
||
|
return
|
||
|
}
|