|
@@ -238,9 +238,17 @@ class WalletService extends BaseService
|
|
|
$text .= "用户名:{$userInfo->first_name} \n";
|
|
|
$text .= "当前余额:{$selfInfo->available_balance} \n";
|
|
|
|
|
|
+ $keyboard = [
|
|
|
+ [
|
|
|
+ ['text' => '➕充值', 'callback_data' => "topup@@topup"],
|
|
|
+ ['text' => '🧾账单', 'callback_data' => "topup@@bill"],
|
|
|
+ ]
|
|
|
+ ];
|
|
|
+
|
|
|
return [
|
|
|
'chat_id' => $memberId,
|
|
|
'text' => $text,
|
|
|
+ 'reply_markup' => json_encode(['inline_keyboard' => $keyboard]),
|
|
|
'protect_content' => true
|
|
|
];
|
|
|
}
|