/** * 门店相关 API */ import { get } from '@/utils/request' /** * 获取门店列表 */ export function getStores() { return get('/api/stores') } /** * 获取门店详情 * @param {number} id - 门店ID */ export function getStoreDetail(id) { return get(`/api/stores/${id}`) }