import request from '@/sheep/request'; const goodsApi = { // 查询全部商品分类及分类下的商品 getAll: () => { return request({ url: '/restaurant/goods/getAll', method: 'POST', }); }, createOrder: (data) => { return request({ url: '/restaurant/order/create', method: 'POST', data:data, custom: { showSuccess: true, successMsg: '更新成功' }, }); }, }; export default goodsApi;