From 6efb0ab56534f7c5afe5d8d494d7b78625b7cd00 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期三, 11 九月 2024 14:58:18 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/mx_charging_pile

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/THtmlController.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/THtmlController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/THtmlController.java
index e36b5d6..0e93b75 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/THtmlController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/THtmlController.java
@@ -3,6 +3,8 @@
 
 import com.baomidou.mybatisplus.core.toolkit.Wrappers;
 import com.ruoyi.common.core.web.domain.AjaxResult;
+import com.ruoyi.common.log.annotation.Log;
+import com.ruoyi.common.log.enums.BusinessType;
 import com.ruoyi.other.api.domain.THtml;
 import com.ruoyi.other.api.domain.TNotice;
 import com.ruoyi.other.service.THtmlService;
@@ -29,6 +31,7 @@
 
     @ApiOperation(tags = {"后台-内容设置-协议服务"},value = "新增修改")
     @PostMapping(value = "/saveOrUpdate")
+    @Log(title = "【协议服务】新增修改协议", businessType = BusinessType.INSERT)
     public AjaxResult saveOrUpdate(@RequestBody THtml tHtml) {
         THtml one = htmlService.lambdaQuery().eq(THtml::getType, tHtml.getType()).one();
         if(one!=null){

--
Gitblit v1.7.1