diff --git a/Application/Admin/Controller/PromoteCoinController.class.php b/Application/Admin/Controller/PromoteCoinController.class.php index c0cc1bc28..8bd39244f 100644 --- a/Application/Admin/Controller/PromoteCoinController.class.php +++ b/Application/Admin/Controller/PromoteCoinController.class.php @@ -134,6 +134,9 @@ class PromoteCoinController extends ThinkController } //平台币修改 if ($tt == 1) { + if (empty(I('user_id'))) { + $this->error('请输入正确的玩家账号'); + } $res = D('User')->edit_user_balance_coin(I('user_id'), abs(I('num'))); } else { $promoteService = new PromoteService(); diff --git a/Application/Admin/View/PromoteCoin/deduct.html b/Application/Admin/View/PromoteCoin/deduct.html index c25e4db67..7a039908e 100644 --- a/Application/Admin/View/PromoteCoin/deduct.html +++ b/Application/Admin/View/PromoteCoin/deduct.html @@ -161,6 +161,8 @@ $('#user_account').change(function () { var msgElement = $('.user-account-msg'); msgElement.text(data.msg); msgElement.show(); + $('#user_id').val(''); + $(".coin_yue2").val('0.00'); } }, error:function (result) { diff --git a/Application/Home/Controller/FinanceController.class.php b/Application/Home/Controller/FinanceController.class.php index becfd41c7..c73f1a300 100644 --- a/Application/Home/Controller/FinanceController.class.php +++ b/Application/Home/Controller/FinanceController.class.php @@ -420,6 +420,9 @@ class FinanceController extends BaseController $list['create_time'] = date('Y-m-d H:i:s', $list['create_time']); $list['settlement_end_time'] = date('Y-m-d H:i:s', $list['settlement_end_time']); $list['status_name'] = FinanceController::$withdrawStatus[$list['status']]; + if ($list['status'] == -1) { + $list['status_name'] = '' . $list['status_name'] . ''; + } } } diff --git a/Application/Home/View/default/Finance/settlementDtl.html b/Application/Home/View/default/Finance/settlementDtl.html index 974d96336..2cbb07ea2 100644 --- a/Application/Home/View/default/Finance/settlementDtl.html +++ b/Application/Home/View/default/Finance/settlementDtl.html @@ -204,6 +204,8 @@