This commit is contained in:
hujiabin 2024-04-16 21:22:17 +08:00
parent 315cd9702d
commit e478d73cbd

View File

@ -887,9 +887,9 @@ class Hero extends BaseModel {
} }
public static function verifyValid($hero){ public static function verifyValid($hero){
if (empty($hero['token_id'])){ // if (empty($hero['token_id'])){
return false; // return false;
} // }
$heroMeta = \mt\Item::get($hero['hero_id']); $heroMeta = \mt\Item::get($hero['hero_id']);
$heroAtteMeta = \mt\EconomyAttribute::findByGrade($heroMeta['relationship'],$hero['quality']); $heroAtteMeta = \mt\EconomyAttribute::findByGrade($heroMeta['relationship'],$hero['quality']);