This commit is contained in:
aozhiwei 2022-11-04 12:56:26 +08:00
parent eff54150eb
commit 4d9a8b03f7

View File

@ -263,6 +263,20 @@ class BlockChainController extends BaseAuthedController {
myself()->_rspErr(101, 'token_ids paramater error'); myself()->_rspErr(101, 'token_ids paramater error');
return; return;
} }
if (count($heros) > 0) {
if (count($heros) != 8 || count($specGuns) > 0) {
myself()->_rspErr(101, 'token_ids paramater error');
return;
}
} else if (count($guns) > 0) {
if (count($guns) != 8 || count($specHeros) > 0) {
myself()->_rspErr(101, 'token_ids paramater error');
return;
}
} else {
myself()->_rspErr(101, 'token_ids paramater error');
return;
}
} }
$tokenId = BuyRecord::genOrderId $tokenId = BuyRecord::genOrderId