Files
zzw 1d41d7ca7e
CI / changes (push) Successful in 12s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 3s
CI / chore (push) Successful in 0s
CI / express (push) Successful in 0s
CI / product (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 31s
fix: wecom types agent
2026-08-31 14:22:46 +08:00

60 lines
1.6 KiB
Go

// Code generated by goctl. DO NOT EDIT.
// goctl 1.10.1
// Source: wecom.proto
package server
import (
"context"
"lone-services/rpc/wecom/pb"
"lone-services/services/wecom/internal/logic"
"lone-services/services/wecom/internal/svc"
)
type WecomServer struct {
svcCtx *svc.ServiceContext
wecom.UnimplementedWecomServer
}
func NewWecomServer(svcCtx *svc.ServiceContext) *WecomServer {
return &WecomServer{
svcCtx: svcCtx,
}
}
func (s *WecomServer) ItemsUsers(ctx context.Context, in *wecom.ItemsUserReq) (*wecom.Response, error) {
l := logic.NewItemsUsersLogic(ctx, s.svcCtx)
return l.ItemsUsers(in)
}
func (s *WecomServer) CreateUser(ctx context.Context, in *wecom.CreateUserReq) (*wecom.Response, error) {
l := logic.NewCreateUserLogic(ctx, s.svcCtx)
return l.CreateUser(in)
}
func (s *WecomServer) UpdateUser(ctx context.Context, in *wecom.UpdateUserReq) (*wecom.Response, error) {
l := logic.NewUpdateUserLogic(ctx, s.svcCtx)
return l.UpdateUser(in)
}
func (s *WecomServer) StatusUser(ctx context.Context, in *wecom.StatusUserReq) (*wecom.Response, error) {
l := logic.NewStatusUserLogic(ctx, s.svcCtx)
return l.StatusUser(in)
}
func (s *WecomServer) DeleteUser(ctx context.Context, in *wecom.DeleteUserReq) (*wecom.Response, error) {
l := logic.NewDeleteUserLogic(ctx, s.svcCtx)
return l.DeleteUser(in)
}
func (s *WecomServer) ItemsAgents(ctx context.Context, in *wecom.EmptyReq) (*wecom.Response, error) {
l := logic.NewItemsAgentsLogic(ctx, s.svcCtx)
return l.ItemsAgents(in)
}
func (s *WecomServer) Types(ctx context.Context, in *wecom.EmptyReq) (*wecom.Response, error) {
l := logic.NewTypesLogic(ctx, s.svcCtx)
return l.Types(in)
}