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