From 4a69622b01cc9dc67d39a10ec89a88066afdeb88 Mon Sep 17 00:00:00 2001 From: ly <316606755@qq.com> Date: Sun, 7 Feb 2021 10:01:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=9D=E5=A4=96=E9=A2=9D=E5=BA=A6=E5=A4=87?= =?UTF-8?q?=E6=B3=A8=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/TestingResource/index.html | 6 ++++-- .../Base/Repository/TestingResourceRepository.class.php | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Application/Admin/View/TestingResource/index.html b/Application/Admin/View/TestingResource/index.html index 59e7428ae..f9afa4690 100644 --- a/Application/Admin/View/TestingResource/index.html +++ b/Application/Admin/View/TestingResource/index.html @@ -168,7 +168,7 @@ aOh! 暂时还没有内容! - + @@ -250,7 +250,7 @@
- +
@@ -345,8 +345,10 @@ var tr = $(this).parents('tr').eq(0) var id = tr.attr('data-id') var otherQuota = tr.attr('data-other-quota') + var otherQuotaRemark = tr.attr('data-other-quota-remark') box.find('[name=id]').val(id) box.find('[name=other_quota]').val(otherQuota) + box.find('[name=other_quota_remark]').val(otherQuotaRemark) layer.open({ title: '设置额外额度', type: 1, diff --git a/Application/Base/Repository/TestingResourceRepository.class.php b/Application/Base/Repository/TestingResourceRepository.class.php index a75ee3424..c4821b93e 100644 --- a/Application/Base/Repository/TestingResourceRepository.class.php +++ b/Application/Base/Repository/TestingResourceRepository.class.php @@ -508,6 +508,7 @@ class TestingResourceRepository 'bind_role_name' => $bindingRole ? $bindingRole['role_name'] : '', 'base_quota' => $gameSetting ? $gameSetting['base_quota'] : 0, 'other_quota' => intval($role['testing_other_quota']), + 'other_quota_remark' => $role['testing_other_quota_remark'], 'quota' => $quota, 'verify_amount' => $verifyRecords[$role['game_role_id']] ?? 0, 'provide_amount' => $provideRecords[$role['game_role_id']] ?? 0,