31 lines
636 B
Go
31 lines
636 B
Go
package logic
|
|
|
|
import (
|
|
"context"
|
|
|
|
"sundynix-micro-go/app/radio/rpc/internal/svc"
|
|
"sundynix-micro-go/app/radio/rpc/radio"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
type DeleteVoiceLogic struct {
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
logx.Logger
|
|
}
|
|
|
|
func NewDeleteVoiceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteVoiceLogic {
|
|
return &DeleteVoiceLogic{
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
Logger: logx.WithContext(ctx),
|
|
}
|
|
}
|
|
|
|
func (l *DeleteVoiceLogic) DeleteVoice(in *radio.IdsReq) (*radio.CommonResp, error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return &radio.CommonResp{}, nil
|
|
}
|