|
|
@@ -179,31 +179,31 @@ class SanJinRechargeService extends BaseService
|
|
|
$text .= "充值类型:{$item->bank_name}\n";
|
|
|
}
|
|
|
|
|
|
- $status = ['待处理', '处理中', '成功', '失败'];
|
|
|
- $text .= "状态:{$status[$item->status]}\n";
|
|
|
+ $status = [lang('待处理'), lang('处理中'), lang('成功'), lang('失败')];
|
|
|
+ $text .= lang('状态').":{$status[$item->status]}\n";
|
|
|
if ($item->remark) {
|
|
|
- $text .= "说明:{$item->remark}\n";
|
|
|
+ $text .= lang('说明').":{$item->remark}\n";
|
|
|
}
|
|
|
- $text .= "日期:{$item->created_at}\n";
|
|
|
+ $text .= lang('日期').":{$item->created_at}\n";
|
|
|
}
|
|
|
|
|
|
if ($page > 1) {
|
|
|
$keyboard[] = [
|
|
|
- ['text' => "👆上一页", 'callback_data' => "topup@@sj_bill_" . ($page - 1)]
|
|
|
+ ['text' => lang("👆上一页"), 'callback_data' => "topup@@sj_bill_" . ($page - 1)]
|
|
|
];
|
|
|
}
|
|
|
$allPage = ceil($count / $limit);
|
|
|
if ($allPage > $page) {
|
|
|
if ($page > 1) {
|
|
|
- $keyboard[count($keyboard) - 1][] = ['text' => "👇下一页", 'callback_data' => "topup@@sj_bill_" . ($page + 1)];
|
|
|
+ $keyboard[count($keyboard) - 1][] = ['text' => lang("👇下一页"), 'callback_data' => "topup@@sj_bill_" . ($page + 1)];
|
|
|
} else {
|
|
|
$keyboard[] = [
|
|
|
- ['text' => "👇下一页", 'callback_data' => "topup@@sj_bill_" . ($page + 1)]
|
|
|
+ ['text' => lang("👇下一页"), 'callback_data' => "topup@@sj_bill_" . ($page + 1)]
|
|
|
];
|
|
|
}
|
|
|
}
|
|
|
$keyboard[] = [
|
|
|
- ['text' => "返回", 'callback_data' => "topUp@@home"]
|
|
|
+ ['text' => lang("↩️返回"), 'callback_data' => "topUp@@home"]
|
|
|
];
|
|
|
return [
|
|
|
'chat_id' => $chatId,
|