123456789101112131415161718192021222324252627282930 |
- package logic
- import (
- "context"
- "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/svc"
- "bp.jydev.jianyu360.cn/BaseService/biService/rpc/pb"
- "bp.jydev.jianyu360.cn/BaseService/biService/service"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type GetInfoIdLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewGetInfoIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetInfoIdLogic {
- return &GetInfoIdLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- func (l *GetInfoIdLogic) GetInfoId(in *pb.AddProjectReq) (*pb.GetInfoIdResp, error) {
- // todo: add your logic here and delete this line
- return service.GetInfoId(in), nil
- }
|