From a12002a56721e269b55b186d58906d68c2f7bd44 Mon Sep 17 00:00:00 2001 From: zyx Date: Thu, 17 Oct 2019 18:16:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B6=E6=8C=81=E8=B4=A6=E5=8F=B7=E7=9A=84?= =?UTF-8?q?=E7=99=BB=E5=BD=95bug=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TestResourceController.class.php | 1 + .../TestResource/supportNumberList.html | 25 +++---------------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/Application/Home/Controller/TestResourceController.class.php b/Application/Home/Controller/TestResourceController.class.php index 293d40906..55a603c31 100644 --- a/Application/Home/Controller/TestResourceController.class.php +++ b/Application/Home/Controller/TestResourceController.class.php @@ -37,6 +37,7 @@ class TestResourceController extends BaseController $map['tab_test_resource.promote_account']=I('promote_name'); } + $map['user.promote_id']=session("promote_auth.pid"); $data = M('test_resource','tab_') ->field('tab_test_resource.id,tab_test_resource.user_id,tab_test_resource.game_name,tab_test_resource.server_name,tab_test_resource.user_account,tab_test_resource.promote_account,tab_test_resource.role_name,tab_test_resource.create_time,device_number,check_status') ->join('left join tab_user as user on tab_test_resource.user_id = user.id') diff --git a/Application/Home/View/default/TestResource/supportNumberList.html b/Application/Home/View/default/TestResource/supportNumberList.html index 137979270..1843338e2 100644 --- a/Application/Home/View/default/TestResource/supportNumberList.html +++ b/Application/Home/View/default/TestResource/supportNumberList.html @@ -117,7 +117,7 @@

暂无数据

- + {$s.game_name} {$s.server_name} {$s.user_account} @@ -129,13 +129,13 @@ - 冻结 + 冻结 启用 {$s.create_time} - + 冻结 启用 @@ -377,25 +377,6 @@ } }) - $('.unfroze-btn').on({ - click: function() { - var id = $(this).parents('tr').eq(0).attr('data-id') - layer.confirm('是否确认启用帐号?', {icon: 3, title:'提示'}, function(index){ - $.ajax({ - url: "{:U('TestResource/unfreezeSupport')}", - data: {support_id: id}, - type: 'post', - dataType: 'json', - success: function(response) { - layer.msg(response.msg, {time: 1000}, function() { - window.location.href = window.location.href - }) - } - }) - }) - } - }) - $('.changePassward-btn').on({ click: function() { var id = $(this).attr('data-id')