import request from "@/utils/request"; //获取商品分类 export function reqGetProductCategorySearch(data) { return request({ url: '/product/product_category_search.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //添加产品 publish_product_add export function reqPublishProductAdd(data) { return request({ url: '/product/publish_product_add.dspy', method: 'post', headers: { 'Content-Type': 'multipart/form-data' }, data }) } //获公司类型 /product/company_category_search.dspy export function reqCompanyCategorySearch(data) { return request({ url: '/product/company_category_search.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //获取全部产品/product/publish_product_search_first_page.dspy export function reqPublishProductSearchFirstPage(data) { return request({ url: '/product/publish_product_search_first_page.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //算力供需广场 获取列表 export function reqGetSupplyAndDemandSquareList(data) { return request({ url: '/product/publish_product_search_first_page.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //获取商品详情 export function reqGetProductDetail(data) { return request({ url: '/product/publish_product_search_detail.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //提交审批 ///user/enterprise_audit_info_add.dspy export function reqApproveUser(data){ return request({ url: '/user/enterprise_audit_info_add.dspy', method: 'post', headers: { 'Content-Type': 'multipart/form-data' }, data }) } //获取菜单ncmatch菜单 menu export function reqNcMatchMenu(data){ return request({ url: '/product/homepage_category_tree_search.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //运营查找商品|需求 export function reqSearchByMangement(data){ return request({ url: '/product/publish_product_search.dspy', method: 'post', headers: { 'Content-Type': 'application/js1on' }, data }) } //编辑商品 export function reqEditProduct(data){ return request({ url: '/product/publish_product_update.dspy', method: 'post', headers: { 'Content-Type': 'multipart/form-data' }, data }) } //编辑非图片字段 export function reqEditProductNoImg(data){ return request({ url: '/product/publish_product_update.dspy', method: 'post', headers: { 'Content-Type': 'application/js1on' }, data }) } //搜索 export function reqSearch(data){ return request({ url: '/product/global_search.dspy', method: 'post', headers: { 'Content-Type': 'application/js1on' }, data }) } //导出 //reqExportProduct export function reqExportProduct(data){ return request({ url: '/product/publish_product_to_excel.dspy', method: 'post', headers: { 'Content-Type': 'application/js1on' }, data }) } //产品添加子级和兄弟节点 export function reqAddProductMenu(data){ return request({ url: '/product/homepage_category_tree_add.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //资质查询 export function reqEnterpriseAuditInfoSearch(data){ return request({ url: '/user/enterprise_audit_info_search.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //咨询表单 /product/search_user_inquiry.dspy export function reqSearchUserInquiry(data){ return request({ url: '/product/search_user_inquiry.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //审核状态查询 /user/enterprise_audit_info_search.dspy export function reqApproveUserSearch(data){ return request({ url: '/user/enterprise_audit_info_search.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //政企审核 更新 /user/enterprise_audit_info_update.dspy export function reqEnterpriseUpdate(data){ return request({ url: '/user/enterprise_audit_info_update.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) } //首页类别查询 /product/homepage_product_category.dspy export function reqHomepageProductCategory(data){ return request({ url: '/product/homepage_product_category.dspy', method: 'post', headers: { 'Content-Type': 'application/json' }, data }) }