delcheckredislogic.go 694 B

12345678910111213141516171819202122232425262728293031
  1. package logic
  2. import (
  3. "context"
  4. "bp.jydev.jianyu360.cn/BaseService/powerCheckCenter/rpc/internal/svc"
  5. "bp.jydev.jianyu360.cn/BaseService/powerCheckCenter/rpc/pb"
  6. "github.com/zeromicro/go-zero/core/logx"
  7. )
  8. type DelCheckRedisLogic struct {
  9. ctx context.Context
  10. svcCtx *svc.ServiceContext
  11. logx.Logger
  12. }
  13. func NewDelCheckRedisLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DelCheckRedisLogic {
  14. return &DelCheckRedisLogic{
  15. ctx: ctx,
  16. svcCtx: svcCtx,
  17. Logger: logx.WithContext(ctx),
  18. }
  19. }
  20. // 清除权限缓存
  21. func (l *DelCheckRedisLogic) DelCheckRedis(in *pb.CheckReq) (*pb.Resp, error) {
  22. // todo: add your logic here and delete this line
  23. return &pb.Resp{}, nil
  24. }