From 4e8be752d24ae22362455c16f75d3bcbccb23359 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期二, 20 四月 2021 15:27:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopOperLogServiceImpl.java |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopOperLogServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopOperLogServiceImpl.java
index 3386ebd..21d40a5 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopOperLogServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopOperLogServiceImpl.java
@@ -55,6 +55,25 @@
                      */
                     shopOperLogVO.setJsonResult("****");
                     shopOperLogVO.setOperParam("****");
+
+                    String businessTypeName = "";
+                    switch (comShopOperLogDO.getBusinessType()){
+                        case 1: businessTypeName = "登录";break;
+                        case 2: businessTypeName = "修改密码";break;
+                        case 3: businessTypeName = "添加商品";break;
+                        case 4: businessTypeName = "编辑商品";break;
+                        case 5: businessTypeName = "下架商品";break;
+                        case 6: businessTypeName = "上架商品";break;
+                        case 7: businessTypeName = "删除商品";break;
+                        case 8: businessTypeName = "取消订单";break;
+                        case 9: businessTypeName = "发货";break;
+                        case 10: businessTypeName = "配送";break;
+                        case 11:businessTypeName = "查看订单详情";break;
+                        case 12:businessTypeName = "导出订单";break;
+                        case 13:businessTypeName = "导出资金流水";break;
+                        default: break;
+                    }
+                    shopOperLogVO.setBusinessName(businessTypeName);
                     return shopOperLogVO;
                 });
         return R.ok(comShopOperLogVOIPage);

--
Gitblit v1.7.1