1
This commit is contained in:
parent
eff54150eb
commit
4d9a8b03f7
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user