测试账号冻结状态需要的字段修改

master
zyx 5 years ago
parent 5ffc0bf9b0
commit bb3109f5d3

@ -39,7 +39,7 @@ class TestResourceController extends BaseController
$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')
->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,lock_status as check_status')
->join('left join tab_user as user on tab_test_resource.user_id = user.id')
->where($map)
->page($page,$row)
@ -74,7 +74,7 @@ class TestResourceController extends BaseController
}
$data = [
'check_status' => 0
'lock_status' => 0
];
$isFreeze = M('user','tab_')->where("id=".$supportId)->save($data);
@ -93,7 +93,7 @@ class TestResourceController extends BaseController
}
$data = [
'check_status' => 1
'lock_status' => 1
];
$isFreeze = M('user','tab_')->where("id=".$supportId)->save($data);

Loading…
Cancel
Save