|
|
@@ -110,7 +110,7 @@ class TelegramWebHook extends Controller
|
|
|
if ($data === "topUp@@TRC20" || $data === "topUp@@ERC20") {
|
|
|
$type = preg_replace('/^topUp@@/', '', $data);
|
|
|
$topService = new TopUpService();
|
|
|
- $res = $topService->scan($chatId, $messageId);
|
|
|
+ $res = $topService->scan($chatId, $messageId, $type);
|
|
|
$telegram->deleteMessage([
|
|
|
'chat_id' => $chatId,
|
|
|
'message_id' => $messageId,
|
|
|
@@ -889,9 +889,9 @@ class TelegramWebHook extends Controller
|
|
|
'chat_id' => $chatId,
|
|
|
'message_id' => $messageId,
|
|
|
]);
|
|
|
- $topService = new TopUpService();
|
|
|
- $res = $topService->scan($chatId, $messageId);
|
|
|
- $telegram->sendPhoto($res);
|
|
|
+// $topService = new TopUpService();
|
|
|
+// $res = $topService->scan($chatId, $messageId);
|
|
|
+// $telegram->sendPhoto($res);
|
|
|
}
|
|
|
|
|
|
//点击充值的账单按钮
|