You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.4 KiB
TypeScript

2 years ago
// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';
9 months ago
/** dealL3CategoryColorCommonData POST /b2b2c/pbccommondata/dealL3CategoryColorCommonData */
export async function dealL3CategoryColorCommonDataUsingPost(options?: { [key: string]: any }) {
return request<string>('/b2b2c/pbccommondata/dealL3CategoryColorCommonData', {
method: 'POST',
...(options || {}),
});
}
1 year ago
/** 利用三级类目id查询对应的颜色、规格参数 获取规格 GET /b2b2c/pbccommondata/getrecordbyl3categoryid */
2 years ago
export async function getRecordByL3CategoryIdUsingGet(
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
params: API.getRecordByL3CategoryIdUsingGETParams,
options?: { [key: string]: any },
) {
2 years ago
return request<API.AjaxResultPbcCategoryCommonDataVO_>(
'/b2b2c/pbccommondata/getrecordbyl3categoryid',
2 years ago
{
method: 'GET',
params: {
...params,
},
...(options || {}),
},
);
}
1 year ago
/** 给三级类目设置规格参数 设置规格 POST /b2b2c/pbccommondata/setSpecificationForCategory */
export async function setSpecificationForCategoryUsingPost(
body: API.PbcSetSpecificationDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResultString_>('/b2b2c/pbccommondata/setSpecificationForCategory', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}