Browse Source

Merge branch 'master' into zz12356

zhoufan 9 months ago
parent
commit
a8e8b22115

+ 7 - 0
midware-api/src/main/java/midware/controller/HomeController.java

184
         return result;
184
         return result;
185
     }
185
     }
186
 
186
 
187
+    @GetMapping("/ivr/del/{type}")
188
+    public boolean delIvrXml(@PathVariable Integer type) {
189
+        String key = "ivr:context";
190
+        if (type == 2) key = "ivr:menu";
191
+        return redisHelper.deleteCache(key);
192
+    }
193
+
187
     @GetMapping("/getcode")
194
     @GetMapping("/getcode")
188
     public void GetCode(HttpServletResponse response, CodeInput input) {
195
     public void GetCode(HttpServletResponse response, CodeInput input) {
189
         Map<String, Object> table = SqlRunner.db().selectOne("select table_name,table_comment from information_schema.tables"
196
         Map<String, Object> table = SqlRunner.db().selectOne("select table_name,table_comment from information_schema.tables"