where('user_id', '=', $userId) ->where('business_card_id', '=', $businessCardId) ->where('pay_status', '=', 20) // 20表示已支付 ->count(); return $count > 0; } }