fix:修复bug

This commit is contained in:
2026-02-27 11:35:45 +08:00
parent 36a8e4c51b
commit a1d4e16d83
11 changed files with 72 additions and 24 deletions
+26
View File
@@ -262,3 +262,29 @@ export async function xjpmjMerchantDishListPost({
...(options || {}),
});
}
/**根据分类ID查询菜品列表 POST */
export async function getDishListByCategoryId({
params,
body,
options,
}: {
// 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
params: API.AppMerchantRecommendListPostParams;
body: API.RecommendMerchantBo;
options?: CustomRequestOptions;
}) {
return request<API.TableDataInfoMerchantVo>('/app/merchantDish/merchantsByRecipeCategory', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
params: {
...params,
recipeCategoryId:body.recipeCategoryId
},
data: body,
...(options || {}),
});
}
+2
View File
@@ -368,6 +368,7 @@
'orderByColumn'?: string;
/** 排序的方向desc或者asc */
'isAsc'?: string;
'recipeCategoryId'?:any;
}
@@ -4234,6 +4235,7 @@
'sortType'?: number;
/** 关键词 */
'keyword'?: string;
'recipeCategoryId'?:any
}