32 lines
669 B
Go
32 lines
669 B
Go
package postservicelogic
|
|
|
|
import (
|
|
"context"
|
|
|
|
"app-cloudep-feed-service/gen_result/pb/feed"
|
|
"app-cloudep-feed-service/internal/svc"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
type LikeListLogic struct {
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
logx.Logger
|
|
}
|
|
|
|
func NewLikeListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LikeListLogic {
|
|
return &LikeListLogic{
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
Logger: logx.WithContext(ctx),
|
|
}
|
|
}
|
|
|
|
// LikeList 取得讚/不讚列表
|
|
func (l *LikeListLogic) LikeList(in *feed.LikeListReq) (*feed.LikeListResp, error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return &feed.LikeListResp{}, nil
|
|
}
|