Merge branch 'dev' of 47.111.118.107:/srv/git/platform into dev

master
ELF 5 years ago
commit 5602892a8f

@ -134,6 +134,9 @@ class PromoteCoinController extends ThinkController
} }
//平台币修改 //平台币修改
if ($tt == 1) { if ($tt == 1) {
if (empty(I('user_id'))) {
$this->error('请输入正确的玩家账号');
}
$res = D('User')->edit_user_balance_coin(I('user_id'), abs(I('num'))); $res = D('User')->edit_user_balance_coin(I('user_id'), abs(I('num')));
} else { } else {
$promoteService = new PromoteService(); $promoteService = new PromoteService();

@ -161,6 +161,8 @@ $('#user_account').change(function () {
var msgElement = $('.user-account-msg'); var msgElement = $('.user-account-msg');
msgElement.text(data.msg); msgElement.text(data.msg);
msgElement.show(); msgElement.show();
$('#user_id').val('');
$(".coin_yue2").val('0.00');
} }
}, },
error:function (result) { error:function (result) {

@ -420,6 +420,9 @@ class FinanceController extends BaseController
$list['create_time'] = date('Y-m-d H:i:s', $list['create_time']); $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['settlement_end_time'] = date('Y-m-d H:i:s', $list['settlement_end_time']);
$list['status_name'] = FinanceController::$withdrawStatus[$list['status']]; $list['status_name'] = FinanceController::$withdrawStatus[$list['status']];
if ($list['status'] == -1) {
$list['status_name'] = '<span style="color: red;">' . $list['status_name'] . '</span>';
}
} }
} }

@ -204,6 +204,8 @@
<script type="text/javascript"> <script type="text/javascript">
$().ready(function () { $().ready(function () {
setValue('row', '{:I("get.row",10)}');
$("#pagehtml a").on("click", function (event) { $("#pagehtml a").on("click", function (event) {
event.preventDefault();//使a自带的方法失效即无法调整到href中的URL(http://www.baidu.com) event.preventDefault();//使a自带的方法失效即无法调整到href中的URL(http://www.baidu.com)
var geturl = $(this).attr('href'); var geturl = $(this).attr('href');

@ -211,6 +211,8 @@
<script type="text/javascript"> <script type="text/javascript">
$().ready(function () { $().ready(function () {
setValue('row', '{:I("get.row",10)}');
$('.back-btn').on('click', function () { $('.back-btn').on('click', function () {
location.href = "{:U('withdrawRecord')}"; location.href = "{:U('withdrawRecord')}";
}); });

@ -206,6 +206,8 @@
<script type="text/javascript"> <script type="text/javascript">
$().ready(function () { $().ready(function () {
setValue('row', '{:I("get.row",10)}');
var date = "{$setdate}"; var date = "{$setdate}";
$('#sdate').datetimepicker({ $('#sdate').datetimepicker({
format: 'yyyy-mm-dd', format: 'yyyy-mm-dd',

Loading…
Cancel
Save