import request from '@/utils/request' /** * @data 查询参数 获取一周菜谱列表 */ export function getWeekCookbookAPI(data) { return request({ url: '/smart-canteen/api/v2/applet/menurecipe/list/week/canteen', method: 'post', data }) } /** * @data 查询参数 获取周菜谱详情列表 */ export function getWeekDetailListAPI(data) { return request({ url: '/smart-canteen/api/v2/applet/menurecipe/week/recipe/detail', method: 'get', params:data }) } /** * @data 查询参数 获取一周菜谱(菜品详情) */ export function getMenudishesDetailAPI(data) { return request({ url: '/smart-canteen/api/v1/applet/menudishes/detail', method: 'post', data }) } //菜品评价列表 export function getMenuEvaluaorderAPI(data) { return request({ url: '/smart-canteen/api/v1/applet/menuevaluaorder/page/meal', method: 'post', data }) } //菜品评价数量 export function getMenuEvaluaCountAPI(data) { return request({ url: '/smart-canteen/api/v1/applet/menuevaluaorder/evaluate/count', method: 'post', data }) } //菜品收藏列表 export function getCollectionDishesAPI(data) { return request({ url: '/smart-canteen/api/v1/applet/collectionDishes/dishesList', method: 'post', data }) } //菜品收藏-添加 export function addCollectionDishesAPI(data) { return request({ url: '/smart-canteen/api/v1/applet/collectionDishes/collectionDishes', method: 'post', data }) } //菜品收藏-删除 export function delCollectionDishesAPI(data) { return request({ url: '/smart-canteen/api/v1/applet/collectionDishes/deleteDishes', method: 'post', data }) }