From c2695eea1764a5a96a2b561f39a761d5690f3ae4 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期六, 17 八月 2024 15:58:08 +0800
Subject: [PATCH] 代码提交

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

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java
index b0c49e1..b19e461 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java
@@ -62,6 +62,9 @@
             "11=开票说明")
     public R<String> getInfo(Integer type) {
         THtml g = htmlService.getOne(new QueryWrapper<THtml>().eq("type",type));
+        if (g == null){
+            return R.ok("");
+        }
         return R.ok(g.getContent());
     }
     @GetMapping("/saveInfo")

--
Gitblit v1.7.1