|
|
@@ -479,22 +479,22 @@ class BetService extends BaseService
|
|
|
}
|
|
|
|
|
|
if ($issue_no) {
|
|
|
- $text = "期数{$issue_no} \n";
|
|
|
+ $text = lang("期数")." {$issue_no} \n";
|
|
|
// $text .= "\n";
|
|
|
// $text .= "----------\n";
|
|
|
$list = self::findAll(['member_id' => $memberId, 'issue_no' => $issue_no]);
|
|
|
$list = $list->toArray();
|
|
|
if (empty($list)) {
|
|
|
- $text .= "本期暂未下注! \n";
|
|
|
+ $text .= lang("本期暂未下注")."! \n";
|
|
|
} else {
|
|
|
$keywords = implode(',', array_column($list, 'keywords'));
|
|
|
$amounts = implode(',', array_column($list, 'amount'));
|
|
|
|
|
|
|
|
|
- $text .= "下注类型:[" . $keywords . "] \n";
|
|
|
- $text .= "下注金额:" . $amounts . " \n";
|
|
|
- $text .= "下注总额:" . array_sum(array_column($list, 'amount')) . " \n";
|
|
|
- $text .= "开奖状态:等待开奖 \n";
|
|
|
+ $text .= lang("下注类型").":[" . $keywords . "] \n";
|
|
|
+ $text .= lang("下注金额").":" . $amounts . " \n";
|
|
|
+ $text .= lang("下注总额").":" . array_sum(array_column($list, 'amount')) . " \n";
|
|
|
+ $text .= lang("开奖状态").":".lang("等待开奖")." \n";
|
|
|
}
|
|
|
// foreach ($list->toArray() as $k => $v) {
|
|
|
// $text .= "{$v['keywords']}{$v['amount']} \n";
|
|
|
@@ -504,7 +504,7 @@ class BetService extends BaseService
|
|
|
// $text .= "----------\n";
|
|
|
$msg['text'] = $text;
|
|
|
} else {
|
|
|
- $msg['text'] = "当前没有开放的投注期数! \n";
|
|
|
+ $msg['text'] = lang("当前没有开放的投注期数")."! \n";
|
|
|
}
|
|
|
|
|
|
return $msg;
|