|
|
@@ -1,25 +0,0 @@
|
|
|
-package jp.yamoto.farm.sankin.web.controller;
|
|
|
-
|
|
|
-import jp.yamoto.farm.common.config.AppConfig;
|
|
|
-import jp.yamoto.farm.common.utils.StringUtils;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
-
|
|
|
-/**
|
|
|
- * Home
|
|
|
- *
|
|
|
- * @author nextosd
|
|
|
- */
|
|
|
-@RestController
|
|
|
-public class SysIndexController
|
|
|
-{
|
|
|
- @Autowired
|
|
|
- private AppConfig appConfig;
|
|
|
-
|
|
|
- @RequestMapping("/")
|
|
|
- public String index()
|
|
|
- {
|
|
|
- return StringUtils.format("Welcome to the {} backend management framework, current version: v {}, please access it through the frontend address.", appConfig.getName(), appConfig.getVersion());
|
|
|
- }
|
|
|
-}
|