|
@@ -162,15 +162,15 @@ class SanJinRechargeService extends BaseService
|
|
|
->count();
|
|
->count();
|
|
|
|
|
|
|
|
|
|
|
|
|
- $text = "👤 {$firstName}({$chatId}) 第三方订单记录\n\n";
|
|
|
|
|
|
|
+ $text = "👤 {$firstName}({$chatId}) ".lang('第三方订单记录')."\n\n";
|
|
|
foreach ($list as $item) {
|
|
foreach ($list as $item) {
|
|
|
$amount = floatval($item->amount);
|
|
$amount = floatval($item->amount);
|
|
|
|
|
|
|
|
$amount = $item->type == 2 ? "➖ {$amount}" : "➕ $amount";
|
|
$amount = $item->type == 2 ? "➖ {$amount}" : "➕ $amount";
|
|
|
$text .= "-------------------------------------\n";
|
|
$text .= "-------------------------------------\n";
|
|
|
- $text .= "订单类型:".($item->type == 1?"充值":"提现")." \n";
|
|
|
|
|
- $text .= "订单金额:{$amount} \n";
|
|
|
|
|
- $text .= "订单号:{$item->order_no}\n";
|
|
|
|
|
|
|
+ $text .= lang('订单类型').":".($item->type == 1?lang("充值"):lang("提现"))." \n";
|
|
|
|
|
+ $text .= lang('订单金额').":{$amount} \n";
|
|
|
|
|
+ $text .= lang('订单号').":{$item->order_no}\n";
|
|
|
if($item->type == 2){
|
|
if($item->type == 2){
|
|
|
$text .= "银行:{$item->bank_name}\n";
|
|
$text .= "银行:{$item->bank_name}\n";
|
|
|
$text .= "姓名:{$item->account}\n";
|
|
$text .= "姓名:{$item->account}\n";
|