diff --git a/Application/Admin/View/User/rolelist.html b/Application/Admin/View/User/rolelist.html index 634926ab9..8c25ebc62 100644 --- a/Application/Admin/View/User/rolelist.html +++ b/Application/Admin/View/User/rolelist.html @@ -25,6 +25,19 @@ height:26px;line-height:26px;font-size:12px; } .select2-results__option[aria-selected] {font-size:12px;} + .badge { + position: relative; + display: inline-block; + padding: 0 6px; + font-size: 12px; + text-align: center; + background-color: #1E9FFF; + color: #fff; + border-radius: 2px; + height: 18px; + line-height: 18px; + margin-right: 10px; + } @@ -138,7 +138,7 @@
- {$order_info.real_amount} + {$order_info.pay_amount}
diff --git a/Application/Mobile/View/Ssg/home.html b/Application/Mobile/View/Ssg/home.html index ef6f7107f..d8167fd66 100644 --- a/Application/Mobile/View/Ssg/home.html +++ b/Application/Mobile/View/Ssg/home.html @@ -75,7 +75,7 @@ diff --git a/Application/Sdk/Controller/UserController.class.php b/Application/Sdk/Controller/UserController.class.php index 28125e418..ebbfaa7d2 100644 --- a/Application/Sdk/Controller/UserController.class.php +++ b/Application/Sdk/Controller/UserController.class.php @@ -1169,6 +1169,7 @@ class UserController extends BaseController $res = $data = $user_play -> where($map) -> find(); $user = M('user', 'tab_'); $user_data = $user -> find($user_id); + $data['promote_id'] = $request['promote_id']; $data['promote_account'] = get_promote_account($request['promote_id']); $data['game_id'] = $request['game_id']; @@ -1176,7 +1177,7 @@ class UserController extends BaseController $data['server_id'] = $request['server_id']; $data['server_name'] = $request['server_name']; $data['role_name'] = $request['game_player_name']; -// $data['role_name'] = $request['role_name']; + $data['role_id'] = $request['game_player_id']; $data['role_level'] = $request['role_level']; $data['user_id'] = $user_id; $data['user_account'] = $user_data['account']; @@ -1770,6 +1771,24 @@ class UserController extends BaseController if (isset($r['union']) && $r['union'] == 1) $squnion_pay = 1; } + // 双乾银联快捷支付 + $shortcut_pay = 0; + $sqpay = M('tool','tab_')->field('status, config')->where(array('name'=>'sqpay'))->find(); + if ($sqpay['status'] == 1) { + $r = json_decode($sqpay['config'], true); + if (isset($r['shortcut']) && $r['shortcut'] == 1) + $shortcut_pay = 1; + } + $user_id = $request['user_id']; + $game_id = $request['game_id']; + $balance = M ('user', 'tab_')->where (array( + 'id' => $user_id + ))->getField('balance'); + $bind_balance = M('user_play', 'tab_')->where(array( + 'user_id' => $user_id, + 'game_id' => $game_id + ))->getField('bind_balance'); + // pp($squnion_pay); //0:APP 1:WAP $zfb_type = pay_set_status('alipay') == 1 ? (empty(C('alipay.way')) ? 0 : C('alipay.way')) : 1; @@ -1782,7 +1801,11 @@ class UserController extends BaseController 'zfb_type' => $zfb_type, 'ptb_game' => $ptb_game, 'bind_game' => $bind_game, - 'squnion_pay' => $squnion_pay, + 'squnion_pay' => $squnion_pay, // 银联0关 1开 + 'platform_coin' => $balance, + 'bind_coin' => $bind_balance, + 'wx_type' => 0, // 0微信 1 微信小程序 双乾 + 'shortcut_pay' => 0, // 快捷支付 0关 1开 ))); }