WH01243 2 anni fa
parent
commit
f2ea02681e
1 ha cambiato i file con 3 aggiunte e 8 eliminazioni
  1. 3 8
      middleground/powercheckcenter.go

+ 3 - 8
middleground/powercheckcenter.go

@@ -57,20 +57,15 @@ func (p *powerCheckCenter) Check(appid, userId string, baseUserId, accountId, en
 	}
 	return resp
 }
-func (p *powerCheckCenter) DelCheckRedis(appid, userId string, baseUserId, accountId, entId, positionType, positionId int64) *pb.PowerCheckResp {
+func (p *powerCheckCenter) DelCheckRedis(appid string, positionId int64) *pb.PowerCheckResp {
 	client := p.NewClient()
 	if client == nil {
 		return nil
 	}
 	defer client.Conn().Close()
 	resp, err := powercheck.NewPowerCheck(client).DelCheckRedis(context.Background(), &pb.CheckReq{
-		Appid:        appid,
-		Userid:       userId,
-		BaseUserId:   baseUserId,
-		AccountId:    accountId,
-		EntId:        entId,
-		PositionType: positionType,
-		PositionId:   positionId,
+		Appid:      appid,
+		PositionId: positionId,
 	})
 	if err != nil {
 		log.Println(err)