import request from '@/utils/request';

export const getServiceFeeConfig = () => request.get('/api/admin/config/service-fee');

export const updateServiceFeeConfig = (rate: number) => request.put('/api/admin/config/service-fee', { rate });

export const getStorageConfig = () => request.get('/api/admin/config/storage');

export const updateStorageConfig = (data: Record<string, string>) => request.put('/api/admin/config/storage', data);