|
|
@@ -555,14 +555,14 @@ class BetService extends BaseService
|
|
|
|
|
|
$total_amount = BalanceLogService::model()::where('member_id', $memberId)->where('change_type', '中奖')->sum('amount');
|
|
|
$total_amount = number_format($total_amount, 2);
|
|
|
- $text = "历史注单 \n";
|
|
|
- $text .= "中奖总派彩:{$total_amount} \n";
|
|
|
+ $text = lang("历史注单")." \n";
|
|
|
+ $text .= lang("中奖总派彩").":{$total_amount} \n";
|
|
|
foreach ($list as $k => $v) {
|
|
|
if ($v->status == self::model()::STATUS_SETTLED) {
|
|
|
$phase = $v->profit - $v->amount;
|
|
|
|
|
|
} else {
|
|
|
- $phase = '待开奖';
|
|
|
+ $phase = lang('待开奖');
|
|
|
}
|
|
|
|
|
|
$text .= "-------------------------------------\n";
|
|
|
@@ -575,9 +575,9 @@ class BetService extends BaseService
|
|
|
$msg['text'] = $text;
|
|
|
|
|
|
$keyboard[] = [
|
|
|
- ['text' => "全部", 'callback_data' => "betRecordType@@0"],
|
|
|
- ['text' => "盈利", 'callback_data' => "betRecordType@@1"],
|
|
|
- ['text' => "亏损", 'callback_data' => "betRecordType@@2"]
|
|
|
+ ['text' => lang("全部"), 'callback_data' => "betRecordType@@0"],
|
|
|
+ ['text' => lang("盈利"), 'callback_data' => "betRecordType@@1"],
|
|
|
+ ['text' => lang("亏损"), 'callback_data' => "betRecordType@@2"]
|
|
|
];
|
|
|
|
|
|
if ($page > 1) {
|