Files
sundynix-micro-be/app/radio/api/internal/logic/voice/createVoiceLogic.go
T
2026-04-27 00:02:18 +08:00

35 lines
682 B
Go

// Code scaffolded by goctl. Safe to edit.
// goctl 1.10.1
package voice
import (
"context"
"sundynix-micro-go/app/radio/api/internal/svc"
"sundynix-micro-go/app/radio/api/internal/types"
"github.com/zeromicro/go-zero/core/logx"
)
type CreateVoiceLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
// 创建音色
func NewCreateVoiceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateVoiceLogic {
return &CreateVoiceLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *CreateVoiceLogic) CreateVoice(req *types.VoiceReq) error {
// todo: add your logic here and delete this line
return nil
}