Files
gjs be8f89f449
CI / changes (push) Successful in 5s
CI / docker-bff (push) Failing after 7s
CI / docker-product (push) Failing after 5s
CI / docker-admin (push) Failing after 4s
CI / docker-user (push) Failing after 6s
change layout
2026-08-20 15:41:44 +08:00

30 lines
626 B
Go

package logic
import (
"context"
lonelog "lone-services/rpc/lonelog/pb"
"lone-services/services/lonelog/internal/svc"
"github.com/zeromicro/go-zero/core/logx"
)
type ActionAddLogic struct {
ctx context.Context
svcCtx *svc.ServiceContext
logx.Logger
}
func NewActionAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ActionAddLogic {
return &ActionAddLogic{
ctx: ctx,
svcCtx: svcCtx,
Logger: logx.WithContext(ctx),
}
}
func (l *ActionAddLogic) ActionAdd(in *lonelog.ActionLog) (*lonelog.Response, error) {
// todo: add your logic here and delete this line
return &lonelog.Response{}, nil
}