cdk全渠道需求
parent
1436f647ff
commit
674d88210e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue