1
This commit is contained in:
parent
5f9f2748ce
commit
aa489c11e7
@ -67,6 +67,11 @@ class BlockChainController extends BaseAuthedController {
|
||||
myself()->_rspErr(1, 'hero no seal');
|
||||
return;
|
||||
}
|
||||
if ($heroDb['quality'] <= 1) {
|
||||
myself()->_rspErr(1, 'hero is N quality');
|
||||
return;
|
||||
}
|
||||
|
||||
$isMint = true;
|
||||
$tokenId = $heroDb['token_id'];
|
||||
if ($heroDb['token_id'] && $heroDb['activate']) {
|
||||
|
@ -39,6 +39,10 @@ class OutAppMintController extends BaseController {
|
||||
myself()->_rspErr(1, 'hero not found');
|
||||
return;
|
||||
}
|
||||
if (!$heroDb['seal_type']) {
|
||||
myself()->_rspErr(1, 'hero is no seal');
|
||||
return;
|
||||
}
|
||||
if ($heroDb['quality'] <= 1) {
|
||||
myself()->_rspErr(1, 'hero is N quality');
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user