创新服务

dev-v2
Joe 7 days ago
parent 901d6f8efe
commit 3ad4d74583

@ -1,5 +1,5 @@
import React, { useEffect, useRef, useState } from 'react';
import { DrawerForm, ProFormInstance, ProFormText, ProFormUploadButton, ProFormRadio, ProForm } from '@ant-design/pro-components';
import { DrawerForm, ProFormInstance, ProFormText, ProFormUploadButton, ProFormRadio, ProForm, ProFormDigit } from '@ant-design/pro-components';
import { message } from 'antd';
import Upload, { RcFile } from 'antd/es/upload';
import { Editor } from '@/components/Editor';
@ -116,6 +116,8 @@ const UpdateForm: React.FC<UpdateFormProps> = (props) => {
}}
initialValues={{
pbcTitle: props.values.pbcTitle,
pbcSubTitle: props.values.pbcSubTitle,
pbcPriority: props.values.pbcPriority,
pbcType: props.values.pbcType || 1,
pbcImage: props.values.pbcType === 1 && props.values.pbcPicAddress ? props.values.pbcPicAddress.split(',').map((e, index) => {
return {
@ -164,6 +166,31 @@ const UpdateForm: React.FC<UpdateFormProps> = (props) => {
width="md"
name="pbcTitle"
/>
<ProFormText
placeholder={'请输入副标题'}
label="副标题"
rules={[
{
required: true,
message: '副标题为必填项',
},
]}
width="md"
name="pbcSubTitle"
/>
<ProFormDigit
placeholder={'请输入优先级'}
fieldProps={{ precision: 0, min: 1 }}
label="优先级"
rules={[
{
required: true,
message: '优先级为必填项',
},
]}
width="md"
name="pbcPriority"
/>
<ProFormRadio.Group
name="pbcType"
label="类型"

@ -92,40 +92,60 @@ const TableList: React.FC<any> = () => {
title: '标题',
dataIndex: 'pbcTitle',
},
{
title: '副标题',
dataIndex: 'pbcSubTitle',
},
{
title: '类型',
dataIndex: 'pbcType',
width: 70,
valueEnum: {
1: '图片',
2: '视频',
3: '文件',
},
},
{
title: '链接',
dataIndex: 'pbcId',
width: 170,
render: (_, record) => '/innovative-services/' + record.pbcId,
search: false,
},
{
title: '创建时间',
dataIndex: 'pbcCreateAt',
valueType: 'date',
width: 100,
search: false,
},
{
title: "停/启用状态",
dataIndex: 'pbcState',
search: false,
width: 100,
render: (_, record) =>
<Access key="switch" accessible={access.innovativeServiceUpdateState}>
<Switch
checked={record.pbcState === 1}
onChange={async (value) => {
const success = await handleUpdateState(record.pbcId || 0, value ? 1 : 2);
if (success) {
if (actionRef.current) {
actionRef.current.reload();
}
}
}}
/>
</Access>
},
{
title: '操作',
valueType: 'option',
width: 230,
width: 180,
render: (text, record) => (
<span>
<Access key="switch" accessible={access.innovativeServiceUpdateState}>
<Switch
checked={record.pbcState === 1}
onChange={async (value) => {
const success = await handleUpdateState(record.pbcId || 0, value ? 1 : 2);
if (success) {
if (actionRef.current) {
actionRef.current.reload();
}
}
}}
/>
</Access>
<Access key="apply" accessible={access.innovativeServiceApply}>
<Button
size="small"

@ -2,41 +2,41 @@
/* eslint-disable */
import request from '@/utils/request';
/** error GET /error */
export async function errorUsingGet(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
/** errorHtml GET /error */
export async function errorHtmlUsingGet(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
method: 'GET',
...(options || {}),
});
}
/** error PUT /error */
export async function errorUsingPut(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
/** errorHtml PUT /error */
export async function errorHtmlUsingPut(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
method: 'PUT',
...(options || {}),
});
}
/** error POST /error */
export async function errorUsingPost(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
/** errorHtml POST /error */
export async function errorHtmlUsingPost(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
method: 'POST',
...(options || {}),
});
}
/** error DELETE /error */
export async function errorUsingDelete(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
/** errorHtml DELETE /error */
export async function errorHtmlUsingDelete(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
method: 'DELETE',
...(options || {}),
});
}
/** error PATCH /error */
export async function errorUsingPatch(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
/** errorHtml PATCH /error */
export async function errorHtmlUsingPatch(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
method: 'PATCH',
...(options || {}),
});

@ -25,7 +25,43 @@ export async function exportPageByAgentUsingPost(
});
}
/** getActivityPageByAgent 根据这个的分页 POST /b2b2c/pbcActivity/getActivityPageByAgent */
/** getActivityDetailByAgent 根据这个采购员id获取抽奖记录 POST /b2b2c/pbcActivity/getActivityDetailByAgent */
export async function getActivityDetailByAgentUsingPost(
body: API.PbcActivityActionRecordDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResultListPbcActivityActionRecord_>(
'/b2b2c/pbcActivity/getActivityDetailByAgent',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
},
);
}
/** getActivityDetailById 根据id获取抽奖记录 GET /b2b2c/pbcActivity/getActivityDetailById */
export async function getActivityDetailByIdUsingGet(
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
params: API.getActivityDetailByIdUsingGETParams,
options?: { [key: string]: any },
) {
return request<API.AjaxResultPbcActivityActionRecord_>(
'/b2b2c/pbcActivity/getActivityDetailById',
{
method: 'GET',
params: {
...params,
},
...(options || {}),
},
);
}
/** getActivityPageByAgent 根据采购员分页 POST /b2b2c/pbcActivity/getActivityPageByAgent */
export async function getActivityPageByAgentUsingPost(
body: API.PbcActivityActionRecordDTO,
options?: { [key: string]: any },
@ -61,13 +97,52 @@ export async function getSignActivityPageUsingPost(
);
}
/** pbcActivityRecordAdd 新增活动参与操作: 2.停留10s 3.停留20s POST /b2b2c/pbcActivity/pbcActivityRecordAdd */
/** pbcActivityData 手机端当前用户参与互动信息,不需要参数 POST /b2b2c/pbcActivity/pbcActivityData */
export async function pbcActivityDataUsingPost(options?: { [key: string]: any }) {
return request<API.AjaxResult>('/b2b2c/pbcActivity/pbcActivityData', {
method: 'POST',
...(options || {}),
});
}
/** pbcActivityDefault 手机端活动中心页面,点击抽奖 POST /b2b2c/pbcActivity/pbcActivityDefault */
export async function pbcActivityDefaultUsingPost(options?: { [key: string]: any }) {
return request<API.AjaxResult>('/b2b2c/pbcActivity/pbcActivityDefault', {
method: 'POST',
...(options || {}),
});
}
/** pbcActivityRank 获取当前时间参与用户的前20名 POST /b2b2c/pbcActivity/pbcActivityRank */
export async function pbcActivityRankUsingPost(options?: { [key: string]: any }) {
return request<API.AjaxResult>('/b2b2c/pbcActivity/pbcActivityRank', {
method: 'POST',
...(options || {}),
});
}
/** pbcActivityRecordAdd 新增活动参与操作0.注册 1.获取手机号 2.停留10s 3.停留20s 4.签到打卡 5.订单 POST /b2b2c/pbcActivity/pbcActivityRecordAdd */
export async function pbcActivityRecordAddUsingPost(
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
params: API.pbcActivityRecordAddUsingPOSTParams,
body: API.PbcActivityActionRecordDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResult>('/b2b2c/pbcActivity/pbcActivityRecordAdd', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** pbcActivityStatical 活动统计饼状图 POST /b2b2c/pbcActivity/pbcActivityStatical */
export async function pbcActivityStaticalUsingPost(
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
params: API.pbcActivityStaticalUsingPOSTParams,
options?: { [key: string]: any },
) {
return request<API.AjaxResult>('/b2b2c/pbcActivity/pbcActivityStatical', {
method: 'POST',
params: {
...params,
@ -75,3 +150,31 @@ export async function pbcActivityRecordAddUsingPost(
...(options || {}),
});
}
/** prizeCheck 抽奖状态是否正常 POST /b2b2c/pbcActivity/prizeCheck/${param0} */
export async function prizeCheckUsingPost(
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
params: API.prizeCheckUsingPOSTParams,
options?: { [key: string]: any },
) {
const { pbcActivityActionRecordId: param0, ...queryParams } = params;
return request<API.AjaxResultString_>(`/b2b2c/pbcActivity/prizeCheck/${param0}`, {
method: 'POST',
params: { ...queryParams },
...(options || {}),
});
}
/** writeOff 抽奖核销 POST /b2b2c/pbcActivity/writeOff/${param1}/${param0} */
export async function writeOffUsingPost(
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
params: API.writeOffUsingPOSTParams,
options?: { [key: string]: any },
) {
const { pbcActivityActionRecordId: param0, pbcUserMobile: param1, ...queryParams } = params;
return request<API.AjaxResultString_>(`/b2b2c/pbcActivity/writeOff/${param1}/${param0}`, {
method: 'POST',
params: { ...queryParams },
...(options || {}),
});
}

@ -24,7 +24,7 @@ export async function headFileUploadUsingGet(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -65,7 +65,7 @@ export async function headFileUploadUsingPut(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -106,7 +106,7 @@ export async function headFileUploadUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -147,7 +147,7 @@ export async function headFileUploadUsingDelete(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -188,7 +188,7 @@ export async function headFileUploadUsingPatch(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -256,7 +256,7 @@ export async function headImgUploadUsingGet(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -297,7 +297,7 @@ export async function headImgUploadUsingPut(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -338,7 +338,7 @@ export async function headImgUploadUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -379,7 +379,7 @@ export async function headImgUploadUsingDelete(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -420,7 +420,7 @@ export async function headImgUploadUsingPatch(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -485,7 +485,7 @@ export async function uploadCommentImageUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -526,7 +526,7 @@ export async function uploadHeadImageUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -567,7 +567,7 @@ export async function uploadInfoImageUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -608,7 +608,7 @@ export async function uploadProductImageUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -649,7 +649,7 @@ export async function upLoadSearchImageUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);
@ -690,7 +690,7 @@ export async function uploadUserInfoImageUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);

@ -137,6 +137,21 @@ export async function deleteProductForBusinessUsingGet(
});
}
/** getBusinessPageForFirstPage 首页使用,按照关键词按照查询出商户表记录 POST /b2b2c/pbcproduct/getBusinessPageForFirstPage */
export async function getBusinessPageForFirstPageUsingPost(
body: API.PbcBusinessPageForFirstPageDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResultPagePbcBusiness_>('/b2b2c/pbcproduct/getBusinessPageForFirstPage', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 首页的热销商品列表 首页的热销商品列表 POST /b2b2c/pbcproduct/getHotProductListForIndex */
export async function getHotProductListForIndexUsingPost(
body: API.PbcBusinessIndexDTO,
@ -198,6 +213,21 @@ export async function getProductPageUsingPost(
});
}
/** 首页使用,按照关键词全平台搜索商品 分页 POST /b2b2c/pbcproduct/getProductPageForFirstPage */
export async function getProductPageForFirstPageUsingPost(
body: API.PbcProductPageForFirstPageDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResultIPagePbcProductVO_>('/b2b2c/pbcproduct/getProductPageForFirstPage', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 获取商品分页(商户添加热销商品专用) 分页 POST /b2b2c/pbcproduct/getproductpageforhotproduct */
export async function getProductPageForHotProductUsingPost(
body: API.PbcProductPageDTO,
@ -216,6 +246,39 @@ export async function getProductPageForHotProductUsingPost(
);
}
/** 首页使用,按照关键词历史 列表 GET /b2b2c/pbcproduct/getSearchKeyRecordForFirstPage */
export async function getSearchKeyRecordForFirstPageUsingGet(
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
params: API.getSearchKeyRecordForFirstPageUsingGETParams,
options?: { [key: string]: any },
) {
return request<API.AjaxResultPbcSearchKeyRecordVO_>(
'/b2b2c/pbcproduct/getSearchKeyRecordForFirstPage',
{
method: 'GET',
params: {
...params,
},
...(options || {}),
},
);
}
/** 首页使用,搜索联想词分页 根据关键词 & 搜索类型返回联想词分页 POST /b2b2c/pbcproduct/getSearchWordPageForFirstPage */
export async function getSearchWordPageForFirstPageUsingPost(
body: API.PbcSearchWordPageDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResultPageString_>('/b2b2c/pbcproduct/getSearchWordPageForFirstPage', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** gogoYaya POST /b2b2c/pbcproduct/gogoYaya */
export async function gogoYayaUsingPost(options?: { [key: string]: any }) {
return request<string>('/b2b2c/pbcproduct/gogoYaya', {

@ -67,7 +67,7 @@ export async function uploadVideoAndGetInfoUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);

@ -172,7 +172,7 @@ export async function importMemberUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);

@ -83,7 +83,7 @@ export async function uploadVideoUsingPost(
if (item instanceof Array) {
item.forEach((f) => formData.append(ele, f || ''));
} else {
formData.append(ele, JSON.stringify(item));
formData.append(ele, new Blob([JSON.stringify(item)], { type: 'application/json' }));
}
} else {
formData.append(ele, item);

@ -243,6 +243,12 @@ declare namespace API {
retmsg?: string;
};
type AjaxResultListPbcActivityActionRecord_ = {
data?: PbcActivityActionRecord_[];
retcode?: number;
retmsg?: string;
};
type AjaxResultListPbcAuthority_ = {
data?: PbcAuthority[];
retcode?: number;
@ -453,6 +459,18 @@ declare namespace API {
retmsg?: string;
};
type AjaxResultPageString_ = {
data?: PageString_;
retcode?: number;
retmsg?: string;
};
type AjaxResultPbcActivityActionRecord_ = {
data?: PbcActivityActionRecord_;
retcode?: number;
retmsg?: string;
};
type AjaxResultPbcAdminStaticalVO_ = {
data?: PbcAdminStaticalVO;
retcode?: number;
@ -585,6 +603,12 @@ declare namespace API {
retmsg?: string;
};
type AjaxResultPbcSearchKeyRecordVO_ = {
data?: PbcSearchKeyRecordVO;
retcode?: number;
retmsg?: string;
};
type AjaxResultPbcTrainingClasses_ = {
data?: PbcTrainingClasses_;
retcode?: number;
@ -938,6 +962,11 @@ declare namespace API {
address: string;
};
type getActivityDetailByIdUsingGETParams = {
/** id */
id: number;
};
type getAddressForRequirementUsingGETParams = {
/** requirementId */
requirementId: number;
@ -1050,6 +1079,11 @@ declare namespace API {
requirementId: number;
};
type getSearchKeyRecordForFirstPageUsingGETParams = {
/** pbcSearchType */
pbcSearchType: number;
};
type getSpecificationItemListUsingGETParams = {
/** specificationId */
specificationId: number;
@ -1669,6 +1703,19 @@ declare namespace API {
total?: number;
};
type PageString_ = {
countId?: string;
current?: number;
maxLimit?: number;
optimizeCountSql?: boolean;
orders?: OrderItem[];
pages?: number;
records?: string[];
searchCount?: boolean;
size?: number;
total?: number;
};
type PageVO = {
current?: number;
filters?: FilterVO[];
@ -1702,7 +1749,9 @@ declare namespace API {
pbcOrderNo?: string;
/** 订单状态:枚举值 */
pbcOrderState?: number;
/** 抽奖状态,1是已抽奖 */
/** 下单时间 */
pbcOrderTime?: string;
/** 抽奖状态 */
pbcPrizeState?: number;
/** 抽奖时间 */
pbcPrizeTime?: string;
@ -1718,6 +1767,8 @@ declare namespace API {
pbcUpdateBy?: number;
/** 更新人 */
pbcUpdateByUserName?: string;
/** 采购员手机号 */
pbcUserMobile?: string;
};
type PbcActivityActionRecordDTO = {
@ -1735,6 +1786,8 @@ declare namespace API {
pbcBusinessId?: number;
/** 商户名称 */
pbcBusinessName?: string;
/** 下单结束时间 */
pbcOrderEndTime?: string;
/** 订单完成结束时间 */
pbcOrderFinishEndTime?: string;
/** 订单完成开始时间 */
@ -1743,39 +1796,21 @@ declare namespace API {
pbcOrderId?: number;
/** 订单编号 */
pbcOrderNo?: string;
/** 下单开始时间 */
pbcOrderStartTime?: string;
/** 订单状态:枚举值 */
pbcOrderState?: number;
/** 采购员id */
pbcPurchaseAgentId?: number;
/** 采购员姓名 */
pbcPurchaseAgentName?: string;
};
type pbcActivityRecordAddUsingPOSTParams = {
/** 当前页 */
current?: number;
/** 条数 */
pageSize?: number;
/** 打卡结束时间 */
pbcActionEndTime?: string;
/** 打卡开始时间 */
pbcActionStartTime?: string;
/** 行为类型1.获取手机号 2.停留10s 3.停留20s 4.签到打卡 5.订单 */
pbcActionType?: number;
/** 商户ID */
pbcBusinessId?: number;
/** 商户名称 */
pbcBusinessName?: string;
/** 订单完成结束时间 */
pbcOrderFinishEndTime?: string;
/** 订单完成开始时间 */
pbcOrderFinishStartTime?: string;
/** 订单ID */
pbcOrderId?: number;
/** 订单编号 */
pbcOrderNo?: string;
/** 采购员id */
pbcPurchaseAgentId?: number;
/** 采购员姓名 */
pbcPurchaseAgentName?: string;
type pbcActivityStaticalUsingPOSTParams = {
/** 1.当日 2.当月 3.全部 */
pbcActivityStatisticDateType?: number;
/** 1.商家打卡 2采购员打卡 3商家下单活动 4 采购员下单 */
pbcActivityStatisticType?: number;
};
type PbcAdminStaticalVO = {
@ -2181,6 +2216,15 @@ declare namespace API {
startTime?: string;
};
type PbcBusinessPageForFirstPageDTO = {
/** 当前页 */
current?: number;
/** 条数 */
pageSize?: number;
/** 模糊搜索条件 */
searchKey?: string;
};
type PbcBusinessPostConfig = {
pbcBusinessDoorLabelSize?: number;
pbcBusinessDoorLabelX?: number;
@ -2648,10 +2692,14 @@ declare namespace API {
pbcId?: number;
/** 图片或者视频的地址 */
pbcPicAddress?: string;
/** 优先级,数字越小越靠前 */
pbcPriority?: number;
/** 查看次数 */
pbcScanCnt?: number;
/** 状态,0是删除1是正常2是作废 */
pbcState?: number;
/** 副标题 */
pbcSubTitle?: string;
/** 缩略图 */
pbcThumbNail?: string;
/** 标题 */
@ -3393,6 +3441,17 @@ declare namespace API {
startDate?: string;
};
type PbcProductPageForFirstPageDTO = {
/** 当前页 */
current?: number;
/** 条数 */
pageSize?: number;
/** 标签id如果传了则忽略 searchKey按标签搜索 */
pbcLabelId?: number;
/** 模糊搜索条件 */
searchKey?: string;
};
type PbcProductPosterVO = {
/** 图片url */
image?: string;
@ -4035,6 +4094,12 @@ declare namespace API {
startDate?: string;
};
type PbcSearchKeyRecordVO = {
hotLabelList?: PbcProductLabelConfig_[];
hotSearchList?: string[];
recentSearchList?: string[];
};
type PbcSearchKeyVO = {
/** 搜索词统计数量 */
number?: number;
@ -4042,6 +4107,13 @@ declare namespace API {
pbcSearchWord?: string;
};
type PbcSearchWordPageDTO = {
current?: number;
pageSize?: number;
pbcSearchType?: number;
searchKey?: string;
};
type PbcSetSpecificationDTO = {
pbcCategory?: PbcCategory;
/** 规格列表,规格信息要完整 */
@ -4781,6 +4853,11 @@ declare namespace API {
id: number;
};
type prizeCheckUsingPOSTParams = {
/** pbcActivityActionRecordId */
pbcActivityActionRecordId: number;
};
type productDetailForAdminUsingGETParams = {
/** productId */
productId: number;
@ -5134,6 +5211,13 @@ declare namespace API {
pbcUserMobile: string;
};
type writeOffUsingPOSTParams = {
/** pbcActivityActionRecordId */
pbcActivityActionRecordId: number;
/** pbcUserMobile */
pbcUserMobile: string;
};
type wxMiniAppBindAccountUsingGETParams = {
/** loginCode */
loginCode: string;

Loading…
Cancel
Save