distributeclueshowlogic.go 885 B

12345678910111213141516171819202122232425262728293031
  1. package logic
  2. import (
  3. "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/config"
  4. "context"
  5. "bp.jydev.jianyu360.cn/BaseService/biService/rpc/internal/svc"
  6. "bp.jydev.jianyu360.cn/BaseService/biService/rpc/pb"
  7. "bp.jydev.jianyu360.cn/BaseService/biService/service"
  8. "github.com/zeromicro/go-zero/core/logx"
  9. )
  10. type DistributeClueShowLogic struct {
  11. ctx context.Context
  12. svcCtx *svc.ServiceContext
  13. logx.Logger
  14. }
  15. func NewDistributeClueShowLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DistributeClueShowLogic {
  16. return &DistributeClueShowLogic{
  17. ctx: ctx,
  18. svcCtx: svcCtx,
  19. Logger: logx.WithContext(ctx),
  20. }
  21. }
  22. func (l *DistributeClueShowLogic) DistributeClueShow(in *pb.DistributeClueShowReq) (*pb.DistributeClueShowResp, error) {
  23. // todo: add your logic here and delete this line
  24. return service.DistributeClueShow(in, config.IC.AllocationCap), nil
  25. }