From ccbd86bc5f747b748b5bde257a789d748b8cefbb Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 11 Sep 2025 17:41:35 +0800
Subject: [PATCH] ``` refactor(service): 在设置活动类别名称前增加非空检查在AdminHappyActivityServiceImpl.java中,对happyActivity的categoryId进行了非空检查,并且确认categoryMap中包含该categoryId后,再设置其categoryName。这样可以避免因为空值或不存在的键导致的潜在异常。 ```
---
src/main/resources/templates/index.html | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html
index 93effd8..1b49752 100644
--- a/src/main/resources/templates/index.html
+++ b/src/main/resources/templates/index.html
@@ -3,7 +3,7 @@
xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="utf-8">
- <title>blnka 权限系统</title>
+ <title>快乐社区 权限系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@@ -20,9 +20,9 @@
securityJsCode:'50d73a585f300cccf7fc2bf31d0c38c8',
}
</script>
-<!-- <script src="https://webapi.amap.com/maps?v=1.4.15&key=e32064fc8a9dfe7af7d2d0a947b8df32&plugin=AMap.Autocomplete,AMap.PolyEditor,AMap.Geocoder,AMap.PolylineEditor"></script>-->
-<!-- <link href="https://unpkg.com/@wangeditor/editor@5.0.1/dist/css/style.css" rel="stylesheet">-->
-<!-- <script src="https://unpkg.com/@wangeditor/editor@latest/dist/index.js"></script>-->
+ <script src="https://webapi.amap.com/maps?v=1.4.15&key=e32064fc8a9dfe7af7d2d0a947b8df32&plugin=AMap.Autocomplete,AMap.PolyEditor,AMap.Geocoder,AMap.PolylineEditor"></script>
+ <link href="https://unpkg.com/@wangeditor/editor@5.0.1/dist/css/style.css" rel="stylesheet">
+ <script src="https://unpkg.com/@wangeditor/editor@latest/dist/index.js"></script>
<script src="http://gosspublic.alicdn.com/aliyun-oss-sdk-6.17.0.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js" ></script>
<link rel="icon" th:href="@{febs/images/favicon.ico}" type="image/x-icon"/>
@@ -44,7 +44,8 @@
treeSelect: 'lay/extends/treeSelect',
apexcharts: 'lay/extends/apexcharts.min',
eleTree: 'lay/extends/eleTree',
- xmSelect: 'lay/extends/xm-select'
+ xmSelect: 'lay/extends/xm-select',
+ layarea: 'layarea',
}).use(['index']);
</script>
</body>
--
Gitblit v1.9.1