From 30244c1598c0c48c783d28aab9c776cb970eda79 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 28 Mar 2025 18:17:50 +0800 Subject: [PATCH] up --- src/services/pop-b2b2c/errorController.ts | 30 +- src/services/pop-b2b2c/index.ts | 4 + .../pop-b2b2c/pbcContactController.ts | 11 + .../pop-b2b2c/pbcProductController.ts | 19 +- .../pop-b2b2c/pbcRealMessageController.ts | 33 ++ .../pop-b2b2c/pbcRequirementController.ts | 88 ++- src/services/pop-b2b2c/typings.d.ts | 555 ++++++++---------- 7 files changed, 395 insertions(+), 345 deletions(-) create mode 100644 src/services/pop-b2b2c/pbcContactController.ts create mode 100644 src/services/pop-b2b2c/pbcRealMessageController.ts diff --git a/src/services/pop-b2b2c/errorController.ts b/src/services/pop-b2b2c/errorController.ts index 5f0967b..f29cc7f 100644 --- a/src/services/pop-b2b2c/errorController.ts +++ b/src/services/pop-b2b2c/errorController.ts @@ -2,41 +2,41 @@ /* eslint-disable */ import request from '@/utils/request'; -/** errorHtml GET /error */ -export async function errorHtmlUsingGet(options?: { [key: string]: any }) { - return request('/error', { +/** error GET /error */ +export async function errorUsingGet(options?: { [key: string]: any }) { + return request>('/error', { method: 'GET', ...(options || {}), }); } -/** errorHtml PUT /error */ -export async function errorHtmlUsingPut(options?: { [key: string]: any }) { - return request('/error', { +/** error PUT /error */ +export async function errorUsingPut(options?: { [key: string]: any }) { + return request>('/error', { method: 'PUT', ...(options || {}), }); } -/** errorHtml POST /error */ -export async function errorHtmlUsingPost(options?: { [key: string]: any }) { - return request('/error', { +/** error POST /error */ +export async function errorUsingPost(options?: { [key: string]: any }) { + return request>('/error', { method: 'POST', ...(options || {}), }); } -/** errorHtml DELETE /error */ -export async function errorHtmlUsingDelete(options?: { [key: string]: any }) { - return request('/error', { +/** error DELETE /error */ +export async function errorUsingDelete(options?: { [key: string]: any }) { + return request>('/error', { method: 'DELETE', ...(options || {}), }); } -/** errorHtml PATCH /error */ -export async function errorHtmlUsingPatch(options?: { [key: string]: any }) { - return request('/error', { +/** error PATCH /error */ +export async function errorUsingPatch(options?: { [key: string]: any }) { + return request>('/error', { method: 'PATCH', ...(options || {}), }); diff --git a/src/services/pop-b2b2c/index.ts b/src/services/pop-b2b2c/index.ts index 20f47af..8950f2a 100644 --- a/src/services/pop-b2b2c/index.ts +++ b/src/services/pop-b2b2c/index.ts @@ -10,6 +10,7 @@ import * as pbcBusinessPostConfigController from './pbcBusinessPostConfigControl import * as pbcBusinessTeamController from './pbcBusinessTeamController'; import * as pbcCategoryController from './pbcCategoryController'; import * as pbcCommonDataController from './pbcCommonDataController'; +import * as pbcContactController from './pbcContactController'; import * as pbcContentPublishController from './pbcContentPublishController'; import * as pbcContentTypeController from './pbcContentTypeController'; import * as pbcEmailController from './pbcEmailController'; @@ -31,6 +32,7 @@ import * as pbcProductLabelHotController from './pbcProductLabelHotController'; import * as pbcProductShopCartController from './pbcProductShopCartController'; import * as pbcPurchaseAgentInfoController from './pbcPurchaseAgentInfoController'; import * as pbcQrController from './pbcQrController'; +import * as pbcRealMessageController from './pbcRealMessageController'; import * as pbcRecommendBusinessController from './pbcRecommendBusinessController'; import * as pbcRecommendPurchaseAgentController from './pbcRecommendPurchaseAgentController'; import * as pbcRequirementController from './pbcRequirementController'; @@ -60,6 +62,7 @@ export default { pbcLoginController, pbcBannerController, pbcBusinessPostConfigController, + pbcContactController, pbcFashionTrendController, pbcInnovativeServiceController, pbcLogisticsController, @@ -71,6 +74,7 @@ export default { pbcProductLabelHotController, pbcProductShopCartController, pbcPurchaseAgentInfoController, + pbcRealMessageController, pbcRecommendBusinessController, pbcRecommendPurchaseAgentController, pbcRequirementController, diff --git a/src/services/pop-b2b2c/pbcContactController.ts b/src/services/pop-b2b2c/pbcContactController.ts new file mode 100644 index 0000000..a59ea74 --- /dev/null +++ b/src/services/pop-b2b2c/pbcContactController.ts @@ -0,0 +1,11 @@ +// @ts-ignore +/* eslint-disable */ +import request from '@/utils/request'; + +/** 联系人列表:分页 联系人列表:分页 POST /b2b2c/pbcContact/list */ +export async function contactListUsingPost(options?: { [key: string]: any }) { + return request('/b2b2c/pbcContact/list', { + method: 'POST', + ...(options || {}), + }); +} diff --git a/src/services/pop-b2b2c/pbcProductController.ts b/src/services/pop-b2b2c/pbcProductController.ts index a81e205..6f6dcab 100644 --- a/src/services/pop-b2b2c/pbcProductController.ts +++ b/src/services/pop-b2b2c/pbcProductController.ts @@ -269,22 +269,19 @@ export async function productDetailForAdminUsingGet( }); } -/** 全平台搜索商品 分页 POST /b2b2c/pbcproduct/productListForAllBusiness */ +/** 买家使用的全平台搜索商品 分页 POST /b2b2c/pbcproduct/productListForAllBusiness */ export async function productListForAllBusinessUsingPost( body: API.PbcProductSearchForAllDTO, options?: { [key: string]: any }, ) { - return request( - '/b2b2c/pbcproduct/productListForAllBusiness', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), + return request('/b2b2c/pbcproduct/productListForAllBusiness', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', }, - ); + data: body, + ...(options || {}), + }); } /** 通过图片搜索商品,前端使用 通过图片搜索商品 POST /b2b2c/pbcproduct/searchbyimage */ diff --git a/src/services/pop-b2b2c/pbcRealMessageController.ts b/src/services/pop-b2b2c/pbcRealMessageController.ts new file mode 100644 index 0000000..dda4ac2 --- /dev/null +++ b/src/services/pop-b2b2c/pbcRealMessageController.ts @@ -0,0 +1,33 @@ +// @ts-ignore +/* eslint-disable */ +import request from '@/utils/request'; + +/** 联系人列表:根据最后一条消息拉取 根据最后一条消息拉取 POST /b2b2c/pbcRealMessage/lastlist */ +export async function lastContactListUsingPost( + body: API.PbcContactPageDTO, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcRealMessage/lastlist', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 拉取消息列表 根据最后一条消息拉取 POST /b2b2c/pbcRealMessage/message */ +export async function messageUsingPost( + body: API.PbcContactPageDTO, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcRealMessage/message', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/services/pop-b2b2c/pbcRequirementController.ts b/src/services/pop-b2b2c/pbcRequirementController.ts index d77dc5f..e338df9 100644 --- a/src/services/pop-b2b2c/pbcRequirementController.ts +++ b/src/services/pop-b2b2c/pbcRequirementController.ts @@ -54,7 +54,7 @@ export async function getRequirementPageForAdminUsingPost( ); } -/** 后台根据id获取需求详情 前端 GET /b2b2c/pbcRequirement/admin/requirementDetail */ +/** 后台根据id获取需求详情 后台 GET /b2b2c/pbcRequirement/admin/requirementDetail */ export async function requirementDetailForAdminUsingGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.requirementDetailForAdminUsingGETParams, @@ -71,12 +71,27 @@ export async function requirementDetailForAdminUsingGet( /** 买家采纳某条回复 买家 POST /b2b2c/pbcRequirement/adoptReplyForBuyer */ export async function adoptReplyForBuyerUsingPost( - // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) - params: API.adoptReplyForBuyerUsingPOSTParams, + body: API.PbcRequirementAdoptDTO, options?: { [key: string]: any }, ) { return request('/b2b2c/pbcRequirement/adoptReplyForBuyer', { method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 身份是商家,绑定需求id到订单 需求 GET /b2b2c/pbcRequirement/bindRequirementOrder */ +export async function bindRequirementOrderUsingGet( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.bindRequirementOrderUsingGETParams, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcRequirement/bindRequirementOrder', { + method: 'GET', params: { ...params, }, @@ -116,6 +131,21 @@ export async function getRequirementPageForBuyerUsingPost( ); } +/** 用户完成自己的需求,前提是已采纳且采纳者已经发货或者绑定订单 需求 GET /b2b2c/pbcRequirement/completeRequirement */ +export async function completeRequirementUsingGet( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.completeRequirementUsingGETParams, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcRequirement/completeRequirement', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + /** 前端根据id获取需求详情 前端 GET /b2b2c/pbcRequirement/front/requirementDetail */ export async function requirementDetailForFrontUsingGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) @@ -131,7 +161,25 @@ export async function requirementDetailForFrontUsingGet( }); } -/** 当前登陆人,获取自己的跟进中、已完成、已取消的需求各自的数量 需求 GET /b2b2c/pbcRequirement/getRequirementCountForFront */ +/** 当前登录人,如果身份是小哥,并且需求采纳的是他,则可以获取自己的地址列表和需求发布人的默认地址 需求 GET /b2b2c/pbcRequirement/getAddressForRequirement */ +export async function getAddressForRequirementUsingGet( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.getAddressForRequirementUsingGETParams, + options?: { [key: string]: any }, +) { + return request( + '/b2b2c/pbcRequirement/getAddressForRequirement', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }, + ); +} + +/** 当前登陆人,获取自己的跟进中、已被采纳、已取消的需求各自的数量 需求 GET /b2b2c/pbcRequirement/getRequirementCountForFront */ export async function getRequirementCountForFrontUsingGet(options?: { [key: string]: any }) { return request( '/b2b2c/pbcRequirement/getRequirementCountForFront', @@ -142,7 +190,22 @@ export async function getRequirementCountForFrontUsingGet(options?: { [key: stri ); } -/** 当前登陆人,根据必传的pbcBusinessState:0:跟进中、1:已完成、2:已取消的获取通过审核的需求分页 需求 POST /b2b2c/pbcRequirement/getRequirementPageByBusinessState */ +/** 身份是商家,根据需求id获取需求发布人的待发货的订单列表 需求 GET /b2b2c/pbcRequirement/getRequirementOrderListById */ +export async function getRequirementOrderListByIdUsingGet( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.getRequirementOrderListByIdUsingGETParams, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcRequirement/getRequirementOrderListById', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 当前登陆人,根据必传的pbcBusinessState:0:跟进中、1:已采纳且采纳的对象是登录人、2:已取消,3已完成 的获取通过审核的需求分页 需求 POST /b2b2c/pbcRequirement/getRequirementPageByBusinessState */ export async function getRequirementPageByBusinessStateUsingPost( body: API.PbcRequirement_, options?: { [key: string]: any }, @@ -160,6 +223,21 @@ export async function getRequirementPageByBusinessStateUsingPost( ); } +/** 身份是小哥,并且发货,在发布者没有关闭需求前,可以任意修改这个 需求 POST /b2b2c/pbcRequirement/purchaseShip */ +export async function purchaseShipUsingPost( + body: API.PbcRequirementOrderInfo_, + options?: { [key: string]: any }, +) { + return request('/b2b2c/pbcRequirement/purchaseShip', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 卖家或者采购员获取需求大厅分页,需求大厅只能查看不是给小哥的,并且状态是已经审核通过的需求 分页 POST /b2b2c/pbcRequirement/seller/getRequirementPage */ export async function getRequirementPageForSellerUsingPost( body: API.PbcRequirement_, diff --git a/src/services/pop-b2b2c/typings.d.ts b/src/services/pop-b2b2c/typings.d.ts index 1677c79..2f05204 100644 --- a/src/services/pop-b2b2c/typings.d.ts +++ b/src/services/pop-b2b2c/typings.d.ts @@ -14,283 +14,6 @@ declare namespace API { pbcId: number; }; - type adoptReplyForBuyerUsingPOSTParams = { - /** 需求id */ - pbcRequirementId?: number; - /** 商户对公账户 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessAccount'?: string; - /** 商户账户名称 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessAccountName'?: string; - /** 商户地址 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessAddress'?: string; - /** 商户区域 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessArea'?: string; - /** 商户对公账户银行 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessBank'?: string; - /** 商户城市 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessCity'?: string; - /** 商户编号, 审核通过后生成 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessCode'?: string; - /** 商户联系人 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessContact'?: string; - /** 商户手机号 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessContactMobile'?: string; - /** 商户联系人身份证 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessContactUserNo'?: string; - /** 商户门牌号, 新增字段 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessDoorLabel'?: string; - /** 商户邮箱 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessEmail'?: string; - /** 商户负责人 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessHead'?: string; - /** 商户负责人身份证号码 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessHeadUserNo'?: string; - /** 商户负责人身份证人像面图片 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessHeadUserNoBackUrl'?: string; - /** 商户负责人身份证国徽面图片 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessHeadUserNoFrontUrl'?: string; - /** 商户负责人身份证类型,0是身份证,1是港澳来往内地通行证,2是台湾内地通行证 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessHeadUserNoType'?: number; - /** 商户图片 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessImage'?: string; - /** 商户简介 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessIntroduction'?: string; - /** 商户地址纬度 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessLatitudee'?: string; - /** 商户等级 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessLevel'?: string; - /** 商户营业执照url */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessLicenseUrl'?: string; - /** 商户logo */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessLogo'?: string; - /** 商户地址经度 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessLongitude'?: string; - /** 商户主营范围 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessMainCategory'?: string; - /** 商户名称 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessName'?: string; - /** 商户海报地址 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessPosterUrl'?: string; - /** 商户省份 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessProvince'?: string; - /** 开业时间 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessStartDate'?: string; - /** 商户认证状态,0是未认证,1是已认证 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessState'?: number; - /** 商户类型 */ - 'pbcRequirementReply.pbcBusiness.pbcBusinessType'?: string; - /** 创建时间 */ - 'pbcRequirementReply.pbcBusiness.pbcCreateAt'?: string; - /** 创建人 */ - 'pbcRequirementReply.pbcBusiness.pbcCreateBy'?: number; - /** 创建人 */ - 'pbcRequirementReply.pbcBusiness.pbcCreateByUserName'?: string; - /** 主键 */ - 'pbcRequirementReply.pbcBusiness.pbcId'?: number; - /** 商戶首頁模板 */ - 'pbcRequirementReply.pbcBusiness.pbcIndexPageTemplateKey'?: string; - /** 状态,0是删除,1是正常,2是作废 */ - 'pbcRequirementReply.pbcBusiness.pbcState'?: number; - /** 社会统一信用代码 */ - 'pbcRequirementReply.pbcBusiness.pbcUnifiedSocialCreditCode'?: string; - /** 更新时间 */ - 'pbcRequirementReply.pbcBusiness.pbcUpdateAt'?: string; - /** 更新人 */ - 'pbcRequirementReply.pbcBusiness.pbcUpdateBy'?: number; - /** 更新人 */ - 'pbcRequirementReply.pbcBusiness.pbcUpdateByUserName'?: string; - /** 回复的用户所属商户id,前端不需要传 */ - 'pbcRequirementReply.pbcBusinessId'?: number; - /** 创建时间 */ - 'pbcRequirementReply.pbcCreateAt'?: string; - /** 创建人 */ - 'pbcRequirementReply.pbcCreateBy'?: number; - /** 创建人 */ - 'pbcRequirementReply.pbcCreateByUserName'?: string; - /** 主键 */ - 'pbcRequirementReply.pbcId'?: number; - /** 回复内容 */ - 'pbcRequirementReply.pbcReplyContent'?: string; - /** 需求回复的id */ - 'pbcRequirementReply.pbcReplyId'?: number; - /** 0回复的主题,1回复某条回复 */ - 'pbcRequirementReply.pbcReplyType'?: number; - /** 回复用户id */ - 'pbcRequirementReply.pbcReplyUserId'?: number; - /** 需求id */ - 'pbcRequirementReply.pbcRequirementId'?: number; - /** 状态,0是删除,1是正常,2是作废 */ - 'pbcRequirementReply.pbcState'?: number; - /** 更新时间 */ - 'pbcRequirementReply.pbcUpdateAt'?: string; - /** 更新人 */ - 'pbcRequirementReply.pbcUpdateBy'?: number; - /** 更新人 */ - 'pbcRequirementReply.pbcUpdateByUserName'?: string; - /** 商户id */ - 'pbcRequirementReply.pbcUsers.pbcBusinessId'?: number; - /** 商户对公账户 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessAccount'?: string; - /** 商户账户名称 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessAccountName'?: string; - /** 商户地址 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessAddress'?: string; - /** 商户区域 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessArea'?: string; - /** 商户对公账户银行 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessBank'?: string; - /** 商户城市 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessCity'?: string; - /** 商户编号, 审核通过后生成 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessCode'?: string; - /** 商户联系人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessContact'?: string; - /** 商户手机号 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessContactMobile'?: string; - /** 商户联系人身份证 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessContactUserNo'?: string; - /** 商户门牌号, 新增字段 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessDoorLabel'?: string; - /** 商户邮箱 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessEmail'?: string; - /** 商户负责人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessHead'?: string; - /** 商户负责人身份证号码 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessHeadUserNo'?: string; - /** 商户负责人身份证人像面图片 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessHeadUserNoBackUrl'?: string; - /** 商户负责人身份证国徽面图片 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessHeadUserNoFrontUrl'?: string; - /** 商户负责人身份证类型,0是身份证,1是港澳来往内地通行证,2是台湾内地通行证 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessHeadUserNoType'?: number; - /** 商户图片 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessImage'?: string; - /** 商户简介 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessIntroduction'?: string; - /** 商户地址纬度 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessLatitudee'?: string; - /** 商户等级 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessLevel'?: string; - /** 商户营业执照url */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessLicenseUrl'?: string; - /** 商户logo */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessLogo'?: string; - /** 商户地址经度 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessLongitude'?: string; - /** 商户主营范围 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessMainCategory'?: string; - /** 商户名称 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessName'?: string; - /** 商户海报地址 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessPosterUrl'?: string; - /** 商户省份 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessProvince'?: string; - /** 开业时间 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessStartDate'?: string; - /** 商户认证状态,0是未认证,1是已认证 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessState'?: number; - /** 商户类型 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcBusinessType'?: string; - /** 创建时间 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcCreateAt'?: string; - /** 创建人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcCreateBy'?: number; - /** 创建人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcCreateByUserName'?: string; - /** 主键 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcId'?: number; - /** 商戶首頁模板 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcIndexPageTemplateKey'?: string; - /** 状态,0是删除,1是正常,2是作废 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcState'?: number; - /** 社会统一信用代码 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcUnifiedSocialCreditCode'?: string; - /** 更新时间 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcUpdateAt'?: string; - /** 更新人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcUpdateBy'?: number; - /** 更新人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessInfo.pbcUpdateByUserName'?: string; - /** 商户logo */ - 'pbcRequirementReply.pbcUsers.pbcBusinessLogo'?: string; - /** 商户认证状态,false是未认证,true是已认证 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessState'?: boolean; - /** 商户id */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcBusinessId'?: number; - /** 当前用户的海报模板 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcBusinessPostConfigId'?: number; - /** 角色类型 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcBusinessRole'?: string; - /** 商家海报地址, 此处为海报链接 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcBusinessUserPostUrl'?: string; - /** 商家用户二维码:团队成员展示的二维码均不相同,此处为二维码链接 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcBusinessUserQrCode'?: string; - /** 创建时间 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcCreateAt'?: string; - /** 创建人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcCreateBy'?: number; - /** 创建人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcCreateByUserName'?: string; - /** 主键 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcId'?: number; - /** 状态,0是删除,1是正常,2是作废 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcState'?: number; - /** 更新时间 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcUpdateAt'?: string; - /** 更新人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcUpdateBy'?: number; - /** 更新人 */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcUpdateByUserName'?: string; - /** 用户id */ - 'pbcRequirementReply.pbcUsers.pbcBusinessTeam.pbcUserId'?: number; - /** 创建时间 */ - 'pbcRequirementReply.pbcUsers.pbcCreateAt'?: string; - /** 创建人 */ - 'pbcRequirementReply.pbcUsers.pbcCreateBy'?: number; - /** 创建人 */ - 'pbcRequirementReply.pbcUsers.pbcCreateByUserName'?: string; - /** 主键 */ - 'pbcRequirementReply.pbcUsers.pbcId'?: number; - /** 用户小程序的open id */ - 'pbcRequirementReply.pbcUsers.pbcOpenId'?: string; - /** 状态,0是删除,1是正常,2是作废 */ - 'pbcRequirementReply.pbcUsers.pbcState'?: number; - /** 用户微信的union id */ - 'pbcRequirementReply.pbcUsers.pbcUnionId'?: string; - /** 更新时间 */ - 'pbcRequirementReply.pbcUsers.pbcUpdateAt'?: string; - /** 更新人 */ - 'pbcRequirementReply.pbcUsers.pbcUpdateBy'?: number; - /** 更新人 */ - 'pbcRequirementReply.pbcUsers.pbcUpdateByUserName'?: string; - /** 用户邮箱 */ - 'pbcRequirementReply.pbcUsers.pbcUserEmail'?: string; - /** 用户头像 */ - 'pbcRequirementReply.pbcUsers.pbcUserImage'?: string; - /** 用户手机号 */ - 'pbcRequirementReply.pbcUsers.pbcUserMobile'?: string; - /** 用户姓名 */ - 'pbcRequirementReply.pbcUsers.pbcUserName'?: string; - /** 用户昵称 */ - 'pbcRequirementReply.pbcUsers.pbcUserNickName'?: string; - /** 用户密码 */ - 'pbcRequirementReply.pbcUsers.pbcUserPassword'?: string; - /** 角色id */ - 'pbcRequirementReply.pbcUsers.pbcUserRole'?: number; - /** 角色名称 */ - 'pbcRequirementReply.pbcUsers.pbcUserRoleName'?: string; - /** 性别,0表示男性,1表示女性 */ - 'pbcRequirementReply.pbcUsers.pbcUserSex'?: number; - /** 用户来源渠道 */ - 'pbcRequirementReply.pbcUsers.pbcUserSourceType'?: string; - /** 用户来源绑定的分享源 */ - 'pbcRequirementReply.pbcUsers.pbcUserSourceUserId'?: number; - /** 用户分享源的昵称 */ - 'pbcRequirementReply.pbcUsers.pbcUserSourceUserNickName'?: string; - /** 0表示商户,1表示会员, 2管理员 */ - 'pbcRequirementReply.pbcUsers.pbcUserType'?: number; - }; - type agreeMemberApplicationUsingGETParams = { /** businessUserId */ businessUserId: number; @@ -358,12 +81,6 @@ declare namespace API { retmsg?: string; }; - type AjaxResultIPagePbcBusinessProductVO_ = { - data?: IPagePbcBusinessProductVO_; - retcode?: number; - retmsg?: string; - }; - type AjaxResultIPagePbcBusinessTeamVO_ = { data?: IPagePbcBusinessTeamVO_; retcode?: number; @@ -556,6 +273,12 @@ declare namespace API { retmsg?: string; }; + type AjaxResultListPbcContactVO_ = { + data?: PbcContactVO[]; + retcode?: number; + retmsg?: string; + }; + type AjaxResultListPbcFashionTrend_ = { data?: PbcFashionTrend_[]; retcode?: number; @@ -604,6 +327,12 @@ declare namespace API { retmsg?: string; }; + type AjaxResultListPbcRealMessage_ = { + data?: PbcRealMessage_[]; + retcode?: number; + retmsg?: string; + }; + type AjaxResultListPbcRecommendBusiness_ = { data?: PbcRecommendBusiness_[]; retcode?: number; @@ -820,6 +549,12 @@ declare namespace API { retmsg?: string; }; + type AjaxResultPbcRequirementAddressVO_ = { + data?: PbcRequirementAddressVO; + retcode?: number; + retmsg?: string; + }; + type AjaxResultPbcRequirementAdoptVO_ = { data?: PbcRequirementAdoptVO; retcode?: number; @@ -915,6 +650,13 @@ declare namespace API { pbcId: number; }; + type bindRequirementOrderUsingGETParams = { + /** orderId */ + orderId: number; + /** requirementId */ + requirementId: number; + }; + type businessAdminDeleteUserMemberUsingGETParams = { /** pbcId */ pbcId: number; @@ -1055,6 +797,11 @@ declare namespace API { id: number; }; + type completeRequirementUsingGETParams = { + /** requirementId */ + requirementId: number; + }; + type configTypeDetailUsingGETParams = { /** pbcId */ pbcId: number; @@ -1171,6 +918,11 @@ declare namespace API { address: string; }; + type getAddressForRequirementUsingGETParams = { + /** requirementId */ + requirementId: number; + }; + type getBannerListUsingGETParams = { /** pbcBannerType */ pbcBannerType: number; @@ -1238,6 +990,11 @@ declare namespace API { l3CategoryId: number; }; + type getRequirementOrderListByIdUsingGETParams = { + /** requirementId */ + requirementId: number; + }; + type getSpecificationItemListUsingGETParams = { /** specificationId */ specificationId: number; @@ -1385,14 +1142,6 @@ declare namespace API { total?: number; }; - type IPagePbcBusinessProductVO_ = { - current?: number; - pages?: number; - records?: PbcBusinessProductVO[]; - size?: number; - total?: number; - }; - type IPagePbcBusinessTeamVO_ = { current?: number; pages?: number; @@ -2521,6 +2270,38 @@ declare namespace API { pbcUpdateByUserName?: string; }; + type PbcContactPageDTO = { + /** 最后一条消息的uuid */ + lastMessageUUid?: string; + /** 最后一条消息的uuid */ + pageNo?: number; + /** 用户id */ + pbcUserId?: number; + }; + + type PbcContactVO = { + /** 创建时间 */ + pbcCreateAt?: string; + /** 主键 */ + pbcId?: number; + /** 消息内容 */ + pbcMessageContent?: string; + /** 接收人头像 */ + pbcReceiveUserCoverImage?: string; + /** 接收人用户id */ + pbcReceiveUserId?: number; + /** 接收人姓名 */ + pbcReceiveUserName?: string; + /** 发送人头像 */ + pbcSendUserCoverImage?: string; + /** 发送人用户id */ + pbcSendUserId?: number; + /** 发送人姓名 */ + pbcSendUserName?: string; + /** 更新时间 */ + pbcUpdateAt?: string; + }; + type PbcContentPublishDTO = { /** 内容 */ pbcContent?: string; @@ -2777,17 +2558,7 @@ declare namespace API { }; type PbcOrder_ = { - /** 当前页 */ - current?: number; - /** 下单结束时间 */ - endTime?: string; - /** 期望交货开始结束时间 */ - expectedEndTime?: string; - /** 期望交货开始开始时间 */ - expectedStartTime?: string; orderItemList?: PbcOrderItem_[]; - /** 条数 */ - pageSize?: number; pbcBusiness?: PbcBusiness; /** 商家地址 */ pbcBusinessAddress?: string; @@ -2857,11 +2628,8 @@ declare namespace API { pbcUserId?: number; /** 用户手机号,不用传,后台得到 */ pbcUserMobile?: string; - /** 商品名称 */ - productName?: string; + pbcUsers?: PbcUsers; shopCartList?: PbcProductShopCart_[]; - /** 下单开始时间 */ - startTime?: string; }; type PbcOrderAddress_ = { @@ -2932,7 +2700,7 @@ declare namespace API { pbcSkuColorImageUrl?: string; /** 颜色 */ pbcSkuColorName?: string; - /** 款色价格 */ + /** 款色价格或者款的价格 */ pbcSkuPrice?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; @@ -3342,12 +3110,26 @@ declare namespace API { type PbcProductSearchForAllDTO = { /** 当前页 */ current?: number; - /** 标签名称,筛选条件有且仅有一个 */ - labelName?: string; /** 条数 */ pageSize?: number; - /** 商品名称,筛选条件有且仅有一个 */ - productName?: string; + /** 产地城市 */ + pbcProductOriginalCity?: string; + /** 产地城市编码 */ + pbcProductOriginalCityCode?: string; + /** 产地省份 */ + pbcProductOriginalProvince?: string; + /** 产地省份编码 */ + pbcProductOriginalProvinceCode?: string; + /** 商品标题 */ + pbcProductTitle?: string; + /** 产品类型:私密PRIVATE、公开PUBLIC */ + pbcProductType?: string; + /** 状态,0是删除,1是上架,2是下架,3待审核,4是审核失败 */ + pbcState?: number; + /** 排序方式 asc desc */ + sort?: string; + /** 排序列,用表字段名称 */ + sortField?: string; }; type PbcProductShopCart_ = { @@ -3375,7 +3157,7 @@ declare namespace API { pbcSkuColorImageUrl?: string; /** 颜色 */ pbcSkuColorName?: string; - /** 款色价格 */ + /** 款色价格或者款价格 */ pbcSkuPrice?: string; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; @@ -3540,6 +3322,63 @@ declare namespace API { pbcValidCode?: string; }; + type PbcRealMessage_ = { + /** 创建时间 */ + pbcCreateAt?: string; + /** 创建人 */ + pbcCreateBy?: number; + /** 创建人 */ + pbcCreateByUserName?: string; + /** 主键 */ + pbcId?: number; + /** 消息是否审核成功 */ + pbcMessageApprovalStatus?: number; + /** 消息内容 */ + pbcMessageContent?: string; + /** 是否发送成功 */ + pbcMessageSendState?: number; + /** 是否已读 */ + pbcMessageState?: number; + /** 消息类型: */ + pbcMessageType?: number; + /** 消息图片 */ + pbcMessageUrl?: string; + /** 发送人用户id */ + pbcMessageUuid?: string; + /** 商品id */ + pbcProductId?: number; + /** 是否是采购小哥:0否1是 */ + pbcReceivePurchaseAgent?: number; + /** 接收人头像 */ + pbcReceiveUserCoverImage?: string; + /** 接收人用户id */ + pbcReceiveUserId?: number; + /** 接收人姓名 */ + pbcReceiveUserName?: string; + /** 接收人类型 */ + pbcReceiveUserType?: number; + /** 消息图片 */ + pbcRequirementId?: string; + /** 是否是采购小哥:0否1是 */ + pbcSendPurchaseAgent?: number; + /** 发送人头像 */ + pbcSendUserCoverImage?: string; + /** 发送人用户id */ + pbcSendUserId?: number; + /** 发送人姓名 */ + pbcSendUserName?: string; + /** 发送人类型 */ + pbcSendUserType?: number; + /** 状态,0是删除,1是正常,2是作废 */ + pbcState?: number; + /** 更新时间 */ + pbcUpdateAt?: string; + /** 更新人 */ + pbcUpdateBy?: number; + /** 更新人 */ + pbcUpdateByUserName?: string; + }; + type PbcRecommendBusiness_ = { pbcBusiness?: PbcBusiness; /** 商户id */ @@ -3602,6 +3441,8 @@ declare namespace API { isPrivate?: number; /** 条数 */ pageSize?: number; + /** 采纳的采购员id,如果采纳的留言是采购员的话 */ + pbcAdoptionBusinessId?: number; /** 接纳的留言的id */ pbcAdoptionRequirementReplyId?: number; /** 接纳的用户id */ @@ -3610,7 +3451,8 @@ declare namespace API { pbcApprovalStatus?: number; /** 需求预算,可以填入文字描述 */ pbcBudget?: string; - /** 需求状态,0表示进行中,1表示已采纳,2表示已取消 */ + pbcBusiness?: PbcBusiness; + /** 需求状态,0表示进行中,1表示已采纳,2表示已取消,3是已完成 */ pbcBusinessState?: number; /** 创建时间 */ pbcCreateAt?: string; @@ -3620,14 +3462,18 @@ declare namespace API { pbcCreateByUserName?: string; /** 需求描述 */ pbcDescription?: string; + /** 是否已经维护订单信息,0否,1是 */ + pbcHasOrder?: number; /** 主键 */ pbcId?: number; /** 需求图片 */ pbcImages?: string; - /** 采纳的采购员id,如果采纳的留言是采购员的话 */ + /** 采纳的用户所在商户的id */ pbcPurchaseAgentId?: number; + pbcPurchaseAgentInfo?: PbcPurchaseAgentInfo_; /** 当类型是指定小哥时,必传 */ pbcPurchaseAgentInfoList?: PbcPurchaseAgentInfo_[]; + pbcRequirementOrderInfo?: PbcRequirementOrderInfo_; /** 状态,0是删除,1是正常,2是作废 */ pbcState?: number; /** 需求标题 */ @@ -3649,15 +3495,96 @@ declare namespace API { userId?: number; }; + type PbcRequirementAddressVO = { + /** 小哥的地址列表 */ + agentInfoAddressList?: PbcOrderAddress_[]; + requirementCreatorAddress?: PbcOrderAddress_; + }; + + type PbcRequirementAdoptDTO = { + /** 需求id */ + pbcRequirementId?: number; + pbcRequirementReply?: PbcRequirementReply_; + }; + type PbcRequirementAdoptVO = { /** 已完取消数量 */ cancelRequirementCount?: number; - /** 已完成数量 */ + /** 已采纳数量 */ completeRequirementCount?: number; /** 跟进中的数量 */ followUpRequirementCount?: number; }; + type PbcRequirementOrderInfo_ = { + /** 快递单号 */ + expressNo?: string; + /** 快递订单号,如果是从这发货的话 */ + expressOrderId?: string; + /** 采纳人的用户id */ + pbcAdoptionUserId?: number; + /** 采纳人的类型,1是小哥,2是商家 */ + pbcAdoptionUserType?: number; + /** 采纳的商家id */ + pbcBusinessId?: number; + /** 创建时间 */ + pbcCreateAt?: string; + /** 创建人 */ + pbcCreateBy?: number; + /** 创建人 */ + pbcCreateByUserName?: string; + /** 主键 */ + pbcId?: number; + /** 快递公司编码 */ + pbcOrderExpressCompanyCode?: string; + /** 快递公司名称 */ + pbcOrderExpressCompanyName?: string; + /** 关联的订单id */ + pbcOrderId?: number; + /** 采纳的小哥id */ + pbcPurchaseAgentId?: number; + /** 小哥的发货类型,1是在线发货,2是自行快递,3是线下送货 */ + pbcPurchaseAgentSendType?: number; + /** 需求id */ + pbcRequirementId?: number; + /** 状态,0是删除,1是正常,2是作废 */ + pbcState?: number; + /** 更新时间 */ + pbcUpdateAt?: string; + /** 更新人 */ + pbcUpdateBy?: number; + /** 更新人 */ + pbcUpdateByUserName?: string; + /** 收货人的地址 */ + receiverAddress?: string; + /** 收货人的城市 */ + receiverCity?: string; + /** 收货联系人 */ + receiverContact?: string; + /** 收货人的国家 */ + receiverCountry?: string; + /** 收货人的县/区级行政区名称,必须 是标准的县/区称谓 */ + receiverCounty?: string; + /** 收货人手机号 */ + receiverMobile?: string; + /** 收货人的省份 */ + receiverProvince?: string; + /** 发货人的地址 */ + senderAddress?: string; + /** 发货人的城市 */ + senderCity?: string; + /** 发货联系人 */ + senderContact?: string; + /** 发货人的国家 */ + senderCountry?: string; + /** 发货人的县/区级行政区名称,必须 是标准的县/区称谓 */ + senderCounty?: string; + /** 发货人手机号 */ + senderMobile?: string; + /** 发货人的省份 */ + senderProvince?: string; + }; + type PbcRequirementReply_ = { pbcBusiness?: PbcBusiness; /** 回复的用户所属商户id,前端不需要传 */