|
|
@@ -399,10 +399,11 @@ class QianBaoWithdrawService
|
|
|
|
|
|
static function inputCardNo($chatId, $cardNo, $messageId)
|
|
|
{
|
|
|
- if (!preg_match('/^\d+$/', $cardNo)) {
|
|
|
+ $channel = Cache::get("{$chatId}_QB_WITHDRAW_CHANNEL");
|
|
|
+ if ($channel === 'DF001' && !preg_match('/^\d+$/', $cardNo)) {
|
|
|
return [
|
|
|
'chat_id' => $chatId,
|
|
|
- 'text' => "输入有误,请重新输入",
|
|
|
+ 'text' => "输入的银行卡号有误,请重新输入",
|
|
|
'reply_to_message_id' => $messageId,
|
|
|
];
|
|
|
}
|