|
|
@@ -207,23 +207,18 @@ class BalanceLogService extends BaseService
|
|
|
$text .= "盈利: {$item['profit']} \n";
|
|
|
}
|
|
|
|
|
|
- $keyboard = [
|
|
|
- [
|
|
|
- ['text' => "👇下一页", 'callback_data' => "FlowingHistoryPage@@" . ($page + 1)]
|
|
|
- ]
|
|
|
- ];
|
|
|
-
|
|
|
+ $keyboard = [[
|
|
|
+ ['text' => "👇下一页", 'callback_data' => "FlowingHistoryPage@@" . ($page + 1)]
|
|
|
+ ]];
|
|
|
if ($page > 1) {
|
|
|
array_unshift($keyboard[0], ['text' => "👆上一页", 'callback_data' => "FlowingHistoryPage@@" . ($page - 1)]);
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
- $msg = [];
|
|
|
- $msg['chat_id'] = $memberId;
|
|
|
- $msg['text'] = $text;
|
|
|
- $msg['message_id'] = $messageId;
|
|
|
- $msg['reply_markup'] = json_encode(['inline_keyboard' => $keyboard]);
|
|
|
- return $msg;
|
|
|
+ return [
|
|
|
+ 'chat_id' => $memberId,
|
|
|
+ 'text' => $text,
|
|
|
+ 'message_id' => $messageId,
|
|
|
+ 'reply_markup' => json_encode(['inline_keyboard' => $keyboard]),
|
|
|
+ ];
|
|
|
}
|
|
|
|
|
|
}
|