// ============================================================
// SupportProvider — 客服/工单 Riverpod Providers
// ============================================================

import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../../../../core/network/api_client.dart';

final supportTicketsProvider = FutureProvider.autoDispose((ref) async {
  final api = ApiClient.instance;
  final resp = await api.get('/api/v1/support/tickets');
  return resp.data['data'];
});
