|
@@ -35,6 +35,8 @@ class RankList extends BaseController
|
|
|
|
|
|
|
|
// 格式化金额数据
|
|
// 格式化金额数据
|
|
|
foreach ($result['list'] as &$item) {
|
|
foreach ($result['list'] as &$item) {
|
|
|
|
|
+ $item['general_merchant'] = '';
|
|
|
|
|
+ $item['channel'] = '';
|
|
|
$item['total_win'] = CommonUtils::convertBalance($item['total_win'], false);
|
|
$item['total_win'] = CommonUtils::convertBalance($item['total_win'], false);
|
|
|
$item['total_bet'] = CommonUtils::convertBalance($item['total_bet'], false);
|
|
$item['total_bet'] = CommonUtils::convertBalance($item['total_bet'], false);
|
|
|
$item['balance'] = CommonUtils::convertBalance($item['balance'], false);
|
|
$item['balance'] = CommonUtils::convertBalance($item['balance'], false);
|
|
@@ -68,10 +70,11 @@ class RankList extends BaseController
|
|
|
|
|
|
|
|
// 格式化金额数据
|
|
// 格式化金额数据
|
|
|
foreach ($result['list'] as &$item) {
|
|
foreach ($result['list'] as &$item) {
|
|
|
|
|
+ $item['general_merchant'] = '';
|
|
|
|
|
+ $item['channel'] = '';
|
|
|
$item['total_lose'] = CommonUtils::convertBalance($item['total_lose'], false);
|
|
$item['total_lose'] = CommonUtils::convertBalance($item['total_lose'], false);
|
|
|
$item['total_bet'] = CommonUtils::convertBalance($item['total_bet'], false);
|
|
$item['total_bet'] = CommonUtils::convertBalance($item['total_bet'], false);
|
|
|
$item['balance'] = CommonUtils::convertBalance($item['balance'], false);
|
|
$item['balance'] = CommonUtils::convertBalance($item['balance'], false);
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return json_success($result, '获取成功');
|
|
return json_success($result, '获取成功');
|