This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
const api = { // 定义 API 对象,存储后端接口地址
// 积分订单相关接口
orderpage: 'orders/page', // 获取积分订单分页数据
orderdelete: 'orders/delete', // 删除积分订单
orderinfo: 'orders/info/', // 获取积分订单详情(需拼接 ID)
ordersave: 'orders/save', // 保存新的积分订单
orderupdate: 'orders/update', // 更新已有积分订单
// 配置相关接口
configpage: 'config/page', // 获取配置分页数据
configdelete: 'config/delete', // 删除配置项
configinfo: 'config/info/', // 获取配置项详情(需拼接 ID)
configsave: 'config/save', // 保存新的配置项
configupdate: 'config/update' // 更新已有配置项
};
export default api; // 导出 API 对象,供其他模块使用