Ken 2 달 전
부모
커밋
f444889183
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/api/TelegramWebHook.php

+ 1 - 1
app/Http/Controllers/api/TelegramWebHook.php

@@ -108,7 +108,7 @@ class TelegramWebHook extends Controller
 
                 //选择充值地址
                 if ($data === "topUp@@TRC20" || $data === "topUp@@ERC20") {
-                    $type = preg_replace('/^topup@@/', '', $data);
+                    $type = preg_replace('/^topUp@@/', '', $data);
                     $telegram->sendMessage([
                         'chat_id'=>$chatId,
                         'text'=>$type