1
This commit is contained in:
parent
a93f8e9fdb
commit
f0380ec20a
@ -96,7 +96,7 @@ class User extends BaseModel {
|
|||||||
public static function info($row)
|
public static function info($row)
|
||||||
{
|
{
|
||||||
mt\LevelUp::getExpByLv($row['level'],$row['exp']);
|
mt\LevelUp::getExpByLv($row['level'],$row['exp']);
|
||||||
$heroDb = Hero::find($row['hero_id']);
|
$heroDb = Hero::findByAccountId($row['account_id'],$row['hero_id']);
|
||||||
if ($heroDb){
|
if ($heroDb){
|
||||||
$heroId = $heroDb['hero_id'];
|
$heroId = $heroDb['hero_id'];
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user