|
@@ -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)
|