Browse Source

购买须知

shish 3 years ago
parent
commit
2d22dd466b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app-hd/controllers/GhsController.php

+ 2 - 0
app-hd/controllers/GhsController.php

@@ -100,6 +100,7 @@ class GhsController extends BaseController
             $map = CustomClass::$nickNameMap;
             $map = CustomClass::$nickNameMap;
             $giveLevel = $ghs['giveLevel'] ?? 0;
             $giveLevel = $ghs['giveLevel'] ?? 0;
             $ghs['giveLevelName'] = $map[$giveLevel] ?? '';
             $ghs['giveLevelName'] = $map[$giveLevel] ?? '';
+            $ghs['buyNotice'] = $ghsShop->buyNotice ?? 0;
             $ghs['xrFl'] = $ghsShop->xrFl ?? 0;
             $ghs['xrFl'] = $ghsShop->xrFl ?? 0;
             $ghs['xrFlAmount'] = $ghsShop->xrFlAmount ?? 0;
             $ghs['xrFlAmount'] = $ghsShop->xrFlAmount ?? 0;
             $ghs['tjFl'] = $ghsShop->tjFl ?? 0;
             $ghs['tjFl'] = $ghsShop->tjFl ?? 0;
@@ -125,6 +126,7 @@ class GhsController extends BaseController
                 'tjFl' => 0,
                 'tjFl' => 0,
                 'tjFlAmount' => 0,
                 'tjFlAmount' => 0,
                 'avatar' => $avatar,
                 'avatar' => $avatar,
+                'buyNotice' => 0,
             ];
             ];
         }
         }
         util::success($ghs);
         util::success($ghs);