seven hai 4 días
pai
achega
1318c9e441
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      app/Http/Controllers/api/TelegramWebHook.php

+ 4 - 0
app/Http/Controllers/api/TelegramWebHook.php

@@ -174,6 +174,10 @@ class TelegramWebHook extends Controller
                         break;
                     case "联系客服":
                         Util::delCache($chatId);
+                        $receivingAddress = Config::where('field', 'receiving_address')->first()->val;
+                        $text = "官方唯一上分地址:\n";
+                        $text .= "USDT TRC20: \n";
+                        $text .= "{$receivingAddress}\n\n";
                         $this->telegram->sendMessage([
                             'chat_id' => $chatId,
                             'text' => $text