|
@@ -665,11 +665,12 @@ class BetService extends BaseService
|
|
|
{
|
|
{
|
|
|
$exchangeRate = Config::where('field', 'exchange_rate_rmb')->first()->val;
|
|
$exchangeRate = Config::where('field', 'exchange_rate_rmb')->first()->val;
|
|
|
$text = "今日汇率:1美元 = {$exchangeRate}人民币 \n";
|
|
$text = "今日汇率:1美元 = {$exchangeRate}人民币 \n";
|
|
|
- $botMsg = [
|
|
|
|
|
- 'chat_id' => "@{$chatId}",
|
|
|
|
|
- 'text' => $text
|
|
|
|
|
- ];
|
|
|
|
|
- return $botMsg;
|
|
|
|
|
|
|
+ // $botMsg = [
|
|
|
|
|
+ // 'chat_id' => "@{$chatId}",
|
|
|
|
|
+ // 'text' => $text
|
|
|
|
|
+ // ];
|
|
|
|
|
+ self::sendMessage($chatId, $text);
|
|
|
|
|
+ // return $botMsg;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|