|
@@ -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);
|
|
|
+ }
|
|
|
+}
|