From 5c747c6dfddde5d0f00be123f141fb14a0ef8cb3 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Tue, 15 Nov 2022 22:35:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PaymentMerchantController.class.php | 2 +- .../View/PaymentMerchant/masterForm.html | 4 +- .../View/PaymentMerchant/masterRules.html | 39 +++++++++++-------- 3 files changed, 26 insertions(+), 19 deletions(-) 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 @@ *首充限制: -