From 93539fd5cd8d9cad33388855ddd469dc6f0beec9 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 19 Jun 2024 21:39:36 +0800 Subject: [PATCH] up --- src/pages/ProductList/index.tsx | 18 + .../pop-b2b2c/pbcBusinessController.ts | 8 + src/services/pop-b2b2c/typings.d.ts | 560 +++++++++--------- 3 files changed, 307 insertions(+), 279 deletions(-) diff --git a/src/pages/ProductList/index.tsx b/src/pages/ProductList/index.tsx index 3ad5a93..b2ba960 100644 --- a/src/pages/ProductList/index.tsx +++ b/src/pages/ProductList/index.tsx @@ -1,4 +1,5 @@ import Constants from '@/constants'; +import { getPbcBusinessListUsingPost } from '@/services/pop-b2b2c/pbcBusinessController'; import { listAdminTreeUsingGet } from '@/services/pop-b2b2c/pbcCategoryController'; import { changeProductStateForAdminUsingGet, @@ -78,6 +79,23 @@ const TableList: React.FC<{}> = () => { dataIndex: 'pbcBusinessName', search: false, }, + { + title: '所属商户', + dataIndex: 'pbcBusinessId', + hideInTable: true, + valueType: 'select', + fieldProps: { + showSearch: true, + fieldNames: { label: 'pbcBusinessName', value: 'pbcId' }, + }, + request: async () => { + const msg = await getPbcBusinessListUsingPost(); + if (msg.retcode && msg.data) { + return msg.data; + } + return []; + }, + }, { title: '状态', dataIndex: 'pbcState', diff --git a/src/services/pop-b2b2c/pbcBusinessController.ts b/src/services/pop-b2b2c/pbcBusinessController.ts index d6c0139..20341b9 100644 --- a/src/services/pop-b2b2c/pbcBusinessController.ts +++ b/src/services/pop-b2b2c/pbcBusinessController.ts @@ -70,6 +70,14 @@ export async function getPbcBusinessByIdUsingPost( }); } +/** getPbcBusinessList 查询所以商家 POST /b2b2c/pbcbusiness/getPbcBusinessList */ +export async function getPbcBusinessListUsingPost(options?: { [key: string]: any }) { + return request('/b2b2c/pbcbusiness/getPbcBusinessList', { + method: 'POST', + ...(options || {}), + }); +} + /** 商家首页热门商品,4个层级 商家首页热门商品,4个层级 POST /b2b2c/pbcbusiness/hotproducts */ export async function hotpPoductsUsingPost( body: API.PbcBusinessPageDTO, diff --git a/src/services/pop-b2b2c/typings.d.ts b/src/services/pop-b2b2c/typings.d.ts index 1fe9494..5eccd18 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: string; + businessUserId: number; }; type AjaxRequest = { @@ -157,7 +157,7 @@ declare namespace API { }; type AjaxResultLong_ = { - data?: string; + data?: number; retcode?: number; retmsg?: string; }; @@ -272,46 +272,46 @@ declare namespace API { type approvalSignYUsingGETParams = { /** pbcId */ - pbcId: string; + pbcId: number; }; type businessAdminDeleteUserMemberUsingGETParams = { /** pbcId */ - pbcId: string; + pbcId: number; }; type buyerDeleteBusinessRecordUsingGETParams = { /** pbcId */ - pbcId: string; + pbcId: number; }; type categoryInfoUsingGETParams = { /** id */ - id: string; + id: number; }; type changeProductStateForAdminUsingGETParams = { /** pcbId */ - pcbId: string; + pcbId: number; /** state */ state: number; }; type changeProductStateUsingGETParams = { /** pcbId */ - pcbId: string; + pcbId: number; /** state */ state: number; }; type changeUnreadStateUsingGETParams = { /** businessId */ - businessId: string; + businessId: number; }; type changeUserDefaultBusinessUsingGETParams = { /** businessUserId */ - businessUserId: string; + businessUserId: number; }; type checkEmailVerificationCodeUsingGETParams = { @@ -323,27 +323,27 @@ declare namespace API { type checkMemberShipUsingGETParams = { /** businessId */ - businessId: string; + businessId: number; }; type checkUserCollectExistUsingGETParams = { /** productId */ - productId: string; + productId: number; }; type deleteProductUsingGETParams = { /** pcbId */ - pcbId: string; + pcbId: number; }; type deleteRoleUsingPOSTParams = { /** roleId */ - roleId: string; + roleId: number; }; type deleteUserMessageUsingGETParams = { /** id */ - id: string; + id: number; }; type FilterVO = { @@ -362,44 +362,44 @@ declare namespace API { type getMessageDetailUsingGETParams = { /** id */ - id: string; + id: number; }; type getPbcBusinessByIdUsingPOSTParams = { /** pbcId */ - pbcId: string; + pbcId: number; }; type getProductByQrCodeUsingGETParams = { /** productId */ - productId: string; + productId: number; /** userId */ - userId: string; + userId: number; }; type getRecordByBusinessIdAdminUsingGETParams = { /** businessId */ - businessId: string; + businessId: number; }; type getRecordByBusinessIdUsingGETParams = { /** businessId */ - businessId: string; + businessId: number; }; type getRecordByL3CategoryIdUsingGETParams = { /** l3CategoryId */ - l3CategoryId: string; + l3CategoryId: number; }; type getTeamRecordByIdUsingGETParams = { /** teamId */ - teamId: string; + teamId: number; }; type getUserRecordByIdUsingGETParams = { /** id */ - id: string; + id: number; }; type getVerificationCodeUsingGETParams = { @@ -414,7 +414,7 @@ declare namespace API { type gradeInfoUsingPOSTParams = { /** id */ - id: string; + id: number; }; type headFileUploadUsingDELETEParams = { @@ -475,83 +475,83 @@ declare namespace API { }; type IPagePbcBusiness_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcBusiness[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type IPagePbcBusinessApproval_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcBusinessApproval[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type IPagePbcBusinessTeamVO_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcBusinessTeamVO[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type IPagePbcProductVO_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcProductVO[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type IPagePbcRole_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcRole[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type IPagePbcUserBusiness_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcUserBusiness_[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type IPagePbcUserCollect_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcUserCollect[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type IPagePbcUserMessage_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcUserMessage[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type IPagePbcUsers_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcUsers[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type IPagePbcVipGrade_ = { - current?: string; - pages?: string; + current?: number; + pages?: number; records?: PbcVipGrade[]; - size?: string; - total?: string; + size?: number; + total?: number; }; type JSONObject = true; @@ -563,7 +563,7 @@ declare namespace API { type listTreeUsingGETParams = { /** pbcBusinessId */ - pbcBusinessId: string; + pbcBusinessId: number; /** pbcUserType */ pbcUserType: number; /** type */ @@ -651,7 +651,7 @@ declare namespace API { type moveProductHotRecordUsingGETParams = { /** hotProductId */ - hotProductId: string; + hotProductId: number; /** type */ type: string; }; @@ -663,60 +663,60 @@ declare namespace API { type PagePbcBusiness_ = { countId?: string; - current?: string; - maxLimit?: string; + current?: number; + maxLimit?: number; optimizeCountSql?: boolean; orders?: OrderItem[]; - pages?: string; + pages?: number; records?: PbcBusiness[]; searchCount?: boolean; - size?: string; - total?: string; + size?: number; + total?: number; }; type PagePbcBusinessApproval_ = { countId?: string; - current?: string; - maxLimit?: string; + current?: number; + maxLimit?: number; optimizeCountSql?: boolean; orders?: OrderItem[]; - pages?: string; + pages?: number; records?: PbcBusinessApproval[]; searchCount?: boolean; - size?: string; - total?: string; + size?: number; + total?: number; }; type PagePbcUserMessage_ = { countId?: string; - current?: string; - maxLimit?: string; + current?: number; + maxLimit?: number; optimizeCountSql?: boolean; orders?: OrderItem[]; - pages?: string; + pages?: number; records?: PbcUserMessage[]; searchCount?: boolean; - size?: string; - total?: string; + size?: number; + total?: number; }; type PagePbcUsers_ = { countId?: string; - current?: string; - maxLimit?: string; + current?: number; + maxLimit?: number; optimizeCountSql?: boolean; orders?: OrderItem[]; - pages?: string; + pages?: number; records?: PbcUsers[]; searchCount?: boolean; - size?: string; - total?: string; + size?: number; + total?: number; }; type PageVO = { - current?: string; + current?: number; filters?: FilterVO[]; - pageSize?: string; + pageSize?: number; sort?: string; sortField?: string; }; @@ -742,13 +742,13 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 父级id */ - pbcParentId?: string; + pbcParentId?: number; /** 权限 */ pbcPermission?: string; /** 状态,0是删除,1是正常,2是作废 */ @@ -756,7 +756,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 对应url */ @@ -826,11 +826,11 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 社会统一信用代码 */ @@ -838,7 +838,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -901,13 +901,13 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 商户id */ - pbcProductBusinessId?: string; + pbcProductBusinessId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 社会统一信用代码 */ @@ -915,7 +915,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -982,11 +982,11 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 商户id */ pbcProductBusinessId?: string; /** 状态 */ @@ -996,7 +996,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -1037,16 +1037,16 @@ declare namespace API { /** 商户省份 */ pbcBusinessProvince?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; }; type PbcBusinessIndexDTO = { pbcBusinessCode?: string; - pbcId?: string; + pbcId?: number; /** 来源:微信分享,链接、二维码 */ pbcSourceType?: string; /** 分享人的id */ - shareUserId?: string; + shareUserId?: number; }; type PbcBusinessPageDTO = { @@ -1067,7 +1067,7 @@ declare namespace API { /** 商户类别 */ pbcBusinessType?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态 */ pbcState?: number; /** 模糊搜索条件,可以是商户名称、商户联系人、商户联系人电话 */ @@ -1079,45 +1079,47 @@ declare namespace API { type PbcBusinessStaticalDTO = { /** 按天:1,按月:2 */ pbcQueryType?: number; - pbcUserId?: string; + pbcUserId?: number; }; type PbcBusinessTeam_ = { /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; + /** 当前用户的海报模板 */ + pbcBusinessPostConfigId?: number; /** 角色类型 */ pbcBusinessRole?: string; + /** 商家海报地址, 此处为海报链接 */ + pbcBusinessUserPostUrl?: string; /** 商家用户二维码:团队成员展示的二维码均不相同,此处为二维码链接 */ pbcBusinessUserQrCode?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id */ - pbcUserId?: string; - /** 商家海报地址, 此处为海报链接 */ - pbc_business_user_post_url?: string; + pbcUserId?: number; }; type PbcBusinessTeamDTO = { /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 角色类型 */ pbcBusinessRole?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 用户手机号 */ @@ -1134,11 +1136,11 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 角色类型 */ pbcBusinessRole?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 用户手机号 */ @@ -1151,15 +1153,15 @@ declare namespace API { type PbcBusinessTeamVO = { /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 角色类型 */ pbcBusinessRole?: string; /** team主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 用户id */ - pbcUserId?: string; + pbcUserId?: number; /** 用户手机号 */ pbcUserMobile?: string; /** 用户姓名 */ @@ -1170,7 +1172,7 @@ declare namespace API { type PbcBusinessViewCountVO = { pbcBusinessName?: string; - pbcBusinessVisitCount?: string; + pbcBusinessVisitCount?: number; }; type PbcBusinessViewStaticalVO = { @@ -1186,7 +1188,7 @@ declare namespace API { /** 类目名称 */ pbcCategoryName?: string; /** 父级类目id,没有就填写0 */ - pbcCategoryParentId?: string; + pbcCategoryParentId?: number; /** 父级类目名称 */ pbcCategoryParentName?: string; /** 类目排序 */ @@ -1194,17 +1196,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -1222,26 +1224,26 @@ declare namespace API { /** 类目名称,模糊搜索 */ pbcCategoryName?: string; /** 父级类目id,没有就填写0 */ - pbcCategoryParentId?: string; + pbcCategoryParentId?: number; /** 主键 */ - pbcId?: string; + pbcId?: number; }; type PbcCommonData = { /** 值列表 */ commonDataValueList?: PbcCommonDataValue[]; /** 三级类别id */ - pbcCategoryId?: string; + pbcCategoryId?: number; /** 三级类别名称 */ pbcCategoryName?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 排序 */ pbcSort?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1257,22 +1259,22 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; }; type PbcCommonDataValue = { /** 元数据id */ - pbcCommonDataId?: string; + pbcCommonDataId?: number; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 排序 */ pbcSort?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1282,7 +1284,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; }; @@ -1297,65 +1299,65 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; }; type PbcDashBoardDTO = { endDate?: string; - pbcCategoryType?: string; + pbcCategoryType?: number; pbcQueryType?: number; startDate?: string; }; type PbcImageSearchDTO = { - pbcBusinessId?: string; + pbcBusinessId?: number; pbcImageUrl?: string; }; type PbcInteractStaticalVO = { - pbcColectNumber?: string; - pbcViewTotalNumber?: string; + pbcColectNumber?: number; + pbcViewTotalNumber?: number; }; type PbcProduct = { /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 审核失败理由 */ pbcProductAuditFailureReason?: string; /** 商品细分类id */ - pbcProductCategoryId?: string; + pbcProductCategoryId?: number; /** 商品细分类 */ pbcProductCategoryName?: string; /** 商品编号 */ pbcProductCode?: string; /** 收藏数 */ - pbcProductCollectCount?: string; + pbcProductCollectCount?: number; /** 商品详细 */ pbcProductDetail?: string; /** 商品详情图 */ pbcProductDetailImages?: string; /** 浏览量 */ - pbcProductHot?: string; + pbcProductHot?: number; /** 商品相册图 */ pbcProductImages?: string; /** 产地城市 */ @@ -1367,7 +1369,7 @@ declare namespace API { /** 产地省份编码 */ pbcProductOriginalProvinceCode?: string; /** 商品中类的id */ - pbcProductParentCategoryId?: string; + pbcProductParentCategoryId?: number; /** 商品中类 */ pbcProductParentCategoryName?: string; /** 商品价格 */ @@ -1375,11 +1377,11 @@ declare namespace API { /** 货架号 */ pbcProductShelfNumber?: string; /** 商品库存 */ - pbcProductStock?: string; + pbcProductStock?: number; /** 商品标题 */ pbcProductTitle?: string; /** 商品大类的id */ - pbcProductTopCategoryId?: string; + pbcProductTopCategoryId?: number; /** 商品大类 */ pbcProductTopCategoryName?: string; /** 产品类型:私密PRIVATE、公开PUBLIC */ @@ -1391,13 +1393,13 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; }; type PbcProductCollectCountVO = { - pbcProductCollectCount?: string; + pbcProductCollectCount?: number; pbcProductName?: string; }; @@ -1409,21 +1411,21 @@ declare namespace API { /** 颜色图片地址 */ pbcColorImageUrl?: string; /** 规格id */ - pbcCommonDataId?: string; + pbcCommonDataId?: number; /** 输入值 */ pbcCommonDataSystem?: string; /** 规格选值名称 */ pbcCommonDataSystemValue?: string; /** 规格选值id */ - pbcCommonDataValueId?: string; + pbcCommonDataValueId?: number; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 排序 */ pbcSort?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1435,22 +1437,22 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 商品id */ - productId?: string; + productId?: number; /** 缩略图地址 */ thumbnailUrl?: string; }; type PbcProductDTO = { /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 商品细分类id */ - pbcProductCategoryId?: string; + pbcProductCategoryId?: number; /** 商品细分类 */ pbcProductCategoryName?: string; /** 商品编号 */ @@ -1470,7 +1472,7 @@ declare namespace API { /** 产地省份编码 */ pbcProductOriginalProvinceCode?: string; /** 商品中类的id */ - pbcProductParentCategoryId?: string; + pbcProductParentCategoryId?: number; /** 商品中类 */ pbcProductParentCategoryName?: string; /** 商品价格 */ @@ -1478,11 +1480,11 @@ declare namespace API { /** 货架号 */ pbcProductShelfNumber?: string; /** 商品库存 */ - pbcProductStock?: string; + pbcProductStock?: number; /** 商品标题 */ pbcProductTitle?: string; /** 商品大类的id */ - pbcProductTopCategoryId?: string; + pbcProductTopCategoryId?: number; /** 商品大类 */ pbcProductTopCategoryName?: string; /** 产品类型:私密、公开 */ @@ -1494,16 +1496,16 @@ declare namespace API { /** 商品状态,0删除,1上架,2下架,3审核中 */ pbcState?: number; /** 分享人 */ - pbcUserId?: string; + pbcUserId?: number; /** 接收规格、颜色 */ productCommonDataList?: PbcProductCommonData[]; }; type PbcProductHotDto = { /** 商户id,查看必须,新增无需传 */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 商品id列表,新增记录必须 */ - pbcProductIdList?: string[]; + pbcProductIdList?: number[]; /** 热销类型,类型包括new:新品、main:主推、hotSale:热卖,必须 */ pbcSystemTypeHotProduct?: string; }; @@ -1514,11 +1516,11 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 商品细分类id,也就是三级类目id */ - pbcProductCategoryId?: string; + pbcProductCategoryId?: number; /** 商品细分类,也就是三级类目名称 */ pbcProductCategoryName?: string; /** 产地城市 */ @@ -1547,7 +1549,7 @@ declare namespace API { type PbcProductViewCountVO = { pbcProductName?: string; - pbcProductVisitCount?: string; + pbcProductVisitCount?: number; }; type PbcProductViewStaticalVO = { @@ -1564,33 +1566,33 @@ declare namespace API { /** 商户手机号 */ pbcBusinessContactMobile?: string; /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 商户名称 */ pbcBusinessName?: string; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 审核失败理由 */ pbcProductAuditFailureReason?: string; /** 商品细分类id */ - pbcProductCategoryId?: string; + pbcProductCategoryId?: number; /** 商品细分类 */ pbcProductCategoryName?: string; /** 商品编号 */ pbcProductCode?: string; /** 收藏数 */ - pbcProductCollectCount?: string; + pbcProductCollectCount?: number; /** 商品详细 */ pbcProductDetail?: string; /** 商品详情图 */ pbcProductDetailImages?: string; /** 浏览量 */ - pbcProductHot?: string; + pbcProductHot?: number; /** 商品相册图 */ pbcProductImages?: string; /** 产地城市 */ @@ -1602,7 +1604,7 @@ declare namespace API { /** 产地省份编码 */ pbcProductOriginalProvinceCode?: string; /** 商品中类的id */ - pbcProductParentCategoryId?: string; + pbcProductParentCategoryId?: number; /** 商品中类 */ pbcProductParentCategoryName?: string; /** 商品价格 */ @@ -1610,11 +1612,11 @@ declare namespace API { /** 货架号 */ pbcProductShelfNumber?: string; /** 商品库存 */ - pbcProductStock?: string; + pbcProductStock?: number; /** 商品标题 */ pbcProductTitle?: string; /** 商品大类的id */ - pbcProductTopCategoryId?: string; + pbcProductTopCategoryId?: number; /** 商品大类 */ pbcProductTopCategoryName?: string; /** 产品类型:私密PRIVATE、公开PUBLIC */ @@ -1626,7 +1628,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 规格列表,查询返回时,与颜色列表分开 */ @@ -1634,25 +1636,25 @@ declare namespace API { }; type PbcRegisterStaticalVO = { - businessNumber?: string; - vipNumber?: string; + businessNumber?: number; + vipNumber?: number; }; type PbcRole = { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 角色编号 */ @@ -1665,7 +1667,7 @@ declare namespace API { /** 权限 */ authorities?: PbcAuthority[]; /** 权限id */ - authorityIds?: string[]; + authorityIds?: number[]; /** 当前页 */ current?: number; /** 条数 */ @@ -1673,17 +1675,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 角色编号 */ @@ -1701,21 +1703,21 @@ declare namespace API { /** 商户手机号 */ pbcBusinessContactMobile?: string; /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 商户logo */ pbcBusinessLogo?: string; /** 商户名称 */ pbcBusinessName?: string; /** 商家员工id */ - pbcBusinessUserId?: string; + pbcBusinessUserId?: number; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 是否是默认的,1是默认,0不是默认 */ pbcIsDefault?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1723,14 +1725,14 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id */ - pbcUserId?: string; + pbcUserId?: number; pbcUsers?: PbcUsersVO; /** 用户等级id */ - pbcVipGradeId?: string; + pbcVipGradeId?: number; /** 用户等级名称 */ pbcVipGradeName?: string; }; @@ -1741,7 +1743,7 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id,不用传 */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 状态,0是待通过,1是通过 */ pbcState?: number; /** 用户昵称或者手机号,模糊搜索 */ @@ -1750,7 +1752,7 @@ declare namespace API { type PbcUserBusinessReturnVO = { /** 默认商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 用户商户列表 */ pbcUserBusinessList?: PbcUserBusiness_[]; }; @@ -1766,29 +1768,29 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 角色名称 */ - pbcProductId?: string; + pbcProductId?: number; pbcProductVO?: PbcProductVO; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id */ - pbcUserId?: string; + pbcUserId?: number; }; type PbcUserCollectDTO = { - pbcBusinessId?: string; - pbcProductId?: string; + pbcBusinessId?: number; + pbcProductId?: number; }; type PbcUserCollectPageDTO = { @@ -1803,7 +1805,7 @@ declare namespace API { /** 状态,1是上架,2是下架,按道理用户收藏的商品只有这两种状态 */ pbcState?: number; /** 用户id,不用传 */ - pbcUserId?: string; + pbcUserId?: number; /** 排序方式 asc desc,可以按照收藏时间排序 */ sort?: string; }; @@ -1814,7 +1816,7 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; pbcBusinessInfo?: PbcBusiness; /** 商户logo */ pbcBusinessLogo?: string; @@ -1824,17 +1826,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户邮箱 */ @@ -1850,7 +1852,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: string; + pbcUserRole?: number; /** 角色名称 */ pbcUserRoleName?: string; /** 性别,0表示男性,1表示女性 */ @@ -1858,7 +1860,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: string; + pbcUserSourceUserId?: number; /** 用户分享源的昵称 */ pbcUserSourceUserNickName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -1882,7 +1884,7 @@ declare namespace API { /** 存放回复 */ children?: PbcUserMessage[]; /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 商户名称 */ pbcBusinessName?: string; /** 商家查看状态,0表示未读,1表示已读 */ @@ -1890,24 +1892,24 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 留言内容 */ pbcMessage?: string; /** 留言图片 */ pbcMessageImages?: string; /** 主题id */ - pbcMessageMainId?: string; + pbcMessageMainId?: number; pbcProduct?: PbcProduct; /** 商品id */ - pbcProductId?: string; + pbcProductId?: number; /** 回复状态,0表示未被商家回复,1表示已被商家回复 */ pbcReplyState?: number; /** 回复的id */ - pbcReplyToId?: string; + pbcReplyToId?: number; /** 0回复的主题,1回复某条回复 */ pbcReplyType?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1917,11 +1919,11 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id */ - pbcUserId?: string; + pbcUserId?: number; /** 用户头像 */ pbcUserImage?: string; /** 用户手机号 */ @@ -1932,25 +1934,25 @@ declare namespace API { type PbcUserMessage_ = { /** 商户id,必须有的 */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键,前端无需传 */ - pbcId?: string; + pbcId?: number; /** 留言内容,必须 */ pbcMessage?: string; /** 留言图片 */ pbcMessageImages?: string; /** 主题id,主题这里是空,回复必须 */ - pbcMessageMainId?: string; + pbcMessageMainId?: number; /** 商品id */ - pbcProductId?: string; + pbcProductId?: number; /** 回复的id,主题这里是空,回复必须 */ - pbcReplyToId?: string; + pbcReplyToId?: number; /** 0回复的主题,1回复某条回复,回复必须 */ pbcReplyType?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -1960,11 +1962,11 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户id,前端无需传 */ - pbcUserId?: string; + pbcUserId?: number; /** 0表示商户,1表示会员, 2管理员,前端无需传 */ pbcUserType?: number; }; @@ -1982,7 +1984,7 @@ declare namespace API { type PbcUserRegisterDTO = { /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 用户邮箱 */ pbcUserEmail?: string; /** 用户手机号 */ @@ -1992,7 +1994,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: string; + pbcUserSourceUserId?: number; /** 0表示商户,1表示会员, 2管理员 */ pbcUserType?: number; /** 验证码 */ @@ -2001,7 +2003,7 @@ declare namespace API { type PbcUsers = { /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; pbcBusinessInfo?: PbcBusiness; /** 商户logo */ pbcBusinessLogo?: string; @@ -2011,17 +2013,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户邮箱 */ @@ -2037,7 +2039,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: string; + pbcUserRole?: number; /** 角色名称 */ pbcUserRoleName?: string; /** 性别,0表示男性,1表示女性 */ @@ -2045,7 +2047,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: string; + pbcUserSourceUserId?: number; /** 用户分享源的昵称 */ pbcUserSourceUserNickName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -2056,7 +2058,7 @@ declare namespace API { /** 用户权限集 */ currentAuthority?: string[]; /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; pbcBusinessInfo?: PbcBusiness; /** 商户logo */ pbcBusinessLogo?: string; @@ -2066,17 +2068,17 @@ declare namespace API { /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** 用户邮箱 */ @@ -2092,7 +2094,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: string; + pbcUserRole?: number; /** 角色名称 */ pbcUserRoleName?: string; /** 性别,0表示男性,1表示女性 */ @@ -2100,7 +2102,7 @@ declare namespace API { /** 用户来源渠道 */ pbcUserSourceType?: string; /** 用户来源绑定的分享源 */ - pbcUserSourceUserId?: string; + pbcUserSourceUserId?: number; /** 用户分享源的昵称 */ pbcUserSourceUserNickName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -2113,15 +2115,15 @@ declare namespace API { type PbcVipGrade = { /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 创建时间 */ pbcCreateAt?: string; /** 创建人 */ - pbcCreateBy?: string; + pbcCreateBy?: number; /** 创建人 */ pbcCreateByUserName?: string; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 排序 */ pbcSort?: number; /** 状态,0是删除,1是正常,2是作废 */ @@ -2131,7 +2133,7 @@ declare namespace API { /** 更新时间 */ pbcUpdateAt?: string; /** 更新人 */ - pbcUpdateBy?: string; + pbcUpdateBy?: number; /** 更新人 */ pbcUpdateByUserName?: string; /** vip折扣 */ @@ -2145,64 +2147,64 @@ declare namespace API { }; type PbcVisitStaticalVO = { - pbcLinkNumber?: string; - pbcScanNumber?: string; - pbcShareNumber?: string; + pbcLinkNumber?: number; + pbcScanNumber?: number; + pbcShareNumber?: number; }; type posterUsingGETParams = { /** productId */ - productId: string; + productId: number; }; type productDetailForAdminUsingGETParams = { /** productId */ - productId: string; + productId: number; }; type queryAuthorityUsingPOSTParams = { /** roleId */ - roleId: string; + roleId: number; }; type removeCategoryByIdUsingGETParams = { /** id */ - id: string; + id: number; }; type removeGradeByIdUsingPOSTParams = { /** id */ - id: string; + id: number; }; type removeProductHotRecordUsingGETParams = { /** hotProductId */ - hotProductId: string; + hotProductId: number; }; type removeUserCollectByIdUsingGETParams = { /** collectId */ - collectId: string; + collectId: number; }; type removeUserCollectByProductIdUsingGETParams = { /** productId */ - productId: string; + productId: number; }; type resetPasswordUsingGETParams = { /** id */ - id: string; + id: number; }; type resetTeamMemberPasswordUsingGETParams = { /** teamId */ - teamId: string; + teamId: number; }; type saveUserBusinessRecordUsingGETParams = { /** businessId */ - businessId: string; + businessId: number; }; type searchCategoryUsingGETParams = { @@ -2212,33 +2214,33 @@ declare namespace API { type searchUnreadNumUsingGETParams = { /** businessId */ - businessId: string; + businessId: number; }; type updateBusinessRecordLevelUsingGETParams = { /** businessLevel */ businessLevel: string; /** pbcId */ - pbcId: string; + pbcId: number; }; type updateBusinessRecordStateUsingGETParams = { /** pbcId */ - pbcId: string; + pbcId: number; /** state */ state: number; }; type updateCategoryRecordStateUsingGETParams = { /** pbcId */ - pbcId: string; + pbcId: number; /** state */ state: number; }; type updateMemberRecordStateUsingGETParams = { /** pbcId */ - pbcId: string; + pbcId: number; /** state */ state: number; }; @@ -2247,12 +2249,12 @@ declare namespace API { /** state */ state: number; /** teamId */ - teamId: string; + teamId: number; }; type updateUserRecordStateUsingGETParams = { /** pbcId */ - pbcId: string; + pbcId: number; /** state */ state: number; }; @@ -2289,7 +2291,7 @@ declare namespace API { type UserAddDTO = { /** 用户id */ - pbcId?: string; + pbcId?: number; /** 用户手机号 */ pbcUserMobile?: string; /** 用户姓名 */ @@ -2297,7 +2299,7 @@ declare namespace API { /** 用户密码 */ pbcUserPassword?: string; /** 角色id */ - pbcUserRole?: string; + pbcUserRole?: number; /** 角色名称 */ pbcUserRoleName?: string; /** 0表示商户,1表示会员, 2管理员 */ @@ -2306,7 +2308,7 @@ declare namespace API { type UserDTO = { /** 用户id */ - pbcId?: string; + pbcId?: number; /** 用户头像 */ pbcUserImage?: string; /** 用户姓名 */ @@ -2323,19 +2325,19 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 商户id */ - pbcBusinessId?: string; + pbcBusinessId?: number; /** 商户名称 */ pbcBusinessName?: string; /** 商家查看状态,0表示未读,1表示已读 */ pbcBusinessReadState?: number; /** 主键id */ - pbcId?: string; + pbcId?: number; /** 0表示未被商家回复,1表示已被商家回复 */ pbcReplyState?: number; /** 留言标题 */ pbcTitle?: string; /** 用户id */ - pbcUserId?: string; + pbcUserId?: number; /** 用户手机号 */ pbcUserMobile?: string; /** 用户昵称 */ @@ -2348,11 +2350,11 @@ declare namespace API { /** 条数 */ pageSize?: number; /** 主键 */ - pbcId?: string; + pbcId?: number; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 角色id */ - pbcUserRole?: string; + pbcUserRole?: number; /** 角色名称 */ pbcUserRoleName?: string; /** 模糊搜索条件,可以是用户姓名、用户电话 */