From e4fd74ca8128f75db2b97ae5e130acd450f40a74 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Mon, 1 Jul 2024 17:06:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=EF=BC=9A=E6=83=A0=E6=B0=91?= =?UTF-8?q?=E7=A7=AF=E5=88=86=20-=20=E8=A1=A5=E5=B7=AE=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E8=BE=BE=E5=88=B0=E6=8C=87=E5=AE=9A=E9=87=91=E9=A2=9D=E6=97=B6?= =?UTF-8?q?=E8=B5=A0=E9=80=81=E4=BC=9A=E5=91=98=E5=8D=A1=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/user/ExchangeQuotaRepository.php | 7 ++----- app/controller/admin/user/ExchangeQuota.php | 5 ++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/app/common/repositories/user/ExchangeQuotaRepository.php b/app/common/repositories/user/ExchangeQuotaRepository.php index 959a1d6..7fc4fa9 100644 --- a/app/common/repositories/user/ExchangeQuotaRepository.php +++ b/app/common/repositories/user/ExchangeQuotaRepository.php @@ -198,14 +198,11 @@ class ExchangeQuotaRepository extends BaseRepository{ 'quota_integral_switch', 'quota_integral_rate', 'quota_integral_diff_rate', - 'quota_integral_upgrade_switch', - 'quota_integral_upgrade_money', - 'quota_integral_upgrade_level', + 'quota_integral_give_money', + 'quota_integral_give_card', ]); // 信息处理 $config['quota_integral_switch'] = (int)$config['quota_integral_switch']; - $config['quota_integral_upgrade_switch'] = (int)$config['quota_integral_upgrade_switch']; - return $config; } diff --git a/app/controller/admin/user/ExchangeQuota.php b/app/controller/admin/user/ExchangeQuota.php index 050bc2d..fd364b4 100644 --- a/app/controller/admin/user/ExchangeQuota.php +++ b/app/controller/admin/user/ExchangeQuota.php @@ -205,9 +205,8 @@ class ExchangeQuota extends BaseController{ ['quota_integral_switch',0], ['quota_integral_rate',0], ['quota_integral_diff_rate',0], - ['quota_integral_upgrade_switch',0], - ['quota_integral_upgrade_money',0], - ['quota_integral_upgrade_level',0], + ['quota_integral_give_money',0], + ['quota_integral_give_card',0], ]); // 保存信息 $cid = app()->make(ConfigClassifyRepository::class)->getConfigClassifyKeyById('quota_config', '额度与积分配置');