Sfoglia il codice sorgente

Merge branch 'master' into zz12356

zhoufan 9 mesi fa
parent
commit
a8e8b22115

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

@@ -184,6 +184,13 @@ public class HomeController extends BaseController {
184 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 194
     @GetMapping("/getcode")
188 195
     public void GetCode(HttpServletResponse response, CodeInput input) {
189 196
         Map<String, Object> table = SqlRunner.db().selectOne("select table_name,table_comment from information_schema.tables"