// @ts-ignore /* eslint-disable */ import request from '@/utils/request'; /** 商户同意买家会员申请 审核通过,单个 GET /b2b2c/pbcuserbusiness/agreememberapplication */ export async function agreeMemberApplicationUsingGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.agreeMemberApplicationUsingGETParams, options?: { [key: string]: any }, ) { return request('/b2b2c/pbcuserbusiness/agreememberapplication', { method: 'GET', params: { ...params, }, ...(options || {}), }); } /** 商户管理员删除用户的会员 单个 GET /b2b2c/pbcuserbusiness/businessAdminDeleteUserMember */ export async function businessAdminDeleteUserMemberUsingGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.businessAdminDeleteUserMemberUsingGETParams, options?: { [key: string]: any }, ) { return request('/b2b2c/pbcuserbusiness/businessAdminDeleteUserMember', { method: 'GET', params: { ...params, }, ...(options || {}), }); } /** 买家的商户会员列表,可以搜索已通过和未通过的商户 列表 POST /b2b2c/pbcuserbusiness/businessrecordlist */ export async function businessRecordListUsingPost( body: API.PbcUserBusinessSearchVO, options?: { [key: string]: any }, ) { return request( '/b2b2c/pbcuserbusiness/businessrecordlist', { method: 'POST', headers: { 'Content-Type': 'application/json', }, data: body, ...(options || {}), }, ); } /** 卖家的商户会员分页 分页 POST /b2b2c/pbcuserbusiness/businessuserrecordpage */ export async function businessUserRecordPageUsingPost( body: API.PbcUserBusinessPageDTO, options?: { [key: string]: any }, ) { return request( '/b2b2c/pbcuserbusiness/businessuserrecordpage', { method: 'POST', headers: { 'Content-Type': 'application/json', }, data: body, ...(options || {}), }, ); } /** 买家删除收藏的商户 单个 GET /b2b2c/pbcuserbusiness/buyerDeleteBusinessRecord */ export async function buyerDeleteBusinessRecordUsingGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.buyerDeleteBusinessRecordUsingGETParams, options?: { [key: string]: any }, ) { return request('/b2b2c/pbcuserbusiness/buyerDeleteBusinessRecord', { method: 'GET', params: { ...params, }, ...(options || {}), }); } /** 切换登录用户的商户 切换 GET /b2b2c/pbcuserbusiness/changeuserdefaultbusiness */ export async function changeUserDefaultBusinessUsingGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.changeUserDefaultBusinessUsingGETParams, options?: { [key: string]: any }, ) { return request('/b2b2c/pbcuserbusiness/changeuserdefaultbusiness', { method: 'GET', params: { ...params, }, ...(options || {}), }); } /** 查看买家是否是商户会员,0没申请过会员,1申请会员待通过,2已经是会员 单个 GET /b2b2c/pbcuserbusiness/checkmembership */ export async function checkMemberShipUsingGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.checkMemberShipUsingGETParams, options?: { [key: string]: any }, ) { return request('/b2b2c/pbcuserbusiness/checkmembership', { method: 'GET', params: { ...params, }, ...(options || {}), }); } /** 买家申请成为商户会员,等待商户审核,并且默认切换成该商户 新增 GET /b2b2c/pbcuserbusiness/saveuserbusinessrecord */ export async function saveUserBusinessRecordUsingGet( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.saveUserBusinessRecordUsingGETParams, options?: { [key: string]: any }, ) { return request('/b2b2c/pbcuserbusiness/saveuserbusinessrecord', { method: 'GET', params: { ...params, }, ...(options || {}), }); }