/// API 端点配置
class ApiEndpoints {
  ApiEndpoints._();

  /// 基础URL
  static const String baseUrl = 'http://8.155.172.147:5010';

  // ==================== 用户模块 ====================

  /// 用户登录
  static const String login = '/api/user/login';

  /// 用户注册
  static const String register = '/api/user/register';

  /// 获取用户信息
  static const String userInfo = '/api/user/info';

  /// 上传KYC资料
  static const String kyc = '/api/user/kyc';

  /// 退出登录
  static const String logout = '/api/user/logout';

  // ==================== 行情模块 ====================

  /// 获取币种列表
  static const String coinList = '/api/market/list';

  /// 获取币种详情
  static const String coinDetail = '/api/market/detail';

  /// 搜索币种
  static const String coinSearch = '/api/market/search';

  // ==================== 交易模块 ====================

  /// 买入
  static const String buy = '/api/trade/buy';

  /// 卖出
  static const String sell = '/api/trade/sell';

  /// 获取交易记录
  static const String tradeOrders = '/api/trade/orders';

  /// 获取订单详情
  static const String tradeOrderDetail = '/api/trade/order/detail';

  // ==================== 资产模块 ====================

  /// 获取资产总览
  static const String assetOverview = '/api/asset/overview';

  /// 获取资金账户
  static const String fundAccount = '/api/asset/fund';

  /// 获取交易账户
  static const String tradeAccount = '/api/asset/trade';

  /// 资金划转
  static const String transfer = '/api/asset/transfer';

  /// 获取资金流水
  static const String assetFlow = '/api/asset/flow';

  // ==================== 充提模块 ====================

  /// 申请充值
  static const String deposit = '/api/fund/deposit';

  /// 申请提现
  static const String withdraw = '/api/fund/withdraw';

  /// 取消订单
  static const String cancelOrder = '/api/fund/cancel';

  /// 获取充提记录
  static const String fundOrders = '/api/fund/orders';
}
