1
This commit is contained in:
parent
d45b7f6647
commit
753a9bcb3a
@ -476,10 +476,10 @@ class BagController extends BaseAuthedController {
|
||||
$this->_rspErr(1, "You don't have the hero yet");
|
||||
return;
|
||||
}
|
||||
if (!$heroDb['token_id']){
|
||||
$this->_rspErr(1, "this hero is not NFT");
|
||||
return;
|
||||
}
|
||||
// if (!$heroDb['token_id']){
|
||||
// $this->_rspErr(1, "this hero is not NFT");
|
||||
// return;
|
||||
// }
|
||||
$this->_decItems(array(
|
||||
array(
|
||||
'item_id' => $itemMeta['id'],
|
||||
@ -509,10 +509,10 @@ class BagController extends BaseAuthedController {
|
||||
$this->_rspErr(1, "Unable to operate the battle hero");
|
||||
return;
|
||||
}
|
||||
if (!$heroDb['token_id']){
|
||||
$this->_rspErr(1, "this hero is not NFT");
|
||||
return;
|
||||
}
|
||||
// if (!$heroDb['token_id']){
|
||||
// $this->_rspErr(1, "this hero is not NFT");
|
||||
// return;
|
||||
// }
|
||||
$this->_decItems(array(
|
||||
array(
|
||||
'item_id' => $itemMeta['id'],
|
||||
|
@ -222,10 +222,10 @@ class HeroController extends BaseAuthedController {
|
||||
$this->_rspErr(100, 'param error or null');
|
||||
return;
|
||||
}
|
||||
if (!$heroDb['token_id']){
|
||||
$this->_rspErr(1, "this hero is not NFT");
|
||||
return;
|
||||
}
|
||||
// if (!$heroDb['token_id']){
|
||||
// $this->_rspErr(1, "this hero is not NFT");
|
||||
// return;
|
||||
// }
|
||||
Hero::update($heroUniId,array(
|
||||
'seal_type' => 0,
|
||||
"unseal_time" => myself()->_getNowTime()
|
||||
|
Loading…
x
Reference in New Issue
Block a user