Files
juwan-backend/app/users/api/internal/logic/user/followUserLogic.go
T
2026-02-27 19:17:01 +08:00

35 lines
696 B
Go

// Code scaffolded by goctl. Safe to edit.
// goctl 1.9.2
package user
import (
"context"
"juwan-backend/app/users/api/internal/svc"
"juwan-backend/app/users/api/internal/types"
"github.com/zeromicro/go-zero/core/logx"
)
type FollowUserLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
// 关注用户
func NewFollowUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FollowUserLogic {
return &FollowUserLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *FollowUserLogic) FollowUser(req *types.FollowUserReq) (resp *types.EmptyResp, err error) {
// todo: add your logic here and delete this line
return
}