|
@@ -105,12 +105,9 @@ class TelegramWebHook extends Controller
|
|
|
$alertText = BetService::recentlyRecord($chatId);
|
|
$alertText = BetService::recentlyRecord($chatId);
|
|
|
BetService::alertNotice($callbackId, $alertText);
|
|
BetService::alertNotice($callbackId, $alertText);
|
|
|
}
|
|
}
|
|
|
- $telegram->sendMessage([
|
|
|
|
|
- 'chat_id'=>$chatId,
|
|
|
|
|
- 'text'=>$data
|
|
|
|
|
- ]);
|
|
|
|
|
|
|
+
|
|
|
//选择充值地址
|
|
//选择充值地址
|
|
|
- if ($data === "topup@@RechargeTRC20" || $data === "topup@@eeeeee") {
|
|
|
|
|
|
|
+ if ($data === "topUp@@TRC20" || $data === "topUp@@ERC20") {
|
|
|
$type = preg_replace('/^topup@@/', '', $data);
|
|
$type = preg_replace('/^topup@@/', '', $data);
|
|
|
$telegram->sendMessage([
|
|
$telegram->sendMessage([
|
|
|
'chat_id'=>$chatId,
|
|
'chat_id'=>$chatId,
|