// Code scaffolded by goctl. Safe to edit. // goctl 1.10.1 package channel 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 UpdateChannelLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } // 更新频道 func NewUpdateChannelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateChannelLogic { return &UpdateChannelLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *UpdateChannelLogic) UpdateChannel(req *types.ChannelUpdateReq) error { // todo: add your logic here and delete this line return nil }