|
|
@@ -739,6 +739,12 @@ class TelegramWebHook extends Controller
|
|
|
$firstName = $from->firstName;
|
|
|
}
|
|
|
|
|
|
+ $telegram->sendMessage([
|
|
|
+ 'chat_id' => $chatId,
|
|
|
+ 'text' => $data,
|
|
|
+ ]);
|
|
|
+
|
|
|
+
|
|
|
$user = User::where('member_id', $chatId)->first();
|
|
|
if (!$user) {
|
|
|
$user = new User();
|
|
|
@@ -900,10 +906,7 @@ class TelegramWebHook extends Controller
|
|
|
}
|
|
|
|
|
|
|
|
|
- $telegram->sendMessage([
|
|
|
- 'chat_id' => $chatId,
|
|
|
- 'text' => $data,
|
|
|
- ]);
|
|
|
+
|
|
|
|
|
|
//钱宝提现
|
|
|
if ($data === 'withdraw@@qb_apply') {
|