2025-01-15 05:17:30 +00:00
|
|
|
package commentlogic
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2025-01-15 05:46:36 +00:00
|
|
|
"code.30cm.net/digimon/app-cloudep-comment-server/gen_result/pb/comment"
|
|
|
|
"code.30cm.net/digimon/app-cloudep-comment-server/internal/svc"
|
2025-01-15 05:17:30 +00:00
|
|
|
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
|
|
)
|
|
|
|
|
|
|
|
type EmptyLogic struct {
|
|
|
|
ctx context.Context
|
|
|
|
svcCtx *svc.ServiceContext
|
|
|
|
logx.Logger
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewEmptyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *EmptyLogic {
|
|
|
|
return &EmptyLogic{
|
|
|
|
ctx: ctx,
|
|
|
|
svcCtx: svcCtx,
|
|
|
|
Logger: logx.WithContext(ctx),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (l *EmptyLogic) Empty(in *comment.NoneReq) (*comment.OKResp, error) {
|
|
|
|
// todo: add your logic here and delete this line
|
|
|
|
|
|
|
|
return &comment.OKResp{}, nil
|
|
|
|
}
|