diff --git a/src/pages/AuditsList/index.tsx b/src/pages/AuditsList/index.tsx index e6d7087..e5c406b 100644 --- a/src/pages/AuditsList/index.tsx +++ b/src/pages/AuditsList/index.tsx @@ -48,6 +48,7 @@ const TableList: React.FC<{}> = () => { { title: '主营品类', dataIndex: 'pbcBusinessMainCategory', + ellipsis: true, search: false, }, { diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx index 3942ceb..c33a042 100644 --- a/src/pages/Dashboard.tsx +++ b/src/pages/Dashboard.tsx @@ -1,10 +1,10 @@ -import { listTreeUsingGet } from '@/services/pop-b2b2c/pbcCategoryController'; import { dashboardUsingPost } from '@/services/pop-b2b2c/pbcUserRecordLogController'; -import { Bar, Pie } from '@ant-design/plots'; +import { Bar, Pie, WordCloud, WordCloudConfig } from '@ant-design/plots'; import dayjs from 'dayjs'; import { PageContainer, ProCard, ProForm, ProFormDateRangePicker, ProFormGroup, ProFormInstance, ProFormRadio } from '@ant-design/pro-components'; import { Card, Col, DatePickerProps, Row, Spin, Statistic } from 'antd'; import React, { useEffect, useRef, useState } from 'react'; +import { querySearchKeyRankUsingPost } from '@/services/pop-b2b2c/pbcSearchKeyController'; const Welcome: React.FC = () => { @@ -14,6 +14,7 @@ const Welcome: React.FC = () => { const [data2, setData2] = useState([]); const [data3, setData3] = useState([]); const [data4, setData4] = useState([]); + const [data5, setData5] = useState([]); const [pbcRegisterStatical, setPbcRegisterStatical] = useState({ vipNumber: 0, businessNumber: 0 @@ -57,6 +58,27 @@ const Welcome: React.FC = () => { }, }; + const asyncFetch = () => { + fetch('https://gw.alipayobjects.com/os/antfincdn/jPKbal7r9r/mock.json') + .then((response) => response.json()) + .then((json) => setData5(json)) + .catch((error) => { + console.log('fetch data failed', error); + }); + }; + const wordCloudConfig: WordCloudConfig = { + data: data5, + wordField: 'x', + weightField: 'value', + colorField: 'x', + wordStyle: { + fontFamily: 'Verdana', + fontSize: [14, 60], + rotation: 0, + }, + random: () => 0.5, + }; + const getData = () => { const param: any = ref.current?.getFieldsValue() if (param) { @@ -109,6 +131,12 @@ const Welcome: React.FC = () => { }).catch(() => { handleLoadChange(true) }) + + querySearchKeyRankUsingPost(param).then(res => { + if (res.retcode) { + + } + }) } } @@ -122,6 +150,7 @@ const Welcome: React.FC = () => { useEffect(() => { getData() + asyncFetch() }, []) return ( @@ -235,6 +264,13 @@ const Welcome: React.FC = () => { + + + + + + + ); diff --git a/src/pages/User/Login/index.tsx b/src/pages/User/Login/index.tsx index 0fce03d..48bfd07 100644 --- a/src/pages/User/Login/index.tsx +++ b/src/pages/User/Login/index.tsx @@ -4,7 +4,6 @@ import { } from '@ant-design/icons'; import { LoginForm, - ProFormCheckbox, ProFormText, } from '@ant-design/pro-components'; import { useEmotionCss } from '@ant-design/use-emotion-css'; @@ -155,78 +154,6 @@ const Login: React.FC = () => { }, ]} /> - - {/* {status === 'error' && loginType === 'mobile' && } */} - {/* {type === 'mobile' && ( - <> - , - }} - name="mobile" - placeholder={'请输入手机号!'} - rules={[ - { - required: true, - message: '手机号是必填项!', - }, - { - pattern: /^1\d{10}$/, - message: '不合法的手机号!', - }, - ]} - /> - , - }} - captchaProps={{ - size: 'large', - }} - placeholder={'请输入验证码!'} - captchaTextRender={(timing, count) => { - if (timing) { - return `${count} ${'秒后重新获取'}`; - } - return '获取验证码'; - }} - name="captcha" - rules={[ - { - required: true, - message: '验证码是必填项!', - }, - ]} - onGetCaptcha={async (phone) => { - const result = await getFakeCaptcha({ - phone, - }); - if (!result) { - return; - } - message.success('获取验证码成功!验证码为:1234'); - }} - /> - - )} */} - {/*
- - 记住密码 - - - 忘记密码 ? - -
*/} diff --git a/src/services/pop-b2b2c/index.ts b/src/services/pop-b2b2c/index.ts index 69c5a93..47c357a 100644 --- a/src/services/pop-b2b2c/index.ts +++ b/src/services/pop-b2b2c/index.ts @@ -5,6 +5,7 @@ import * as errorController from './errorController'; import * as pbcBusinessApprovalController from './pbcBusinessApprovalController'; import * as pbcBusinessController from './pbcBusinessController'; +import * as pbcBusinessPostConfigController from './pbcBusinessPostConfigController'; import * as pbcBusinessTeamController from './pbcBusinessTeamController'; import * as pbcCategoryController from './pbcCategoryController'; import * as pbcCommonDataController from './pbcCommonDataController'; @@ -18,6 +19,7 @@ import * as pbcProductController from './pbcProductController'; import * as pbcProductHotController from './pbcProductHotController'; import * as pbcQrController from './pbcQrController'; import * as pbcRoleController from './pbcRoleController'; +import * as pbcSearchKeyController from './pbcSearchKeyController'; import * as pbcSmsController from './pbcSmsController'; import * as pbcSmsLogController from './pbcSmsLogController'; import * as pbcUserBusinessController from './pbcUserBusinessController'; @@ -31,7 +33,9 @@ export default { pbcSmsLogController, pbcImageController, pbcLoginController, + pbcBusinessPostConfigController, pbcRoleController, + pbcSearchKeyController, pbcVipGradeController, pbcBusinessController, pbcBusinessApprovalController, diff --git a/src/services/pop-b2b2c/pbcBusinessController.ts b/src/services/pop-b2b2c/pbcBusinessController.ts index 20341b9..fcb854b 100644 --- a/src/services/pop-b2b2c/pbcBusinessController.ts +++ b/src/services/pop-b2b2c/pbcBusinessController.ts @@ -32,10 +32,32 @@ export async function frontChangeBusinessInfoUsingPost( }); } -/** 获取商家海报 商家海报 GET /b2b2c/pbcbusiness/getBusinessPoster */ -export async function getBusinessPosterUsingGet(options?: { [key: string]: any }) { - return request('/b2b2c/pbcbusiness/getBusinessPoster', { +/** 取得商户的图片,用以合成海报 GET /b2b2c/pbcbusiness/getBusinessImage */ +export async function getBusinessImageUsingGet( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.getBusinessImageUsingGETParams, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcbusiness/getBusinessImage', { method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 获取商家海报 商家海报 POST /b2b2c/pbcbusiness/getBusinessPoster */ +export async function getBusinessPosterUsingPost( + body: API.PbcGenerateBusinessPosterDTO, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcbusiness/getBusinessPoster', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, ...(options || {}), }); } diff --git a/src/services/pop-b2b2c/pbcBusinessPostConfigController.ts b/src/services/pop-b2b2c/pbcBusinessPostConfigController.ts new file mode 100644 index 0000000..1cd6fca --- /dev/null +++ b/src/services/pop-b2b2c/pbcBusinessPostConfigController.ts @@ -0,0 +1,32 @@ +// @ts-ignore +/* eslint-disable */ +import request from '@/utils/request'; + +/** 获取海报配置列表 获取列表 GET /b2b2c/pbcBusinessPostConfig/getPostConfigList */ +export async function getPostConfigListUsingGet(options?: { [key: string]: any }) { + return request( + '/b2b2c/pbcBusinessPostConfig/getPostConfigList', + { + method: 'GET', + ...(options || {}), + }, + ); +} + +/** 单个海报配置信息 单个 GET /b2b2c/pbcBusinessPostConfig/postConfigDetail */ +export async function postConfigDetailUsingGet( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.postConfigDetailUsingGETParams, + options?: { [key: string]: any }, +) { + return request( + '/b2b2c/pbcBusinessPostConfig/postConfigDetail', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }, + ); +} diff --git a/src/services/pop-b2b2c/pbcLoginController.ts b/src/services/pop-b2b2c/pbcLoginController.ts index 068aae9..053cf44 100644 --- a/src/services/pop-b2b2c/pbcLoginController.ts +++ b/src/services/pop-b2b2c/pbcLoginController.ts @@ -2,6 +2,14 @@ /* eslint-disable */ import request from '@/utils/request'; +/** 匿名登录 GET /b2b2c/login/anoLogin */ +export async function anoLoginUsingGet(options?: { [key: string]: any }) { + return request('/b2b2c/login/anoLogin', { + method: 'GET', + ...(options || {}), + }); +} + /** auth POST /b2b2c/login/auth */ export async function authUsingPost(body: API.PbcUserLoginDTO, options?: { [key: string]: any }) { return request('/b2b2c/login/auth', { diff --git a/src/services/pop-b2b2c/pbcProductController.ts b/src/services/pop-b2b2c/pbcProductController.ts index 813a6c9..db83960 100644 --- a/src/services/pop-b2b2c/pbcProductController.ts +++ b/src/services/pop-b2b2c/pbcProductController.ts @@ -93,6 +93,21 @@ export async function getProductByQrCodeUsingGet( }); } +/** 根据商品id获取商品的详情图地址 获取商品详情图地址 GET /b2b2c/pbcproduct/getProductImage */ +export async function getProductImageUsingGet( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.getProductImageUsingGETParams, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcproduct/getProductImage', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + /** 获取商品分页 分页 POST /b2b2c/pbcproduct/getproductpage */ export async function getProductPageUsingPost( body: API.PbcProductPageDTO, @@ -134,17 +149,17 @@ export async function gogoYayaUsingPost(options?: { [key: string]: any }) { }); } -/** 根据商品id生成商品分享海报 分享海报 GET /b2b2c/pbcproduct/poster */ -export async function posterUsingGet( - // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) - params: API.posterUsingGETParams, +/** 根据商品id生成商品分享海报 分享海报 POST /b2b2c/pbcproduct/poster */ +export async function posterUsingPost( + body: API.PbcProductPosterVO, options?: { [key: string]: any }, ) { return request('/b2b2c/pbcproduct/poster', { - method: 'GET', - params: { - ...params, + method: 'POST', + headers: { + 'Content-Type': 'application/json', }, + data: body, ...(options || {}), }); } diff --git a/src/services/pop-b2b2c/pbcSearchKeyController.ts b/src/services/pop-b2b2c/pbcSearchKeyController.ts new file mode 100644 index 0000000..bcca0e5 --- /dev/null +++ b/src/services/pop-b2b2c/pbcSearchKeyController.ts @@ -0,0 +1,18 @@ +// @ts-ignore +/* eslint-disable */ +import request from '@/utils/request'; + +/** querySearchKeyRank 查询关键词排行 POST /b2b2c/pbcSearchKey/querySearchKeyRank */ +export async function querySearchKeyRankUsingPost( + body: API.PbcSearchKeyDTO, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcSearchKey/querySearchKeyRank', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/services/pop-b2b2c/pbcUserRecordLogController.ts b/src/services/pop-b2b2c/pbcUserRecordLogController.ts index 924dce3..faa41da 100644 --- a/src/services/pop-b2b2c/pbcUserRecordLogController.ts +++ b/src/services/pop-b2b2c/pbcUserRecordLogController.ts @@ -39,3 +39,18 @@ export async function overViewUsingPost(options?: { [key: string]: any }) { ...(options || {}), }); } + +/** 用登陆后的用户id替换未登录的用户id POST /b2b2c/statical/replaceLogUserId */ +export async function replaceLogUserIdUsingPost( + body: API.PbcDashBoardDTO, + options?: { [key: string]: any }, +) { + return request('/b2b2c/statical/replaceLogUserId', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/services/pop-b2b2c/typings.d.ts b/src/services/pop-b2b2c/typings.d.ts index 5eccd18..ad425f1 100644 --- a/src/services/pop-b2b2c/typings.d.ts +++ b/src/services/pop-b2b2c/typings.d.ts @@ -1,7 +1,7 @@ declare namespace API { type agreeMemberApplicationUsingGETParams = { /** businessUserId */ - businessUserId: number; + businessUserId: string; }; type AjaxRequest = { @@ -120,6 +120,12 @@ declare namespace API { retmsg?: string; }; + type AjaxResultListPbcBusinessPostConfig_ = { + data?: PbcBusinessPostConfig[]; + retcode?: number; + retmsg?: string; + }; + type AjaxResultListPbcCategory_ = { data?: PbcCategory[]; retcode?: number; @@ -138,6 +144,12 @@ declare namespace API { retmsg?: string; }; + type AjaxResultListPbcSearchKeyVO_ = { + data?: PbcSearchKeyVO[]; + retcode?: number; + retmsg?: string; + }; + type AjaxResultListPbcUserMessage_ = { data?: PbcUserMessage[]; retcode?: number; @@ -157,7 +169,7 @@ declare namespace API { }; type AjaxResultLong_ = { - data?: number; + data?: string; retcode?: number; retmsg?: string; }; @@ -210,6 +222,12 @@ declare namespace API { retmsg?: string; }; + type AjaxResultPbcBusinessPostConfig_ = { + data?: PbcBusinessPostConfig; + retcode?: number; + retmsg?: string; + }; + type AjaxResultPbcBusinessTeamVO_ = { data?: PbcBusinessTeamVO; retcode?: number; @@ -272,46 +290,46 @@ declare namespace API { type approvalSignYUsingGETParams = { /** pbcId */ - pbcId: number; + pbcId: string; }; type businessAdminDeleteUserMemberUsingGETParams = { /** pbcId */ - pbcId: number; + pbcId: string; }; type buyerDeleteBusinessRecordUsingGETParams = { /** pbcId */ - pbcId: number; + pbcId: string; }; type categoryInfoUsingGETParams = { /** id */ - id: number; + id: string; }; type changeProductStateForAdminUsingGETParams = { /** pcbId */ - pcbId: number; + pcbId: string; /** state */ state: number; }; type changeProductStateUsingGETParams = { /** pcbId */ - pcbId: number; + pcbId: string; /** state */ state: number; }; type changeUnreadStateUsingGETParams = { /** businessId */ - businessId: number; + businessId: string; }; type changeUserDefaultBusinessUsingGETParams = { /** businessUserId */ - businessUserId: number; + businessUserId: string; }; type checkEmailVerificationCodeUsingGETParams = { @@ -323,27 +341,27 @@ declare namespace API { type checkMemberShipUsingGETParams = { /** businessId */ - businessId: number; + businessId: string; }; type checkUserCollectExistUsingGETParams = { /** productId */ - productId: number; + productId: string; }; type deleteProductUsingGETParams = { /** pcbId */ - pcbId: number; + pcbId: string; }; type deleteRoleUsingPOSTParams = { /** roleId */ - roleId: number; + roleId: string; }; type deleteUserMessageUsingGETParams = { /** id */ - id: number; + id: string; }; type FilterVO = { @@ -355,6 +373,11 @@ declare namespace API { values?: string[]; }; + type getBusinessImageUsingGETParams = { + /** businessId */ + businessId: string; + }; + type getEmailVerificationCodeUsingGETParams = { /** email */ email: string; @@ -362,44 +385,49 @@ declare namespace API { type getMessageDetailUsingGETParams = { /** id */ - id: number; + id: string; }; type getPbcBusinessByIdUsingPOSTParams = { /** pbcId */ - pbcId: number; + pbcId: string; }; type getProductByQrCodeUsingGETParams = { /** productId */ - productId: number; + productId: string; /** userId */ - userId: number; + userId: string; + }; + + type getProductImageUsingGETParams = { + /** productId */ + productId: string; }; type getRecordByBusinessIdAdminUsingGETParams = { /** businessId */ - businessId: number; + businessId: string; }; type getRecordByBusinessIdUsingGETParams = { /** businessId */ - businessId: number; + businessId: string; }; type getRecordByL3CategoryIdUsingGETParams = { /** l3CategoryId */ - l3CategoryId: number; + l3CategoryId: string; }; type getTeamRecordByIdUsingGETParams = { /** teamId */ - teamId: number; + teamId: string; }; type getUserRecordByIdUsingGETParams = { /** id */ - id: number; + id: string; }; type getVerificationCodeUsingGETParams = { @@ -414,7 +442,7 @@ declare namespace API { type gradeInfoUsingPOSTParams = { /** id */ - id: number; + id: string; }; type headFileUploadUsingDELETEParams = { @@ -475,83 +503,83 @@ declare namespace API { }; type IPagePbcBusiness_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcBusiness[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type IPagePbcBusinessApproval_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcBusinessApproval[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type IPagePbcBusinessTeamVO_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcBusinessTeamVO[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type IPagePbcProductVO_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcProductVO[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type IPagePbcRole_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcRole[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type IPagePbcUserBusiness_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcUserBusiness_[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type IPagePbcUserCollect_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcUserCollect[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type IPagePbcUserMessage_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcUserMessage[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type IPagePbcUsers_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcUsers[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type IPagePbcVipGrade_ = { - current?: number; - pages?: number; + current?: string; + pages?: string; records?: PbcVipGrade[]; - size?: number; - total?: number; + size?: string; + total?: string; }; type JSONObject = true; @@ -563,7 +591,7 @@ declare namespace API { type listTreeUsingGETParams = { /** pbcBusinessId */ - pbcBusinessId: number; + pbcBusinessId: string; /** pbcUserType */ pbcUserType: number; /** type */ @@ -651,7 +679,7 @@ declare namespace API { type moveProductHotRecordUsingGETParams = { /** hotProductId */ - hotProductId: number; + hotProductId: string; /** type */ type: string; }; @@ -663,60 +691,60 @@ declare namespace API { type PagePbcBusiness_ = { countId?: string; - current?: number; - maxLimit?: number; + current?: string; + maxLimit?: string; optimizeCountSql?: boolean; orders?: OrderItem[]; - pages?: number; + pages?: string; records?: PbcBusiness[]; searchCount?: boolean; - size?: number; - total?: number; + size?: string; + total?: string; }; type PagePbcBusinessApproval_ = { countId?: string; - current?: number; - maxLimit?: number; + current?: string; + maxLimit?: string; optimizeCountSql?: boolean; orders?: OrderItem[]; - pages?: number; + pages?: string; records?: PbcBusinessApproval[]; searchCount?: boolean; - size?: number; - total?: number; + size?: string; + total?: string; }; type PagePbcUserMessage_ = { countId?: string; - current?: number; - maxLimit?: number; + current?: string; + maxLimit?: string; optimizeCountSql?: boolean; orders?: OrderItem[]; - pages?: number; + pages?: string; records?: PbcUserMessage[]; searchCount?: boolean; - size?: number; - total?: number; + size?: string; + total?: string; }; type PagePbcUsers_ = { countId?: string; - current?: number; - maxLimit?: number; + current?: string; + maxLimit?: string; optimizeCountSql?: boolean; orders?: OrderItem[]; - pages?: number; + pages?: string; records?: PbcUsers[]; searchCount?: boolean; - size?: number; - total?: number; + size?: string; + total?: string; }; type PageVO = { - current?: number; + current?: string; filters?: FilterVO[]; - pageSize?: number; + pageSize?: string; sort?: string; sortField?: string; }; @@ -742,13 +770,13 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 父级id */ - pbcParentId?: number; + pbcParentId?: string; /** 权限 */ pbcPermission?: string; /** 状态,0是删除,1是正常,2是作废 */ @@ -756,7 +784,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 对应url */ @@ -826,11 +854,11 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 社会统一信用代码 */ @@ -838,7 +866,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -901,13 +929,13 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 商户id */ - pbcProductBusinessId?: number; + pbcProductBusinessId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 社会统一信用代码 */ @@ -915,7 +943,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -982,11 +1010,11 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 商户id */ pbcProductBusinessId?: string; /** 状态 */ @@ -996,7 +1024,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -1037,16 +1065,16 @@ declare namespace API { /** 商户省份 */ pbcBusinessProvince?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; }; type PbcBusinessIndexDTO = { pbcBusinessCode?: string; - pbcId?: number; + pbcId?: string; /** 来源:微信分享,链接、二维码 */ pbcSourceType?: string; /** 分享人的id */ - shareUserId?: number; + shareUserId?: string; }; type PbcBusinessPageDTO = { @@ -1067,7 +1095,7 @@ declare namespace API { /** 商户类别 */ pbcBusinessType?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态 */ pbcState?: number; /** 模糊搜索条件,可以是商户名称、商户联系人、商户联系人电话 */ @@ -1076,17 +1104,63 @@ declare namespace API { startTime?: string; }; + type PbcBusinessPostConfig = { + pbcBusinessDoorLabelSize?: number; + pbcBusinessDoorLabelX?: number; + pbcBusinessDoorLabelY?: number; + pbcBusinessEmailSize?: number; + pbcBusinessEmailX?: number; + pbcBusinessEmailY?: number; + pbcBusinessImageSize?: string; + pbcBusinessImageX?: number; + pbcBusinessImageY?: number; + pbcBusinessLogoX?: number; + pbcBusinessLogoY?: number; + pbcBusinessMainCategorySize?: number; + pbcBusinessMainCategoryX?: number; + pbcBusinessMainCategoryY?: number; + pbcBusinessMobileSize?: number; + pbcBusinessMobileX?: number; + pbcBusinessMobileY?: number; + pbcBusinessNameSize?: number; + pbcBusinessNameX?: number; + pbcBusinessNameY?: number; + pbcBusinessTemplateName?: string; + /** 创建时间 */ + pbcCreateAt?: string; + /** 创建人 */ + pbcCreateBy?: string; + /** 创建人 */ + pbcCreateByUserName?: string; + pbcExampleImage?: string; + /** 主键 */ + pbcId?: string; + pbcQrCodeTextSize?: number; + pbcQrCodeTextX?: number; + pbcQrCodeTextY?: number; + pbcQrCodeUrlX?: number; + pbcQrCodeUrlY?: number; + /** 状态,0是删除,1是正常,2是作废 */ + pbcState?: number; + /** 更新时间 */ + pbcUpdateAt?: string; + /** 更新人 */ + pbcUpdateBy?: string; + /** 更新人 */ + pbcUpdateByUserName?: string; + }; + type PbcBusinessStaticalDTO = { /** 按天:1,按月:2 */ pbcQueryType?: number; - pbcUserId?: number; + pbcUserId?: string; }; type PbcBusinessTeam_ = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 当前用户的海报模板 */ - pbcBusinessPostConfigId?: number; + pbcBusinessPostConfigId?: string; /** 角色类型 */ pbcBusinessRole?: string; /** 商家海报地址, 此处为海报链接 */ @@ -1096,30 +1170,30 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id */ - pbcUserId?: number; + pbcUserId?: string; }; type PbcBusinessTeamDTO = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 角色类型 */ pbcBusinessRole?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 用户手机号 */ @@ -1136,11 +1210,11 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 角色类型 */ pbcBusinessRole?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 用户手机号 */ @@ -1153,15 +1227,15 @@ declare namespace API { type PbcBusinessTeamVO = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 角色类型 */ pbcBusinessRole?: string; /** team主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 用户id */ - pbcUserId?: number; + pbcUserId?: string; /** 用户手机号 */ pbcUserMobile?: string; /** 用户姓名 */ @@ -1172,7 +1246,7 @@ declare namespace API { type PbcBusinessViewCountVO = { pbcBusinessName?: string; - pbcBusinessVisitCount?: number; + pbcBusinessVisitCount?: string; }; type PbcBusinessViewStaticalVO = { @@ -1188,7 +1262,7 @@ declare namespace API { /** 类目名称 */ pbcCategoryName?: string; /** 父级类目id,没有就填写0 */ - pbcCategoryParentId?: number; + pbcCategoryParentId?: string; /** 父级类目名称 */ pbcCategoryParentName?: string; /** 类目排序 */ @@ -1196,17 +1270,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -1224,26 +1298,26 @@ declare namespace API { /** 类目名称,模糊搜索 */ pbcCategoryName?: string; /** 父级类目id,没有就填写0 */ - pbcCategoryParentId?: number; + pbcCategoryParentId?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; }; type PbcCommonData = { /** 值列表 */ commonDataValueList?: PbcCommonDataValue[]; /** 三级类别id */ - pbcCategoryId?: number; + pbcCategoryId?: string; /** 三级类别名称 */ pbcCategoryName?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 排序 */ pbcSort?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1259,22 +1333,22 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; type PbcCommonDataValue = { /** 元数据id */ - pbcCommonDataId?: number; + pbcCommonDataId?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 排序 */ pbcSort?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1284,7 +1358,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -1299,65 +1373,78 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; type PbcDashBoardDTO = { + /** 登录前的userid */ + anonToken?: string; endDate?: string; - pbcCategoryType?: number; + /** 登录后的token */ + loginToken?: string; + pbcCategoryType?: string; pbcQueryType?: number; startDate?: string; }; + type PbcGenerateBusinessPosterDTO = { + /** 图片地址,不传默认使用商户第一张图片 */ + imageUrl?: string; + /** 海报配置id,不传默认用第一个 */ + pbcBusinessPostConfigId?: string; + }; + type PbcImageSearchDTO = { - pbcBusinessId?: number; + pbcBusinessId?: string; pbcImageUrl?: string; }; type PbcInteractStaticalVO = { - pbcColectNumber?: number; - pbcViewTotalNumber?: number; + pbcColectNumber?: string; + pbcViewTotalNumber?: string; }; type PbcProduct = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; + /** 0代表对业务员商品私密,1代表对业务员商品公开 */ + pbcPrivateProductForBusiness?: number; /** 审核失败理由 */ pbcProductAuditFailureReason?: string; /** 商品细分类id */ - pbcProductCategoryId?: number; + pbcProductCategoryId?: string; /** 商品细分类 */ pbcProductCategoryName?: string; /** 商品编号 */ pbcProductCode?: string; /** 收藏数 */ - pbcProductCollectCount?: number; + pbcProductCollectCount?: string; /** 商品详细 */ pbcProductDetail?: string; /** 商品详情图 */ pbcProductDetailImages?: string; /** 浏览量 */ - pbcProductHot?: number; + pbcProductHot?: string; /** 商品相册图 */ pbcProductImages?: string; /** 产地城市 */ @@ -1369,7 +1456,7 @@ declare namespace API { /** 产地省份编码 */ pbcProductOriginalProvinceCode?: string; /** 商品中类的id */ - pbcProductParentCategoryId?: number; + pbcProductParentCategoryId?: string; /** 商品中类 */ pbcProductParentCategoryName?: string; /** 商品价格 */ @@ -1377,11 +1464,11 @@ declare namespace API { /** 货架号 */ pbcProductShelfNumber?: string; /** 商品库存 */ - pbcProductStock?: number; + pbcProductStock?: string; /** 商品标题 */ pbcProductTitle?: string; /** 商品大类的id */ - pbcProductTopCategoryId?: number; + pbcProductTopCategoryId?: string; /** 商品大类 */ pbcProductTopCategoryName?: string; /** 产品类型:私密PRIVATE、公开PUBLIC */ @@ -1393,13 +1480,13 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; type PbcProductCollectCountVO = { - pbcProductCollectCount?: number; + pbcProductCollectCount?: string; pbcProductName?: string; }; @@ -1411,21 +1498,21 @@ declare namespace API { /** 颜色图片地址 */ pbcColorImageUrl?: string; /** 规格id */ - pbcCommonDataId?: number; + pbcCommonDataId?: string; /** 输入值 */ pbcCommonDataSystem?: string; /** 规格选值名称 */ pbcCommonDataSystemValue?: string; /** 规格选值id */ - pbcCommonDataValueId?: number; + pbcCommonDataValueId?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 排序 */ pbcSort?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1437,22 +1524,24 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 商品id */ - productId?: number; + productId?: string; /** 缩略图地址 */ thumbnailUrl?: string; }; type PbcProductDTO = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; + /** 0代表对业务员商品私密,1代表对业务员商品公开 */ + pbcPrivateProductForBusiness?: number; /** 商品细分类id */ - pbcProductCategoryId?: number; + pbcProductCategoryId?: string; /** 商品细分类 */ pbcProductCategoryName?: string; /** 商品编号 */ @@ -1472,7 +1561,7 @@ declare namespace API { /** 产地省份编码 */ pbcProductOriginalProvinceCode?: string; /** 商品中类的id */ - pbcProductParentCategoryId?: number; + pbcProductParentCategoryId?: string; /** 商品中类 */ pbcProductParentCategoryName?: string; /** 商品价格 */ @@ -1480,11 +1569,11 @@ declare namespace API { /** 货架号 */ pbcProductShelfNumber?: string; /** 商品库存 */ - pbcProductStock?: number; + pbcProductStock?: string; /** 商品标题 */ pbcProductTitle?: string; /** 商品大类的id */ - pbcProductTopCategoryId?: number; + pbcProductTopCategoryId?: string; /** 商品大类 */ pbcProductTopCategoryName?: string; /** 产品类型:私密、公开 */ @@ -1496,16 +1585,16 @@ declare namespace API { /** 商品状态,0删除,1上架,2下架,3审核中 */ pbcState?: number; /** 分享人 */ - pbcUserId?: number; + pbcUserId?: string; /** 接收规格、颜色 */ productCommonDataList?: PbcProductCommonData[]; }; type PbcProductHotDto = { /** 商户id,查看必须,新增无需传 */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 商品id列表,新增记录必须 */ - pbcProductIdList?: number[]; + pbcProductIdList?: string[]; /** 热销类型,类型包括new:新品、main:主推、hotSale:热卖,必须 */ pbcSystemTypeHotProduct?: string; }; @@ -1513,14 +1602,16 @@ declare namespace API { type PbcProductPageDTO = { /** 当前页 */ current?: number; + /** 该字段用于过滤业务员私密商品,前端不要传值 */ + filterBusinessUserId?: string; /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 商品细分类id,也就是三级类目id */ - pbcProductCategoryId?: number; + pbcProductCategoryId?: string; /** 商品细分类,也就是三级类目名称 */ pbcProductCategoryName?: string; /** 产地城市 */ @@ -1547,9 +1638,16 @@ declare namespace API { sortField?: string; }; + type PbcProductPosterVO = { + /** 图片url */ + image?: string; + /** 商品id */ + productId?: string; + }; + type PbcProductViewCountVO = { pbcProductName?: string; - pbcProductVisitCount?: number; + pbcProductVisitCount?: string; }; type PbcProductViewStaticalVO = { @@ -1566,33 +1664,35 @@ declare namespace API { /** 商户手机号 */ pbcBusinessContactMobile?: string; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 商户名称 */ pbcBusinessName?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; + /** 0代表对业务员商品私密,1代表对业务员商品公开 */ + pbcPrivateProductForBusiness?: number; /** 审核失败理由 */ pbcProductAuditFailureReason?: string; /** 商品细分类id */ - pbcProductCategoryId?: number; + pbcProductCategoryId?: string; /** 商品细分类 */ pbcProductCategoryName?: string; /** 商品编号 */ pbcProductCode?: string; /** 收藏数 */ - pbcProductCollectCount?: number; + pbcProductCollectCount?: string; /** 商品详细 */ pbcProductDetail?: string; /** 商品详情图 */ pbcProductDetailImages?: string; /** 浏览量 */ - pbcProductHot?: number; + pbcProductHot?: string; /** 商品相册图 */ pbcProductImages?: string; /** 产地城市 */ @@ -1604,7 +1704,7 @@ declare namespace API { /** 产地省份编码 */ pbcProductOriginalProvinceCode?: string; /** 商品中类的id */ - pbcProductParentCategoryId?: number; + pbcProductParentCategoryId?: string; /** 商品中类 */ pbcProductParentCategoryName?: string; /** 商品价格 */ @@ -1612,11 +1712,11 @@ declare namespace API { /** 货架号 */ pbcProductShelfNumber?: string; /** 商品库存 */ - pbcProductStock?: number; + pbcProductStock?: string; /** 商品标题 */ pbcProductTitle?: string; /** 商品大类的id */ - pbcProductTopCategoryId?: number; + pbcProductTopCategoryId?: string; /** 商品大类 */ pbcProductTopCategoryName?: string; /** 产品类型:私密PRIVATE、公开PUBLIC */ @@ -1628,7 +1728,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 规格列表,查询返回时,与颜色列表分开 */ @@ -1636,25 +1736,25 @@ declare namespace API { }; type PbcRegisterStaticalVO = { - businessNumber?: number; - vipNumber?: number; + businessNumber?: string; + vipNumber?: string; }; type PbcRole = { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 角色编号 */ @@ -1667,7 +1767,7 @@ declare namespace API { /** 权限 */ authorities?: PbcAuthority[]; /** 权限id */ - authorityIds?: number[]; + authorityIds?: string[]; /** 当前页 */ current?: number; /** 条数 */ @@ -1675,17 +1775,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 角色编号 */ @@ -1699,25 +1799,41 @@ declare namespace API { pbcScanUserNumber?: number; }; + type PbcSearchKeyDTO = { + /** 商户id */ + businessId?: string; + /** 结束时间 */ + endTime?: string; + /** 开始时间 */ + startTime?: string; + }; + + type PbcSearchKeyVO = { + /** 搜索词统计数量 */ + number?: number; + /** 搜索词 */ + pbcSearchWord?: string; + }; + type PbcUserBusiness_ = { /** 商户手机号 */ pbcBusinessContactMobile?: string; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 商户logo */ pbcBusinessLogo?: string; /** 商户名称 */ pbcBusinessName?: string; /** 商家员工id */ - pbcBusinessUserId?: number; + pbcBusinessUserId?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 是否是默认的,1是默认,0不是默认 */ pbcIsDefault?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1725,14 +1841,14 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id */ - pbcUserId?: number; + pbcUserId?: string; pbcUsers?: PbcUsersVO; /** 用户等级id */ - pbcVipGradeId?: number; + pbcVipGradeId?: string; /** 用户等级名称 */ pbcVipGradeName?: string; }; @@ -1743,7 +1859,7 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id,不用传 */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 状态,0是待通过,1是通过 */ pbcState?: number; /** 用户昵称或者手机号,模糊搜索 */ @@ -1752,7 +1868,7 @@ declare namespace API { type PbcUserBusinessReturnVO = { /** 默认商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 用户商户列表 */ pbcUserBusinessList?: PbcUserBusiness_[]; }; @@ -1768,29 +1884,29 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 角色名称 */ - pbcProductId?: number; + pbcProductId?: string; pbcProductVO?: PbcProductVO; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id */ - pbcUserId?: number; + pbcUserId?: string; }; type PbcUserCollectDTO = { - pbcBusinessId?: number; - pbcProductId?: number; + pbcBusinessId?: string; + pbcProductId?: string; }; type PbcUserCollectPageDTO = { @@ -1805,7 +1921,7 @@ declare namespace API { /** 状态,1是上架,2是下架,按道理用户收藏的商品只有这两种状态 */ pbcState?: number; /** 用户id,不用传 */ - pbcUserId?: number; + pbcUserId?: string; /** 排序方式 asc desc,可以按照收藏时间排序 */ sort?: string; }; @@ -1816,7 +1932,7 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; pbcBusinessInfo?: PbcBusiness; /** 商户logo */ pbcBusinessLogo?: string; @@ -1826,17 +1942,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户邮箱 */ @@ -1852,7 +1968,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 性别,0表示男性,1表示女性 */ @@ -1860,7 +1976,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: number; + pbcUserSourceUserId?: string; /** 用户分享源的昵称 */ pbcUserSourceUserNickName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -1884,7 +2000,7 @@ declare namespace API { /** 存放回复 */ children?: PbcUserMessage[]; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 商户名称 */ pbcBusinessName?: string; /** 商家查看状态,0表示未读,1表示已读 */ @@ -1892,24 +2008,24 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 留言内容 */ pbcMessage?: string; /** 留言图片 */ pbcMessageImages?: string; /** 主题id */ - pbcMessageMainId?: number; + pbcMessageMainId?: string; pbcProduct?: PbcProduct; /** 商品id */ - pbcProductId?: number; + pbcProductId?: string; /** 回复状态,0表示未被商家回复,1表示已被商家回复 */ pbcReplyState?: number; /** 回复的id */ - pbcReplyToId?: number; + pbcReplyToId?: string; /** 0回复的主题,1回复某条回复 */ pbcReplyType?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1919,11 +2035,11 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id */ - pbcUserId?: number; + pbcUserId?: string; /** 用户头像 */ pbcUserImage?: string; /** 用户手机号 */ @@ -1934,25 +2050,25 @@ declare namespace API { type PbcUserMessage_ = { /** 商户id,必须有的 */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键,前端无需传 */ - pbcId?: number; + pbcId?: string; /** 留言内容,必须 */ pbcMessage?: string; /** 留言图片 */ pbcMessageImages?: string; /** 主题id,主题这里是空,回复必须 */ - pbcMessageMainId?: number; + pbcMessageMainId?: string; /** 商品id */ - pbcProductId?: number; + pbcProductId?: string; /** 回复的id,主题这里是空,回复必须 */ - pbcReplyToId?: number; + pbcReplyToId?: string; /** 0回复的主题,1回复某条回复,回复必须 */ pbcReplyType?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1962,11 +2078,11 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id,前端无需传 */ - pbcUserId?: number; + pbcUserId?: string; /** 0表示商户,1表示会员, 2管理员,前端无需传 */ pbcUserType?: number; }; @@ -1984,7 +2100,7 @@ declare namespace API { type PbcUserRegisterDTO = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 用户邮箱 */ pbcUserEmail?: string; /** 用户手机号 */ @@ -1994,7 +2110,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: number; + pbcUserSourceUserId?: string; /** 0表示商户,1表示会员, 2管理员 */ pbcUserType?: number; /** 验证码 */ @@ -2003,7 +2119,7 @@ declare namespace API { type PbcUsers = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; pbcBusinessInfo?: PbcBusiness; /** 商户logo */ pbcBusinessLogo?: string; @@ -2013,17 +2129,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户邮箱 */ @@ -2039,7 +2155,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 性别,0表示男性,1表示女性 */ @@ -2047,7 +2163,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: number; + pbcUserSourceUserId?: string; /** 用户分享源的昵称 */ pbcUserSourceUserNickName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -2058,7 +2174,7 @@ declare namespace API { /** 用户权限集 */ currentAuthority?: string[]; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; pbcBusinessInfo?: PbcBusiness; /** 商户logo */ pbcBusinessLogo?: string; @@ -2068,17 +2184,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户邮箱 */ @@ -2094,7 +2210,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 性别,0表示男性,1表示女性 */ @@ -2102,7 +2218,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: number; + pbcUserSourceUserId?: string; /** 用户分享源的昵称 */ pbcUserSourceUserNickName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -2115,15 +2231,15 @@ declare namespace API { type PbcVipGrade = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 排序 */ pbcSort?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -2133,7 +2249,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** vip折扣 */ @@ -2147,64 +2263,64 @@ declare namespace API { }; type PbcVisitStaticalVO = { - pbcLinkNumber?: number; - pbcScanNumber?: number; - pbcShareNumber?: number; + pbcLinkNumber?: string; + pbcScanNumber?: string; + pbcShareNumber?: string; }; - type posterUsingGETParams = { - /** productId */ - productId: number; + type postConfigDetailUsingGETParams = { + /** id */ + id: string; }; type productDetailForAdminUsingGETParams = { /** productId */ - productId: number; + productId: string; }; type queryAuthorityUsingPOSTParams = { /** roleId */ - roleId: number; + roleId: string; }; type removeCategoryByIdUsingGETParams = { /** id */ - id: number; + id: string; }; type removeGradeByIdUsingPOSTParams = { /** id */ - id: number; + id: string; }; type removeProductHotRecordUsingGETParams = { /** hotProductId */ - hotProductId: number; + hotProductId: string; }; type removeUserCollectByIdUsingGETParams = { /** collectId */ - collectId: number; + collectId: string; }; type removeUserCollectByProductIdUsingGETParams = { /** productId */ - productId: number; + productId: string; }; type resetPasswordUsingGETParams = { /** id */ - id: number; + id: string; }; type resetTeamMemberPasswordUsingGETParams = { /** teamId */ - teamId: number; + teamId: string; }; type saveUserBusinessRecordUsingGETParams = { /** businessId */ - businessId: number; + businessId: string; }; type searchCategoryUsingGETParams = { @@ -2214,33 +2330,33 @@ declare namespace API { type searchUnreadNumUsingGETParams = { /** businessId */ - businessId: number; + businessId: string; }; type updateBusinessRecordLevelUsingGETParams = { /** businessLevel */ businessLevel: string; /** pbcId */ - pbcId: number; + pbcId: string; }; type updateBusinessRecordStateUsingGETParams = { /** pbcId */ - pbcId: number; + pbcId: string; /** state */ state: number; }; type updateCategoryRecordStateUsingGETParams = { /** pbcId */ - pbcId: number; + pbcId: string; /** state */ state: number; }; type updateMemberRecordStateUsingGETParams = { /** pbcId */ - pbcId: number; + pbcId: string; /** state */ state: number; }; @@ -2249,12 +2365,12 @@ declare namespace API { /** state */ state: number; /** teamId */ - teamId: number; + teamId: string; }; type updateUserRecordStateUsingGETParams = { /** pbcId */ - pbcId: number; + pbcId: string; /** state */ state: number; }; @@ -2291,7 +2407,7 @@ declare namespace API { type UserAddDTO = { /** 用户id */ - pbcId?: number; + pbcId?: string; /** 用户手机号 */ pbcUserMobile?: string; /** 用户姓名 */ @@ -2299,7 +2415,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -2308,7 +2424,7 @@ declare namespace API { type UserDTO = { /** 用户id */ - pbcId?: number; + pbcId?: string; /** 用户头像 */ pbcUserImage?: string; /** 用户姓名 */ @@ -2325,19 +2441,19 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 商户名称 */ pbcBusinessName?: string; /** 商家查看状态,0表示未读,1表示已读 */ pbcBusinessReadState?: number; /** 主键id */ - pbcId?: number; + pbcId?: string; /** 0表示未被商家回复,1表示已被商家回复 */ pbcReplyState?: number; /** 留言标题 */ pbcTitle?: string; /** 用户id */ - pbcUserId?: number; + pbcUserId?: string; /** 用户手机号 */ pbcUserMobile?: string; /** 用户昵称 */ @@ -2350,11 +2466,11 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 模糊搜索条件,可以是用户姓名、用户电话 */