shish před 4 roky
rodič
revize
4774ce268c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app-hd/controllers/GhsController.php

+ 1 - 1
app-hd/controllers/GhsController.php

@@ -65,7 +65,7 @@ class GhsController extends BaseController
             $hb = RechargeHbClass::getByCondition(['shopId' => $ghsShopId, 'delStatus' => 0], true, 'totalHb DESC');
             $hb = RechargeHbClass::getByCondition(['shopId' => $ghsShopId, 'delStatus' => 0], true, 'totalHb DESC');
             $ghs['hasRechargeHbAmount'] = $hb->totalHb ?? 0;
             $ghs['hasRechargeHbAmount'] = $hb->totalHb ?? 0;
 
 
-            $map = CustomClass::$levelMap;
+            $map = CustomClass::$nickNameMap;
             $giveLevel = $ghs['giveLevel'] ?? 0;
             $giveLevel = $ghs['giveLevel'] ?? 0;
             $ghs['giveLevelName'] = $map[$giveLevel] ?? '';
             $ghs['giveLevelName'] = $map[$giveLevel] ?? '';