|
@@ -136,6 +136,21 @@ class QianBaoWithdrawService
|
|
|
|
|
|
|
|
private static function chooseType($chatId, $messageId)
|
|
private static function chooseType($chatId, $messageId)
|
|
|
{
|
|
{
|
|
|
|
|
+ $serviceAccount = Config::where('field', 'service_customer')->first()->val;
|
|
|
|
|
+ //是否封号
|
|
|
|
|
+ $isBanned = UserService::getIsBanned($chatId);
|
|
|
|
|
+ if ($isBanned) {
|
|
|
|
|
+ $text = lang("账号异常") . "\n";
|
|
|
|
|
+ $text .= lang("任何疑问都可以联系唯一客服") . ":@{$serviceAccount}";
|
|
|
|
|
+ return [
|
|
|
|
|
+ 'chat_id' => $chatId,
|
|
|
|
|
+ 'text' => $text,
|
|
|
|
|
+ 'message_id' => $messageId,
|
|
|
|
|
+ ];
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
$keyboard = [
|
|
$keyboard = [
|
|
|
[
|
|
[
|
|
|
['text' => lang("USDT"), 'callback_data' => "withdraw@@apply"],
|
|
['text' => lang("USDT"), 'callback_data' => "withdraw@@apply"],
|