# yoe-opm-web 页面接口文档 ## 张林的交接文档 ## 一、商品管理 ## 商品运营平台写完了。后续需要开发的话参考我这个接口的路径去找就行。 ## 至于一些配置信息,你直接去同事的nacos,不是有很多yml文件么?你直接一个个复制粘贴就行。 ### 商品基础信息 **文件:** [src/views/product/base/index.vue](src/views/product/base/index.vue) **接口:** - `@/api/pmsProduct/base` → listBase, getBase, delBase, brandList, categoryTree, shelfReview, changeProductType, getProductStatusCount ### 商品新增 **文件:** [src/views/product/base/add.vue](src/views/product/base/add.vue) **接口:** - `@/api/pmsProduct/base` → addBase, updateBase, getBase, brandList, categoryTree, categoryAttributeList, getAfterSaleList, getServiceList, getUnitList ### 商品审核 **文件:** [src/views/product/base/review.vue](src/views/product/base/review.vue) **接口:** - `@/api/pmsProduct/base` → listBase, getBase, reviewBase, brandList, categoryTree ### 上下架审核 **文件:** [src/views/product/base/shelfReview.vue](src/views/product/base/shelfReview.vue) **接口:** - `@/api/pmsProduct/base` → listBase, getBase, shelfReview, brandList, categoryTree ### 商品属性 **文件:** [src/views/product/attributes/index.vue](src/views/product/attributes/index.vue) **接口:** - `@/api/pmsProduct/attributes` → listAttributes, getAttributes, delAttributes, addAttributes, updateAttributes - `@/api/pmsProduct/base` → categoryTree ### 商品属性编辑 **文件:** [src/views/product/attributes/edit.vue](src/views/product/attributes/edit.vue) **接口:** - `@/api/pmsProduct/attributes` → getAttributes, addAttributes, updateAttributes - `@/api/pmsProduct/base` → categoryTree ### 品牌管理 **文件:** [src/views/product/brand/index.vue](src/views/product/brand/index.vue) **接口:** - `@/api/pmsProduct/brand` → listBrand, getBrand, delBrand, addBrand, updateBrand ### 品牌编辑 **文件:** [src/views/product/brand/edit.vue](src/views/product/brand/edit.vue) **接口:** - `@/api/pmsProduct/brand` → getBrand, addBrand, updateBrand ### 商品分类 **文件:** [src/views/product/category/index.vue](src/views/product/category/index.vue) **接口:** - `@/api/pmsProduct/category` → listCategory, getCategory, delCategory, addCategory, updateCategory, listCategoryExcludeChild, setCategoryReviewer ### 商品规格 **文件:** [src/views/product/specs/index.vue](src/views/product/specs/index.vue) **接口:** - `@/api/pmsProduct/specs` → listSpecs, getSpecs, delSpecs, addSpecs, updateSpecs ### 商品单位 **文件:** [src/views/product/unit/index.vue](src/views/product/unit/index.vue) **接口:** - `@/api/pmsProduct/unit` → listUnit, getUnit, delUnit, addUnit, updateUnit ### 服务保障 **文件:** [src/views/product/ensure/index.vue](src/views/product/ensure/index.vue) **接口:** - `@/api/pmsProduct/ensure` → listEnsure, getEnsure, delEnsure, addEnsure, updateEnsure ### 价格与库存 **文件:** [src/views/product/priceInventory/index.vue](src/views/product/priceInventory/index.vue) **接口:** - `@/api/pmsProduct/priceInventory` → listPriceInventory, getPriceInventory, delPriceInventory, addPriceInventory, updatePriceInventory ### 商品池管理 **文件:** [src/views/product/pool/index.vue](src/views/product/pool/index.vue) **接口:** - `@/api/pmsProduct/pool` → listPool, getPool, delPool, addPool, updatePool ### 商品池审核 **文件:** [src/views/product/pool/review.vue](src/views/product/pool/review.vue) **接口:** - `@/api/pmsProduct/pool` → (审核相关接口) ### 商品推荐 **文件:** [src/views/product/recommend/index.vue](src/views/product/recommend/index.vue) **接口:** - `@/api/pmsProduct/recommend` → listRecommend, getRecommend, delRecommend, addRecommend, updateRecommend ### 售后服务 **文件:** [src/views/product/afterSales/index.vue](src/views/product/afterSales/index.vue) **接口:** - `@/api/pmsProduct/afterSales` → (售后服务相关接口) ### 商品关联 **文件:** [src/views/product/associate/index.vue](src/views/product/associate/index.vue) **接口:** - `@/api/pmsProduct/associate` → (商品关联相关接口) ### 商品黑名单 **文件:** [src/views/product/blacklist/index.vue](src/views/product/blacklist/index.vue) **接口:** - `@/api/pmsProduct/blacklist` → (黑名单相关接口) ### 商品分类(classification) **文件:** [src/views/product/classification/index.vue](src/views/product/classification/index.vue) **接口:** - `@/api/pmsProduct/classification` → (分类相关接口) ### 定制说明 **文件:** [src/views/product/customization/index.vue](src/views/product/customization/index.vue) **接口:** - `@/api/pmsProduct/customization` → (定制说明相关接口) ### 商品扩展 **文件:** [src/views/product/extend/index.vue](src/views/product/extend/index.vue) **接口:** - `@/api/pmsProduct/extend` → (扩展相关接口) ### 商品标签 **文件:** [src/views/product/lable/index.vue](src/views/product/lable/index.vue) **接口:** - `@/api/pmsProduct/lable` → (标签相关接口) ### 商品池关联 **文件:** [src/views/product/poolLink/index.vue](src/views/product/poolLink/index.vue) **接口:** - `@/api/pmsProduct/poolLink` → (商品池关联相关接口) ### 商品项目 **文件:** [src/views/product/program/index.vue](src/views/product/program/index.vue) **接口:** - `@/api/pmsProduct/program` → (项目相关接口) ### 项目关联 **文件:** [src/views/product/programLink/index.vue](src/views/product/programLink/index.vue) **接口:** - `@/api/pmsProduct/programLink` → (项目关联相关接口) ### 推荐关联 **文件:** [src/views/product/recommendLink/index.vue](src/views/product/recommendLink/index.vue) **接口:** - `@/api/pmsProduct/recommendLink` → (推荐关联相关接口) ### 税率管理 **文件:** [src/views/product/taxrate/index.vue](src/views/product/taxrate/index.vue) **接口:** - `@/api/pmsProduct/taxrate` → (税率相关接口) ### 体积单位 **文件:** [src/views/product/volumeUnit/index.vue](src/views/product/volumeUnit/index.vue) **接口:** - `@/api/pmsProduct/volumeUnit` → (体积单位相关接口) ### 重量单位 **文件:** [src/views/product/weightUnit/index.vue](src/views/product/weightUnit/index.vue) **接口:** - `@/api/pmsProduct/weightUnit` → (重量单位相关接口) --- ## 二、平台装修 ### 生鲜装修 **文件:** [src/views/platform/decoration/fresh/index.vue](src/views/platform/decoration/fresh/index.vue) **接口:** - `@/api/system/floorAdvertManage` → listFloorAdvertManage, getFloorAdvertManage, updateFloorAdvertManage - `@/api/system/floorTitle` → getFloorTitle, addFloorTitle, updateFloorTitle - `@/api/system/oss` → listByIds ### 限时抢购装修 **文件:** [src/views/platform/decoration/flashSale/index.vue](src/views/platform/decoration/flashSale/index.vue) **接口:** - `@/api/system/floorAdvertManage` → listFloorAdvertManage, getFloorAdvertManage, addFloorAdvertManage, updateFloorAdvertManage - `@/api/system/floorTitle` → getFloorTitle, addFloorTitle, updateFloorTitle - `@/api/system/oss` → listByIds - `@/api/product/brand` → listBrand - `@/api/product/recommend` → listRecommend, listRecommendLink, addRecommendLink, delRecommendLink ### 解决方案装修 **文件:** [src/views/platform/decoration/solution/index.vue](src/views/platform/decoration/solution/index.vue) **接口:** - `@/api/system/floorTitle` → listFloorTitle, getFloorTitle, addFloorTitle, updateFloorTitle - `@/api/system/floorAdvertManage` → listFloorAdvertManage, getFloorAdvertManage, updateFloorAdvertManage - `@/api/system/oss` → listByIds ### 导购装修 **文件:** [src/views/platform/decoration/guide/index.vue](src/views/platform/decoration/guide/index.vue) **接口:** - `@/api/system/floorTitle` → getFloorTitle, addFloorTitle, updateFloorTitle - `@/api/product/program` → listProgram, listProgramLink, addProgramLink, delProgramLink - `@/api/product/base` → listProduct - `@/api/product/recommend` → listRecommend, listRecommendLink, addRecommendLink, delRecommendLink ### 品牌装修 **文件:** [src/views/platform/decoration/brand/index.vue](src/views/platform/decoration/brand/index.vue) **接口:** - `@/api/system/floorAdvertManage` → listFloorAdvertManage, getFloorAdvertManage, updateFloorAdvertManage - `@/api/system/floorTitle` → getFloorTitle, addFloorTitle, updateFloorTitle - `@/api/system/oss` → listByIds ### 专题装修 **文件:** [src/views/platform/decoration/special/index.vue](src/views/platform/decoration/special/index.vue) **接口:** - `@/api/system/floorTitle` → getFloorTitle, addFloorTitle, updateFloorTitle - `@/api/product/base` → listProduct - `@/api/product/recommend` → listRecommend, listRecommendLink, addRecommendLink, delRecommendLink ### 案例装修 **文件:** [src/views/platform/decoration/case/index.vue](src/views/platform/decoration/case/index.vue) **接口:** - `@/api/system/floorTitle` → getFloorTitle, addFloorTitle, updateFloorTitle - `@/api/product/serviceCase` → listServiceCase - `@/api/product/recommend` → listRecommend, listRecommendLink, addRecommendLink, delRecommendLink ### 轮播图装修 **文件:** [src/views/platform/decoration/carousel/index.vue](src/views/platform/decoration/carousel/index.vue) **接口:** - `@/api/ad/content` → listAdContent, addAdContent, updateAdContent, delAdContent - `@/api/system/oss` → listByIds --- ## 三、福礼装修 ### 礼品轮播图 **文件:** [src/views/platform/gift/carousel/index.vue](src/views/platform/gift/carousel/index.vue) **接口:** - `@/api/ad/content` → listAdContent, addAdContent, updateAdContent, delAdContent - `@/api/system/oss` → listByIds ### 礼品标题 **文件:** [src/views/platform/gift/title/index.vue](src/views/platform/gift/title/index.vue) **接口:** - `@/api/ad/content` → listAdContent, addAdContent, updateAdContent, delAdContent - `@/api/system/navigation` → listNavigation ### 礼品图标 **文件:** [src/views/platform/gift/icon/index.vue](src/views/platform/gift/icon/index.vue) **接口:** - `@/api/ad/content` → listAdContent, addAdContent, updateAdContent, delAdContent - `@/api/system/oss` → listByIds --- ## 四、工业装修 ### 工业轮播图 **文件:** [src/views/platform/industrial/carousel/index.vue](src/views/platform/industrial/carousel/index.vue) **接口:** - `@/api/ad/content` → listAdContent, addAdContent, updateAdContent, delAdContent - `@/api/system/oss` → listByIds ### 工业展位 **文件:** [src/views/platform/industrial/booth/index.vue](src/views/platform/industrial/booth/index.vue) **接口:** - `@/api/product/base` → listProduct - `@/api/product/recommend` → listRecommend, listRecommendLink, addRecommendLink, delRecommendLink ### 工业标签 **文件:** [src/views/platform/industrial/tag/index.vue](src/views/platform/industrial/tag/index.vue) **接口:** - `@/api/ad/content` → listAdContent, updateAdContent - `@/api/system/oss` → listByIds ### 工业搜索导航 **文件:** [src/views/platform/industrial/searchNav/index.vue](src/views/platform/industrial/searchNav/index.vue) **接口:** - `@/api/system/industrialHomeTitle` → listIndustrialHomeTitle, addIndustrialHomeTitle, updateIndustrialHomeTitle, delIndustrialHomeTitle ### 工业导航 **文件:** [src/views/platform/industrial/navigation/index.vue](src/views/platform/industrial/navigation/index.vue) **接口:** - `@/api/system/industrialHomeTitle` → listIndustrialHomeTitle, addIndustrialHomeTitle, updateIndustrialHomeTitle, delIndustrialHomeTitle ### 楼层广告 **文件:** [src/views/platform/industrial/floorAd/index.vue](src/views/platform/industrial/floorAd/index.vue) **接口:** - `@/api/ad/content` → listAdContent, updateAdContent, addAdContent - `@/api/system/oss` → listByIds --- ## 五、客户运营 (暂无页面) --- ## 六、运营管理 (暂无页面) --- ## 七、全局设置 ### 搜索导航 **文件:** [src/views/system/searchNav/index.vue](src/views/system/searchNav/index.vue) **接口:** - `@/api/system/navigation` → listNavigation, getNavigation, addNavigation, updateNavigation, delNavigation ### 内部导航 **文件:** [src/views/system/innerNav/index.vue](src/views/system/innerNav/index.vue) **接口:** - `@/api/system/navigation` → listNavigation, getNavigation, addNavigation, updateNavigation, delNavigation ### 浮动导航 **文件:** [src/views/system/floatNav/index.vue](src/views/system/floatNav/index.vue) **接口:** - `@/api/system/navigation` → listNavigation, getNavigation, addNavigation, updateNavigation, delNavigation ### 底部导航 **文件:** [src/views/system/bottomNav/index.vue](src/views/system/bottomNav/index.vue) **接口:** - `@/api/system/navigation` → listNavigation, getNavigation, addNavigation, updateNavigation, delNavigation ### 首页导航 **文件:** [src/views/system/homeNav/index.vue](src/views/system/homeNav/index.vue) **接口:** - `@/api/system/navigation` → listNavigation, getNavigation, addNavigation, updateNavigation, delNavigation ### 条款设置 **文件:** [src/views/system/terms/index.vue](src/views/system/terms/index.vue) **接口:** - `@/api/system/terms` → listTerms, getTerms, addTerms, updateTerms ### 关于我们 **文件:** [src/views/system/aboutUs/index.vue](src/views/system/aboutUs/index.vue) **接口:** - `@/api/system/about` → listAbout, getAbout, addAbout, updateAbout, delAbout --- ## 八、平台设置 ### 基础设置 **文件:** [src/views/system/basicSetting/index.vue](src/views/system/basicSetting/index.vue) **接口:** - `@/api/system/platformConfig` → listPlatformConfig, saveBatchPlatformConfig ### 登录设置 **文件:** [src/views/system/loginSetting/index.vue](src/views/system/loginSetting/index.vue) **接口:** - `@/api/system/platformConfig` → listPlatformConfig, addPlatformConfig, updatePlatformConfig