31 lines
662 B
Go
31 lines
662 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 CreateAccountLogic struct {
|
|
logx.Logger
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
}
|
|
|
|
func NewCreateAccountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateAccountLogic {
|
|
return &CreateAccountLogic{
|
|
Logger: logx.WithContext(ctx),
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
}
|
|
}
|
|
|
|
func (l *CreateAccountLogic) CreateAccount(req *types.CreateAccountRequest) (resp *types.CreateAccountResp, err error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return
|
|
}
|