Ken 2 недель назад
Родитель
Сommit
5391238e14
2 измененных файлов с 7 добавлено и 4 удалено
  1. 3 3
      app/Services/QianBaoWithdrawService.php
  2. 4 1
      lang/zh-CN/messages.php

+ 3 - 3
app/Services/QianBaoWithdrawService.php

@@ -311,7 +311,7 @@ class QianBaoWithdrawService
         if ($amount > $temp) {
             return [
                 'chat_id' => $chatId,
-                'text' => "⚠️可用余额不足,请重试",
+                'text' => lang("可用余额不足,请重试"),
                 'reply_to_message_id' => $messageId
             ];
         }
@@ -320,14 +320,14 @@ class QianBaoWithdrawService
         if ($amount < 100) {
             return [
                 'chat_id' => $chatId,
-                'text' => "⚠️提现不能少于100 RMB,请重试",
+                'text' => lang("提现不能少于100 RMB,请重试"),
                 'reply_to_message_id' => $messageId
             ];
         }
         if ($amount > 49999) {
             return [
                 'chat_id' => $chatId,
-                'text' => "⚠️最多提现 49999 RMB,请重试",
+                'text' => lang("最多提现 49999 RMB,请重试"),
                 'reply_to_message_id' => $messageId
             ];
         }

+ 4 - 1
lang/zh-CN/messages.php

@@ -42,7 +42,10 @@ return [
     HttpStatus::PAY_VERIFY_ERROR => '支付验证失败',
     HttpStatus::IM_SYSTEM_ERROR => 'Im系统错误',
     'ok' => 'ok',
-    "迁移失败" => "迁移失败"
+    "迁移失败" => "迁移失败",
+    "可用余额不足,请重试" => "⚠️可用余额不足,请重试",
+    '提现不能少于100 RMB,请重试' => "⚠️提现不能少于100 RMB,请重试",
+    "最多提现 49999 RMB,请重试" => "⚠️最多提现 49999 RMB,请重试",
 
 
 ];