12345678910111213141516171819202122232425262728293031 |
- package logic
- import (
- "context"
- "bp.jydev.jianyu360.cn/BaseService/powerCheckCenter/rpc/internal/svc"
- "bp.jydev.jianyu360.cn/BaseService/powerCheckCenter/rpc/pb"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type DelCheckRedisLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewDelCheckRedisLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DelCheckRedisLogic {
- return &DelCheckRedisLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- // 清除权限缓存
- func (l *DelCheckRedisLogic) DelCheckRedis(in *pb.CheckReq) (*pb.Resp, error) {
- // todo: add your logic here and delete this line
- return &pb.Resp{}, nil
- }
|