Parcourir la source

获取APP推广视频

wjj il y a 1 jour
Parent
commit
a731ed74e4

+ 26 - 0
fs-user-app/src/main/java/com/fs/app/controller/SysConfigController.java

@@ -0,0 +1,26 @@
+package com.fs.app.controller;
+
+import com.fs.common.core.domain.R;
+import com.fs.his.param.FsDiagnosisListDParam;
+import com.fs.system.service.ISysConfigService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+
+@RestController
+@RequestMapping("/app/sysConfig")
+public class SysConfigController {
+
+    @Autowired
+    private ISysConfigService sysConfigService;
+
+
+    //获取APP推广信息
+    @GetMapping("/getAppPromotion")
+    public R getAppPromotion(FsDiagnosisListDParam param){
+        String selectConfigByKey = sysConfigService.selectConfigByKey("app.config");
+        return R.ok().put("data", selectConfigByKey);
+    }
+}