From 1a95d0d4a1dc1a3b6b7e555f7e540e022f5238dd Mon Sep 17 00:00:00 2001
From: phpcjl <phpcjl@gmail.com>
Date: 星期三, 11 十二月 2024 10:57:23 +0800
Subject: [PATCH] 1.后台管理-商品管理

---
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsArea.java       |    2 +-
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/Goods.java           |    4 ++++
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsAppUser.java    |    2 +-
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsShop.java       |    2 +-
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsVip.java        |    2 +-
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/GoodsController.java |    2 +-
 6 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/Goods.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/Goods.java
index 5f2772f..d9b5f37 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/Goods.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/Goods.java
@@ -124,15 +124,19 @@
     private Integer vipId;
 
     @TableField(exist = false)
+    @ApiModelProperty(value = "指定门店")
     private List<GoodsShop> goodsShopList;
 
     @TableField(exist = false)
+    @ApiModelProperty(value = "指定用户")
     private List<GoodsAppUser> goodsAppUserList;
 
     @TableField(exist = false)
+    @ApiModelProperty(value = "会员价格")
     private List<GoodsVip> goodsVipList;
 
     @TableField(exist = false)
+    @ApiModelProperty(value = "地区价格")
     private List<GoodsArea> goodsAreaList;
 
 
diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsAppUser.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsAppUser.java
index 97afabe..817c741 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsAppUser.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsAppUser.java
@@ -21,7 +21,7 @@
 @Data
 @EqualsAndHashCode(callSuper = false)
 @TableName("t_goods_app_user")
-@ApiModel(value="GoodsAppUser对象", description="")
+@ApiModel(value="指定用户对象", description="")
 public class GoodsAppUser implements Serializable {
 
     private static final long serialVersionUID = 1L;
diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsArea.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsArea.java
index 440a334..880312c 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsArea.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsArea.java
@@ -23,7 +23,7 @@
 @Data
 @EqualsAndHashCode(callSuper = false)
 @TableName("t_goods_area")
-@ApiModel(value="GoodsArea对象", description="")
+@ApiModel(value="商品地区价格对象", description="")
 public class GoodsArea implements Serializable {
 
     private static final long serialVersionUID = 1L;
diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsShop.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsShop.java
index 3f30f9a..c4dfa02 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsShop.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsShop.java
@@ -21,7 +21,7 @@
 @Data
 @EqualsAndHashCode(callSuper = false)
 @TableName("t_goods_shop")
-@ApiModel(value="GoodsShop对象", description="")
+@ApiModel(value="指定门店对象", description="")
 public class GoodsShop implements Serializable {
 
     private static final long serialVersionUID = 1L;
diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsVip.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsVip.java
index d6b5789..07d0eb0 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsVip.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsVip.java
@@ -23,7 +23,7 @@
 @Data
 @EqualsAndHashCode(callSuper = false)
 @TableName("t_goods_vip")
-@ApiModel(value="GoodsVip对象", description="")
+@ApiModel(value="会员价格对象", description="")
 public class GoodsVip implements Serializable {
 
     private static final long serialVersionUID = 1L;
diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/GoodsController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/GoodsController.java
index 264c06c..a56e2db 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/GoodsController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/GoodsController.java
@@ -37,7 +37,7 @@
      * 添加商品
      */
     @PostMapping("/addGoods")
-    @ApiOperation(value = "添加商品", tags = {"管理后台-商品管理-发布商品"})
+    @ApiOperation(value = "后台商品添加", tags = {"管理后台-商品管理-发布商品"})
     public R<Void> addGoods(@RequestBody Goods goods) {
         goodsService.addGoods(goods);
         return R.ok();

--
Gitblit v1.7.1