init: init refactor

This commit is contained in:
Blizzard
2026-04-27 00:02:18 +08:00
commit e515f6a287
360 changed files with 30713 additions and 0 deletions
@@ -0,0 +1,34 @@
// Code scaffolded by goctl. Safe to edit.
// goctl 1.10.1
package analytics
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 GetChannelAnalyticsLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
// 频道数据
func NewGetChannelAnalyticsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetChannelAnalyticsLogic {
return &GetChannelAnalyticsLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *GetChannelAnalyticsLogic) GetChannelAnalytics(req *types.AnalyticsReq) error {
// todo: add your logic here and delete this line
return nil
}