erp-java/services/product-service/README.md

1.5 KiB

Product Service

商品服务 - 商品管理、商品分类、品牌、供应商

基本信息

  • 服务端口: 8083
  • 服务名称: product-service
  • 模块分支: 业务域/功能模块
  • 数据库: erp_java

功能清单

  1. 商品管理
  2. SKU管理
  3. 商品上下架

API接口

方法 路径 描述
GET /api/sku-match/bindings SkuMatchController接口
GET /api/sku-match/unmatched SkuMatchController接口
POST /api/sku-match/bind SkuMatchController接口
POST /api/sku-match/rule-match SkuMatchController接口
POST /api/sku-match/ai-match SkuMatchController接口
DELETE /api/sku-match/bindings/{id} SkuMatchController接口
GET /api/goods/all GoodsController接口
GET /api/goods/{id} GoodsController接口
GET /api/goods/generate-code GoodsController接口
GET /api/goods/health GoodsController接口
PUT /api/goods/{id} GoodsController接口
DELETE /api/goods/{id} GoodsController接口

数据库表

表名 说明
brands Brand
goods_supplier GoodsSupplier
combo_items ComboItem
goods Goods
suppliers Supplier
order_items OrderItem
platform_sku_bindings PlatformSkuBinding
erp_skus ErpSku
match_logs MatchLog
platforms Platform
unmatched_logs UnmatchedLog

配置文件

  • bootstrap.yml: Nacos配置
  • application.yml: 应用配置

启动方式

mvn clean package
java -jar target/product-service.jar