本协议由以下双方于{$time}签订:
-合同编号:WM-SY-XYN20190001
+合同编号:{$sn}
甲方:海南万盟天下科技有限公司
注册地址:海南省海口市南海大道26号海口国家高新区创业孵化中心A楼5层A1-1268室
联系电话:13067391751
diff --git a/Application/Admin/Controller/PromoteCoinController.class.php b/Application/Admin/Controller/PromoteCoinController.class.php index a4dd37503..8bd39244f 100644 --- a/Application/Admin/Controller/PromoteCoinController.class.php +++ b/Application/Admin/Controller/PromoteCoinController.class.php @@ -110,9 +110,6 @@ class PromoteCoinController extends ThinkController public function deduct() { - if (empty(I('user_id'))) { - $this->error('请输入正确的玩家账号'); - } $this->m_title = '平台币收回'; $this->assign('commonset', M('Kuaijieicon')->where(['url' => 'PromoteCoin/deduct_lists', 'status' => 1])->find()); $this->add(2, 'deduct_lists', $_REQUEST['typee'] ? $_REQUEST['typee'] : 1); @@ -137,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/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/Controller/SafeController.class.php b/Application/Home/Controller/SafeController.class.php index c92560c71..1fa30b410 100644 --- a/Application/Home/Controller/SafeController.class.php +++ b/Application/Home/Controller/SafeController.class.php @@ -321,8 +321,11 @@ class SafeController extends BaseController{ public function safeDocument() { $time = time(); $endTime = date('Y-m-d',strtotime('+1 year')); + $loginPromote = $this->getLoginPromote(); + $sn = date('Ymd' . $loginPromote['create_time']) . '-' . strtoupper(substr(md5($loginPromote['id']), 8, 16)); $this->assign('time',date('Y-m-d',$time)); $this->assign('endTime',$endTime); + $this->assign('sn',$sn); $this->display(); } } \ No newline at end of file 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 @@ diff --git a/Application/Home/View/default/Safe/safeDocument.html b/Application/Home/View/default/Safe/safeDocument.html index b40b7da86..9a0b21d5a 100644 --- a/Application/Home/View/default/Safe/safeDocument.html +++ b/Application/Home/View/default/Safe/safeDocument.html @@ -50,7 +50,7 @@ and open the template in the editor.
本协议由以下双方于{$time}签订:
-合同编号:WM-SY-XYN20190001
+合同编号:{$sn}
甲方:海南万盟天下科技有限公司
注册地址:海南省海口市南海大道26号海口国家高新区创业孵化中心A楼5层A1-1268室
联系电话:13067391751