fix:修复bug
This commit is contained in:
@@ -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 || {}),
|
||||
});
|
||||
}
|
||||
@@ -368,6 +368,7 @@
|
||||
'orderByColumn'?: string;
|
||||
/** 排序的方向desc或者asc */
|
||||
'isAsc'?: string;
|
||||
'recipeCategoryId'?:any;
|
||||
}
|
||||
|
||||
|
||||
@@ -4234,6 +4235,7 @@
|
||||
'sortType'?: number;
|
||||
/** 关键词 */
|
||||
'keyword'?: string;
|
||||
'recipeCategoryId'?:any
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user