cdk全渠道需求

back_recharge
zhangshanxue 2020-03-09 11:02:06 +08:00
parent 1436f647ff
commit 674d88210e
1 changed files with 2 additions and 2 deletions

View File

@ -68,10 +68,10 @@ public class ExchangeCdkHandler extends BaseHandler<PlayerInfoProto.ExchangeCdkR
}
//pid
if(user.getPlayerInfoManager().getPid()!=scdkInfo.getPid())
{
if(user.getPlayerInfoManager().getPid()!=-2&&user.getPlayerInfoManager().getPid()!=scdkInfo.getPid()){
throw new ErrorCodeException(ErrorCode.CDK_FAIL);
}
int usetype = scdkInfo.getUsetype();
if (usetype == 0) {//只能兑换一次
if (cdkInfo.getStatus() == 1) {