feat: user items

This commit is contained in:
zzw
2026-08-24 15:57:08 +08:00
parent b7769ece4c
commit 132fb7c357
29 changed files with 1599 additions and 2031 deletions
@@ -0,0 +1,29 @@
// Code generated by goctl. DO NOT EDIT.
// goctl 1.10.1
// Source: chore.proto
package server
import (
"context"
"lone-services/rpc/chore/pb"
"lone-services/services/chore/internal/logic"
"lone-services/services/chore/internal/svc"
)
type ChoreServer struct {
svcCtx *svc.ServiceContext
chore.UnimplementedChoreServer
}
func NewChoreServer(svcCtx *svc.ServiceContext) *ChoreServer {
return &ChoreServer{
svcCtx: svcCtx,
}
}
func (s *ChoreServer) Policy(ctx context.Context, in *chore.PolicyReq) (*chore.Response, error) {
l := logic.NewPolicyLogic(ctx, s.svcCtx)
return l.Policy(in)
}