From 01e30072ded0caf6e839249e2c5f0c4edf38abc8 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 8 Apr 2024 15:52:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/access.ts | 1 + src/pages/AuditsList/index.tsx | 2 +- src/pages/BusinessList/index.tsx | 17 +- src/pages/Dashboard.tsx | 5 +- src/pages/MemberList/grade.tsx | 2 +- src/pages/MemberList/index.tsx | 24 +- src/pages/MessageList/index.tsx | 79 ++- src/pages/ProductList/index.tsx | 2 +- src/pages/RoleList/index.tsx | 2 +- src/pages/UserList/index.tsx | 2 +- .../pop-b2b2c/pbcProductController.ts | 8 + .../pop-b2b2c/pbcUserMessageController.ts | 15 + src/services/pop-b2b2c/typings.d.ts | 557 +++++++++--------- 13 files changed, 411 insertions(+), 305 deletions(-) diff --git a/src/access.ts b/src/access.ts index eb80293..6d11de4 100644 --- a/src/access.ts +++ b/src/access.ts @@ -42,6 +42,7 @@ export default function access(initialState: { currentUser?: API.PbcUsersVO | un contentSave: false, message: false, messageQuery: false, + messageDelete: false, }; for (let i = 0; i < currentUser?.currentAuthority.length; i++) { const element = currentUser?.currentAuthority[i]; diff --git a/src/pages/AuditsList/index.tsx b/src/pages/AuditsList/index.tsx index 585fa9b..e6d7087 100644 --- a/src/pages/AuditsList/index.tsx +++ b/src/pages/AuditsList/index.tsx @@ -112,7 +112,7 @@ const TableList: React.FC<{}> = () => { }} params={{ pbcBusinessApprovalResult: tabActiveKey }} pagination={{ - pageSize: 20, + defaultPageSize: 20, showSizeChanger: true, }} scroll={{ diff --git a/src/pages/BusinessList/index.tsx b/src/pages/BusinessList/index.tsx index 5b6e93b..7ccb806 100644 --- a/src/pages/BusinessList/index.tsx +++ b/src/pages/BusinessList/index.tsx @@ -7,7 +7,7 @@ import { handlePageQuery } from '@/utils/utils'; import { ActionType, ProColumns, ProTable } from '@ant-design/pro-components'; import { PageContainer } from '@ant-design/pro-layout'; import { Access, Link, useAccess } from '@umijs/max'; -import { message, Space, Switch } from 'antd'; +import { Button, message, Popconfirm, Space, Switch } from 'antd'; import React, { useRef } from 'react'; /** @@ -125,6 +125,19 @@ const TableList: React.FC<{}> = () => { 编辑 + + { + const success = await handleUpdateState(record.pbcId || 0, 0); + if (success) actionRef.current?.reload(); + }} + > + + + ), }, @@ -151,7 +164,7 @@ const TableList: React.FC<{}> = () => { span: 6, }} pagination={{ - pageSize: 20, + defaultPageSize: 20, showSizeChanger: true, }} scroll={{ diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx index 0b7a0fb..3942ceb 100644 --- a/src/pages/Dashboard.tsx +++ b/src/pages/Dashboard.tsx @@ -164,7 +164,10 @@ const Welcome: React.FC = () => { label=" " radioType="button" fieldProps={{ - buttonStyle: "solid" + buttonStyle: "solid", + onChange: () => { + getData() + } }} options={[ { diff --git a/src/pages/MemberList/grade.tsx b/src/pages/MemberList/grade.tsx index 5429088..cd19ea5 100644 --- a/src/pages/MemberList/grade.tsx +++ b/src/pages/MemberList/grade.tsx @@ -111,7 +111,7 @@ const TableList: React.FC<{}> = () => { span: 6 }} pagination={{ - pageSize: 20, + defaultPageSize: 20, showSizeChanger: true, }} scroll={{ diff --git a/src/pages/MemberList/index.tsx b/src/pages/MemberList/index.tsx index d7ad8f5..f596d0b 100644 --- a/src/pages/MemberList/index.tsx +++ b/src/pages/MemberList/index.tsx @@ -8,7 +8,7 @@ import { handlePageQuery } from '@/utils/utils'; import { ActionType, ProColumns, ProTable } from '@ant-design/pro-components'; import { PageContainer } from '@ant-design/pro-layout'; import { Access, useAccess } from '@umijs/max'; -import { message, Switch } from 'antd'; +import { Button, message, Popconfirm, Switch } from 'antd'; import React, { useRef } from 'react'; /** @@ -127,6 +127,26 @@ const TableList: React.FC<{}> = () => { ); }, }, + { + title: '操作', + fixed: 'right', + valueType: 'option', + render: (text, record) => ( + + { + const success = await handleUpdateState(record.pbcId || 0, 0); + if (success) actionRef.current?.reload(); + }} + > + + + + ), + }, ]; return ( = () => { span: 6, }} pagination={{ - pageSize: 20, + defaultPageSize: 20, showSizeChanger: true, }} scroll={{ diff --git a/src/pages/MessageList/index.tsx b/src/pages/MessageList/index.tsx index 917655c..6436822 100644 --- a/src/pages/MessageList/index.tsx +++ b/src/pages/MessageList/index.tsx @@ -3,9 +3,10 @@ import { PageContainer } from '@ant-design/pro-layout'; import Constants from '@/constants'; import { ActionType, ProColumns, ProTable } from '@ant-design/pro-components'; import { handlePageQuery } from '@/utils/utils'; -import { getMessageDetailUsingGet, pbcUserMessagePageUsingPost } from '@/services/pop-b2b2c/pbcUserMessageController'; -import { Avatar, Button, Col, Drawer, Row, Image, Divider } from 'antd'; +import { deleteUserMessageUsingGet, getMessageDetailUsingGet, pbcUserMessagePageUsingPost } from '@/services/pop-b2b2c/pbcUserMessageController'; +import { Avatar, Button, Col, Drawer, Row, Image, Divider, Space, Popconfirm, message } from 'antd'; import { UserOutlined } from '@ant-design/icons'; +import { Access, useAccess } from '@umijs/max'; /** * 查询表格 @@ -20,9 +21,34 @@ const fetchData = async (params: API.PageVO) => { } as any; }; +/** + * 删除节点 + * @param id + */ +const handleRemove = async (fields: API.PbcUserMessage) => { + const hide = message.loading('正在删除'); + if (!fields.pbcId) return false; + + try { + const msg = await deleteUserMessageUsingGet({ id: fields.pbcId }); + hide(); + if (msg.retcode) { + message.success('删除成功,即将刷新'); + } else { + message.error(msg.retmsg ?? '删除失败,请重试'); + } + return true; + } catch (error) { + hide(); + message.error('删除失败,请重试'); + return false; + } +}; + // eslint-disable-next-line @typescript-eslint/ban-types const TableList: React.FC<{}> = () => { const actionRef = useRef(); + const access: any = useAccess(); const [currentRow, setCurrentRow] = useState(); @@ -65,22 +91,37 @@ const TableList: React.FC<{}> = () => { fixed: 'right', valueType: 'option', render: (text, record) => ( - + + + + { + const success = await handleRemove(record); + if (success) actionRef.current?.reload(); + }} + > + + + + ), }, ]; @@ -113,7 +154,7 @@ const TableList: React.FC<{}> = () => { span: 6 }} pagination={{ - pageSize: 20, + defaultPageSize: 20, showSizeChanger: true, }} scroll={{ diff --git a/src/pages/ProductList/index.tsx b/src/pages/ProductList/index.tsx index bd8b8c0..3ad5a93 100644 --- a/src/pages/ProductList/index.tsx +++ b/src/pages/ProductList/index.tsx @@ -155,7 +155,7 @@ const TableList: React.FC<{}> = () => { span: 6, }} pagination={{ - pageSize: 20, + defaultPageSize: 20, showSizeChanger: true, }} scroll={{ diff --git a/src/pages/RoleList/index.tsx b/src/pages/RoleList/index.tsx index 6f9895c..117da9f 100644 --- a/src/pages/RoleList/index.tsx +++ b/src/pages/RoleList/index.tsx @@ -178,7 +178,7 @@ const TableList: React.FC<{}> = () => { }, }} pagination={{ - pageSize: 20, + defaultPageSize: 20, showSizeChanger: true, }} scroll={{ diff --git a/src/pages/UserList/index.tsx b/src/pages/UserList/index.tsx index d15a0b7..7a5ee86 100644 --- a/src/pages/UserList/index.tsx +++ b/src/pages/UserList/index.tsx @@ -248,7 +248,7 @@ const TableList: React.FC<{}> = () => { }, }} pagination={{ - pageSize: 20, + defaultPageSize: 20, showSizeChanger: true, }} scroll={{ diff --git a/src/services/pop-b2b2c/pbcProductController.ts b/src/services/pop-b2b2c/pbcProductController.ts index 8093014..813a6c9 100644 --- a/src/services/pop-b2b2c/pbcProductController.ts +++ b/src/services/pop-b2b2c/pbcProductController.ts @@ -126,6 +126,14 @@ export async function getProductPageForHotProductUsingPost( ); } +/** gogoYaya POST /b2b2c/pbcproduct/gogoYaya */ +export async function gogoYayaUsingPost(options?: { [key: string]: any }) { + return request('/b2b2c/pbcproduct/gogoYaya', { + method: 'POST', + ...(options || {}), + }); +} + /** 根据商品id生成商品分享海报 分享海报 GET /b2b2c/pbcproduct/poster */ export async function posterUsingGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) diff --git a/src/services/pop-b2b2c/pbcUserMessageController.ts b/src/services/pop-b2b2c/pbcUserMessageController.ts index af1b49c..a63a041 100644 --- a/src/services/pop-b2b2c/pbcUserMessageController.ts +++ b/src/services/pop-b2b2c/pbcUserMessageController.ts @@ -17,6 +17,21 @@ export async function changeUnreadStateUsingGet( }); } +/** 删除留言 删除留言 GET /b2b2c/pbcusermesssage/deleteUserMessage */ +export async function deleteUserMessageUsingGet( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.deleteUserMessageUsingGETParams, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcusermesssage/deleteUserMessage', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + /** frontPbcUserMessagePage 分页,按照搜索条件查询出留言记录分页,前端专用 POST /b2b2c/pbcusermesssage/frontPbcUserMessagePage */ export async function frontPbcUserMessagePageUsingPost( body: API.PageVO, diff --git a/src/services/pop-b2b2c/typings.d.ts b/src/services/pop-b2b2c/typings.d.ts index 915fb33..1fe9494 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 = { @@ -157,7 +157,7 @@ declare namespace API { }; type AjaxResultLong_ = { - data?: number; + data?: string; retcode?: number; retmsg?: string; }; @@ -272,46 +272,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,22 +323,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: string; }; type FilterVO = { @@ -357,44 +362,44 @@ 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 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 = { @@ -409,7 +414,7 @@ declare namespace API { type gradeInfoUsingPOSTParams = { /** id */ - id: number; + id: string; }; type headFileUploadUsingDELETEParams = { @@ -470,83 +475,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; @@ -558,7 +563,7 @@ declare namespace API { type listTreeUsingGETParams = { /** pbcBusinessId */ - pbcBusinessId: number; + pbcBusinessId: string; /** pbcUserType */ pbcUserType: number; /** type */ @@ -646,7 +651,7 @@ declare namespace API { type moveProductHotRecordUsingGETParams = { /** hotProductId */ - hotProductId: number; + hotProductId: string; /** type */ type: string; }; @@ -658,60 +663,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; }; @@ -737,13 +742,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是作废 */ @@ -751,7 +756,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 对应url */ @@ -821,11 +826,11 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 社会统一信用代码 */ @@ -833,7 +838,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -896,13 +901,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; /** 社会统一信用代码 */ @@ -910,7 +915,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -977,11 +982,11 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 商户id */ pbcProductBusinessId?: string; /** 状态 */ @@ -991,7 +996,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -1032,16 +1037,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 = { @@ -1062,7 +1067,7 @@ declare namespace API { /** 商户类别 */ pbcBusinessType?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态 */ pbcState?: number; /** 模糊搜索条件,可以是商户名称、商户联系人、商户联系人电话 */ @@ -1074,12 +1079,12 @@ declare namespace API { type PbcBusinessStaticalDTO = { /** 按天:1,按月:2 */ pbcQueryType?: number; - pbcUserId?: number; + pbcUserId?: string; }; type PbcBusinessTeam_ = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 角色类型 */ pbcBusinessRole?: string; /** 商家用户二维码:团队成员展示的二维码均不相同,此处为二维码链接 */ @@ -1087,32 +1092,32 @@ 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; /** 商家海报地址, 此处为海报链接 */ pbc_business_user_post_url?: string; }; type PbcBusinessTeamDTO = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 角色类型 */ pbcBusinessRole?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 用户手机号 */ @@ -1129,11 +1134,11 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 角色类型 */ pbcBusinessRole?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 用户手机号 */ @@ -1146,15 +1151,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; /** 用户姓名 */ @@ -1165,7 +1170,7 @@ declare namespace API { type PbcBusinessViewCountVO = { pbcBusinessName?: string; - pbcBusinessVisitCount?: number; + pbcBusinessVisitCount?: string; }; type PbcBusinessViewStaticalVO = { @@ -1181,7 +1186,7 @@ declare namespace API { /** 类目名称 */ pbcCategoryName?: string; /** 父级类目id,没有就填写0 */ - pbcCategoryParentId?: number; + pbcCategoryParentId?: string; /** 父级类目名称 */ pbcCategoryParentName?: string; /** 类目排序 */ @@ -1189,17 +1194,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; }; @@ -1217,26 +1222,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是作废 */ @@ -1252,22 +1257,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是作废 */ @@ -1277,7 +1282,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -1292,65 +1297,65 @@ 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 = { endDate?: string; - pbcCategoryType?: number; + pbcCategoryType?: string; pbcQueryType?: number; startDate?: 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; /** 审核失败理由 */ 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; /** 产地城市 */ @@ -1362,7 +1367,7 @@ declare namespace API { /** 产地省份编码 */ pbcProductOriginalProvinceCode?: string; /** 商品中类的id */ - pbcProductParentCategoryId?: number; + pbcProductParentCategoryId?: string; /** 商品中类 */ pbcProductParentCategoryName?: string; /** 商品价格 */ @@ -1370,11 +1375,11 @@ declare namespace API { /** 货架号 */ pbcProductShelfNumber?: string; /** 商品库存 */ - pbcProductStock?: number; + pbcProductStock?: string; /** 商品标题 */ pbcProductTitle?: string; /** 商品大类的id */ - pbcProductTopCategoryId?: number; + pbcProductTopCategoryId?: string; /** 商品大类 */ pbcProductTopCategoryName?: string; /** 产品类型:私密PRIVATE、公开PUBLIC */ @@ -1386,13 +1391,13 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; }; type PbcProductCollectCountVO = { - pbcProductCollectCount?: number; + pbcProductCollectCount?: string; pbcProductName?: string; }; @@ -1404,21 +1409,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是作废 */ @@ -1430,22 +1435,22 @@ 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; /** 商品细分类id */ - pbcProductCategoryId?: number; + pbcProductCategoryId?: string; /** 商品细分类 */ pbcProductCategoryName?: string; /** 商品编号 */ @@ -1465,7 +1470,7 @@ declare namespace API { /** 产地省份编码 */ pbcProductOriginalProvinceCode?: string; /** 商品中类的id */ - pbcProductParentCategoryId?: number; + pbcProductParentCategoryId?: string; /** 商品中类 */ pbcProductParentCategoryName?: string; /** 商品价格 */ @@ -1473,11 +1478,11 @@ declare namespace API { /** 货架号 */ pbcProductShelfNumber?: string; /** 商品库存 */ - pbcProductStock?: number; + pbcProductStock?: string; /** 商品标题 */ pbcProductTitle?: string; /** 商品大类的id */ - pbcProductTopCategoryId?: number; + pbcProductTopCategoryId?: string; /** 商品大类 */ pbcProductTopCategoryName?: string; /** 产品类型:私密、公开 */ @@ -1489,16 +1494,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; }; @@ -1509,11 +1514,11 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 商品细分类id,也就是三级类目id */ - pbcProductCategoryId?: number; + pbcProductCategoryId?: string; /** 商品细分类,也就是三级类目名称 */ pbcProductCategoryName?: string; /** 产地城市 */ @@ -1542,7 +1547,7 @@ declare namespace API { type PbcProductViewCountVO = { pbcProductName?: string; - pbcProductVisitCount?: number; + pbcProductVisitCount?: string; }; type PbcProductViewStaticalVO = { @@ -1559,33 +1564,33 @@ declare namespace API { /** 商户手机号 */ pbcBusinessContactMobile?: string; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 商户名称 */ pbcBusinessName?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: number; + pbcCreateBy?: string; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 审核失败理由 */ 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; /** 产地城市 */ @@ -1597,7 +1602,7 @@ declare namespace API { /** 产地省份编码 */ pbcProductOriginalProvinceCode?: string; /** 商品中类的id */ - pbcProductParentCategoryId?: number; + pbcProductParentCategoryId?: string; /** 商品中类 */ pbcProductParentCategoryName?: string; /** 商品价格 */ @@ -1605,11 +1610,11 @@ declare namespace API { /** 货架号 */ pbcProductShelfNumber?: string; /** 商品库存 */ - pbcProductStock?: number; + pbcProductStock?: string; /** 商品标题 */ pbcProductTitle?: string; /** 商品大类的id */ - pbcProductTopCategoryId?: number; + pbcProductTopCategoryId?: string; /** 商品大类 */ pbcProductTopCategoryName?: string; /** 产品类型:私密PRIVATE、公开PUBLIC */ @@ -1621,7 +1626,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 规格列表,查询返回时,与颜色列表分开 */ @@ -1629,25 +1634,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; /** 角色编号 */ @@ -1660,7 +1665,7 @@ declare namespace API { /** 权限 */ authorities?: PbcAuthority[]; /** 权限id */ - authorityIds?: number[]; + authorityIds?: string[]; /** 当前页 */ current?: number; /** 条数 */ @@ -1668,17 +1673,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; /** 角色编号 */ @@ -1696,21 +1701,21 @@ declare namespace API { /** 商户手机号 */ 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是作废 */ @@ -1718,14 +1723,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; }; @@ -1736,7 +1741,7 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id,不用传 */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 状态,0是待通过,1是通过 */ pbcState?: number; /** 用户昵称或者手机号,模糊搜索 */ @@ -1745,7 +1750,7 @@ declare namespace API { type PbcUserBusinessReturnVO = { /** 默认商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 用户商户列表 */ pbcUserBusinessList?: PbcUserBusiness_[]; }; @@ -1761,29 +1766,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 = { @@ -1798,7 +1803,7 @@ declare namespace API { /** 状态,1是上架,2是下架,按道理用户收藏的商品只有这两种状态 */ pbcState?: number; /** 用户id,不用传 */ - pbcUserId?: number; + pbcUserId?: string; /** 排序方式 asc desc,可以按照收藏时间排序 */ sort?: string; }; @@ -1809,7 +1814,7 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; pbcBusinessInfo?: PbcBusiness; /** 商户logo */ pbcBusinessLogo?: string; @@ -1819,17 +1824,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; /** 用户邮箱 */ @@ -1845,7 +1850,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 性别,0表示男性,1表示女性 */ @@ -1853,7 +1858,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: number; + pbcUserSourceUserId?: string; /** 用户分享源的昵称 */ pbcUserSourceUserNickName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -1877,7 +1882,7 @@ declare namespace API { /** 存放回复 */ children?: PbcUserMessage[]; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 商户名称 */ pbcBusinessName?: string; /** 商家查看状态,0表示未读,1表示已读 */ @@ -1885,24 +1890,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是作废 */ @@ -1912,11 +1917,11 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id */ - pbcUserId?: number; + pbcUserId?: string; /** 用户头像 */ pbcUserImage?: string; /** 用户手机号 */ @@ -1927,25 +1932,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是作废 */ @@ -1955,11 +1960,11 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id,前端无需传 */ - pbcUserId?: number; + pbcUserId?: string; /** 0表示商户,1表示会员, 2管理员,前端无需传 */ pbcUserType?: number; }; @@ -1977,7 +1982,7 @@ declare namespace API { type PbcUserRegisterDTO = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; /** 用户邮箱 */ pbcUserEmail?: string; /** 用户手机号 */ @@ -1987,7 +1992,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: number; + pbcUserSourceUserId?: string; /** 0表示商户,1表示会员, 2管理员 */ pbcUserType?: number; /** 验证码 */ @@ -1996,7 +2001,7 @@ declare namespace API { type PbcUsers = { /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; pbcBusinessInfo?: PbcBusiness; /** 商户logo */ pbcBusinessLogo?: string; @@ -2006,17 +2011,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; /** 用户邮箱 */ @@ -2032,7 +2037,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 性别,0表示男性,1表示女性 */ @@ -2040,7 +2045,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: number; + pbcUserSourceUserId?: string; /** 用户分享源的昵称 */ pbcUserSourceUserNickName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -2051,7 +2056,7 @@ declare namespace API { /** 用户权限集 */ currentAuthority?: string[]; /** 商户id */ - pbcBusinessId?: number; + pbcBusinessId?: string; pbcBusinessInfo?: PbcBusiness; /** 商户logo */ pbcBusinessLogo?: string; @@ -2061,17 +2066,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; /** 用户邮箱 */ @@ -2087,7 +2092,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 性别,0表示男性,1表示女性 */ @@ -2095,7 +2100,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: number; + pbcUserSourceUserId?: string; /** 用户分享源的昵称 */ pbcUserSourceUserNickName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -2108,15 +2113,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是作废 */ @@ -2126,7 +2131,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: number; + pbcUpdateBy?: string; /** 更新人 */ pbcUpdateByUserName?: string; /** vip折扣 */ @@ -2140,64 +2145,64 @@ declare namespace API { }; type PbcVisitStaticalVO = { - pbcLinkNumber?: number; - pbcScanNumber?: number; - pbcShareNumber?: number; + pbcLinkNumber?: string; + pbcScanNumber?: string; + pbcShareNumber?: string; }; type posterUsingGETParams = { /** productId */ - productId: number; + productId: 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 = { @@ -2207,33 +2212,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; }; @@ -2242,12 +2247,12 @@ declare namespace API { /** state */ state: number; /** teamId */ - teamId: number; + teamId: string; }; type updateUserRecordStateUsingGETParams = { /** pbcId */ - pbcId: number; + pbcId: string; /** state */ state: number; }; @@ -2284,7 +2289,7 @@ declare namespace API { type UserAddDTO = { /** 用户id */ - pbcId?: number; + pbcId?: string; /** 用户手机号 */ pbcUserMobile?: string; /** 用户姓名 */ @@ -2292,7 +2297,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -2301,7 +2306,7 @@ declare namespace API { type UserDTO = { /** 用户id */ - pbcId?: number; + pbcId?: string; /** 用户头像 */ pbcUserImage?: string; /** 用户姓名 */ @@ -2318,19 +2323,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; /** 用户昵称 */ @@ -2343,11 +2348,11 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 主键 */ - pbcId?: number; + pbcId?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 角色id */ - pbcUserRole?: number; + pbcUserRole?: string; /** 角色名称 */ pbcUserRoleName?: string; /** 模糊搜索条件,可以是用户姓名、用户电话 */