From 55316d475fb5cb0bbe3eb580786d6b6ae9ae7154 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Tue, 24 Mar 2020 15:17:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/ToolController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Admin/Controller/ToolController.class.php b/Application/Admin/Controller/ToolController.class.php index be5b563cd..7b9c19780 100644 --- a/Application/Admin/Controller/ToolController.class.php +++ b/Application/Admin/Controller/ToolController.class.php @@ -937,13 +937,13 @@ class ToolController extends ThinkController { ->count(); foreach ($datas as $key => $data) { $limit_rule = ''; - if ( $data['user_total_limit']) { + if (!empty(intval($data['user_total_limit']))) { $limit_rule .= '玩家全渠道总流水限额'.$data['user_total_limit']."    "; } - if ( $data['total_limit']) { + if (!empty(intval($data['total_limit']))) { $limit_rule .= '全渠道总流水限额'.$data['total_limit']."    "; } - if ( $data['user_one_limit']) { + if (!empty(intval($data['user_one_limit']))) { $limit_rule .= '玩家单笔限制'.$data['user_one_limit']; } if ($limit_rule == '') {