管理后台>推广员>结算管理>公会分成管理--更新

master
chenxiaojun 5 years ago
parent 319dde1090
commit 66d68b0b49

@ -116,14 +116,23 @@ class PromoteGameRatioController extends ThinkController
$thisTurnoverRatios = $promoteGameRatio['turnover_ratio'] ? json_decode($promoteGameRatio['turnover_ratio'], true) : [];
$thisRatioDtl = "默认:{$promoteGameRatio['ratio']}%";
if ($thisTurnoverRatios) {
if (I('export', 0) == 1) {
$symbol = "\n";
} else {
$symbol = "<br>";
}
foreach ($thisTurnoverRatios as $thisTurnoverRatio) {
$thisIntervalClosedStatusText = isset($thisTurnoverRatio['instanceof']) ? ($thisTurnoverRatio['instanceof'] == 1 ? '≥' : '>') : '≥';
$thisRatioDtl .= "<br>月流水{$thisIntervalClosedStatusText}{$thisTurnoverRatio['turnover']},比例:{$thisTurnoverRatio['ratio']}%";
$thisRatioDtl .= "{$symbol}月流水{$thisIntervalClosedStatusText}{$thisTurnoverRatio['turnover']},比例:{$thisTurnoverRatio['ratio']}%";
}
}
$thisLastRatioStatus = $promoteGameRatio['last_ratio_status'];
$thisStatusText = self::$statusList[$promoteGameRatio['status']];
if (I('export', 0) == 1) {
$thisStatusText = ($promoteGameRatio['status'] == -1) ? $thisStatusText : $thisStatusText;
} else {
$thisStatusText = ($promoteGameRatio['status'] == -1) ? '<span style="color: red;">' . $thisStatusText . '</span>' : $thisStatusText;
}
$thisApplicant = get_admin_account($promoteGameRatio['applicant_id']);
$thisReviewer = $promoteGameRatio['reviewer_id'] ? get_admin_account($promoteGameRatio['reviewer_id']) : '待确认';
$thisBeninTime = date('Y/m', $promoteGameRatio['begin_time']);
@ -181,9 +190,12 @@ class PromoteGameRatioController extends ThinkController
'promote_create_time' => '注册时间',
'promote_status_text' => '状态',
'promote_ver_status_text' => '身份状态',
'company_name' => '推广公司',
'company_belong' => '工会归属',
'game_name' => '已申请游戏',
'game_type_name' => '游戏类型',
'last_ratio' => '原分成比例',
'ratio' => '当前分成比例',
'ratio_dtl' => '公会阶梯比例详细信息',
'valid_date' => '开始时间',
'remark' => '备注',
'status_text' => '分成比例审核',

Loading…
Cancel
Save