This commit is contained in:
hujiabin 2024-04-29 11:47:43 +08:00
parent a18bc42a28
commit 9e35dba39f

View File

@ -72,7 +72,10 @@ class User extends BaseModel {
public static function show($row)
{
$heroDb = Hero::find($row['hero_id']);
$heroId = 0;
if ($heroDb){
$heroId = $heroDb['hero_id'];
}
$honorInfo = array();
if ($row['address']){
$honorInfo = UserHonor::info($row['address']);