From 1a912819dfedad2ca9f2f31522db9b3f58a30716 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 02 九月 2021 10:18:54 +0800 Subject: [PATCH] 邻里圈改版接口 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/SysConfApi.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/SysConfApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/SysConfApi.java index a3e5b47..5279cd7 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/SysConfApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/SysConfApi.java @@ -27,4 +27,14 @@ } return R.ok(value); } + + @GetMapping("getSysConfValue") + public R getSysConfValue(@RequestParam("key") String key,@RequestParam("communityId") Long communityId) { + return sysConfService.getSysConfValue(key,communityId); + } + + @GetMapping("addSysConfValue") + public R addSysConfValue(@RequestParam("key") String key,@RequestParam("communityId") Long communityId,@RequestParam("name") String name,@RequestParam("value") String value) { + return sysConfService.addSysConfValue(key,communityId,name,value); + } } -- Gitblit v1.7.1