diff --git a/Application/Admin/Controller/PaymentMerchantController.class.php b/Application/Admin/Controller/PaymentMerchantController.class.php index caf9137ef..ebb8baa29 100644 --- a/Application/Admin/Controller/PaymentMerchantController.class.php +++ b/Application/Admin/Controller/PaymentMerchantController.class.php @@ -938,7 +938,7 @@ class PaymentMerchantController extends ThinkController $gameService = new GameService(); $games = $gameService->getBaseGames(); - $gameNameMap = array_column($games, 'id', 'name'); + $gameNameMap = array_column($games, 'name', 'id'); $records = []; foreach ($items as $item) { diff --git a/Application/Admin/View/PaymentMerchant/masterForm.html b/Application/Admin/View/PaymentMerchant/masterForm.html index ec261eb35..a9c04ee7c 100644 --- a/Application/Admin/View/PaymentMerchant/masterForm.html +++ b/Application/Admin/View/PaymentMerchant/masterForm.html @@ -102,10 +102,10 @@ *首充限制: -