Ver código fonte

fix:id加密修改

duxin 2 anos atrás
pai
commit
c5aee71697

+ 2 - 1
jyBXSubscribe/rpc/internal/logic/bypushhistorylogic.go

@@ -1,6 +1,7 @@
 package logic
 
 import (
+	"app.yhyue.com/moapp/jybase/encrypt"
 	"context"
 	"github.com/zeromicro/go-zero/core/logx"
 	IC "jyBXSubscribe/rpc/init"
@@ -98,6 +99,6 @@ func (l *ByPushHistoryLogic) ByPushHistory(in *bxsubscribe.SubscribeInfosReq) (*
 	}
 
 	return &bxsubscribe.ByPushHistoryResp{
-		Data: util.EncodeId(_id),
+		Data: encrypt.SE.Encode2Hex(_id),
 	}, nil
 }