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