1
0
Selaa lähdekoodia

清理Kmall配置,增加打印日志,增加注释

csk 2 vuotta sitten
vanhempi
commit
0388f4f0b3

+ 10 - 2
eccs-biz/src/main/java/com/emato/biz/controller/mall/SalesDetailController.java

@@ -19,6 +19,14 @@ import org.springframework.web.bind.annotation.RestController;
 
 import javax.servlet.http.HttpServletRequest;
 
+/**
+ * 接收Kmall推送到eccs的销售明细数据
+ * 接收外部商户系统请求所需要的销售明细数据
+ *
+ * @author Scott Chen
+ * @since 1.0.0
+ * @date 2023-03-21
+ */
 @RestController
 public class SalesDetailController {
     private static final Logger logger = LoggerFactory.getLogger(SalesDetailController.class);
@@ -28,7 +36,7 @@ public class SalesDetailController {
 
 
     /**
-     * kmall向eccs系统推送数据
+     * kmall向eccs系统推送销售明细数据
      * @param newSystemFormatEntiy
      * @return
      */
@@ -41,7 +49,7 @@ public class SalesDetailController {
     }
 
     /**
-     * 外部系统查询订单销售数据
+     * 商户外部系统查询其所要同步的订单销售数据
      * @param msg
      * @return
      */

+ 1 - 1
eccs-biz/src/main/java/com/emato/biz/service/impl/SalesDetaiServicelImpl.java

@@ -61,7 +61,7 @@ public class SalesDetaiServicelImpl implements ISalesDetaiServicel {
     }
 
     /**
-     * 外部系统查询订单销售数据
+     * 外部商户系统查询订单销售数据
      * @param msg
      * @return
      */

+ 5 - 3
eccs-biz/src/main/resources/kmall-config.yml

@@ -4,19 +4,21 @@ kmall:
 #  queryAllInveMngUrl: http://127.0.0.1:8080/ktoeccs/queryAllGoodsInfo
 #  # 查询门店库存接口
 #  queryAllShopInveMngUrl: http://127.0.0.1:8080/ktoeccs/queryAllStoreProductInfo
-#  # 发送请求
+#  # 向Kmall发送要从Kmall获取数据的请求
 #  requestToKmall: http://127.0.0.1:8080/ktoeccs/sendToEccs
+
 #  # 测试环境地址
 #  # 查询所有库存接口
 #  queryAllInveMngUrl: http://183.62.225.124:8080/ktoeccs/queryAllGoodsInfo
 #  # 查询门店库存接口
 #  queryAllShopInveMngUrl: http://183.62.225.124:8080/ktoeccs/queryAllStoreProductInfo
-#  # 发送请求
+#  # 向Kmall发送要从Kmall获取数据的请求
 #  requestToKmall: http://183.62.225.124:8080/ktoeccs/sendToEccs
+
 #   生产环境地址
   queryAllInveMngUrl: http://8.135.102.238:8080/ktoeccs/queryAllGoodsInfo
   # 查询门店库存接口
   queryAllShopInveMngUrl: http://8.135.102.238:8080/ktoeccs/queryAllStoreProductInfo
-  # 发送请求
+  # 向Kmall发送要从Kmall获取数据的请求
   requestToKmall: http://8.135.102.238:8080/ktoeccs/sendToEccs