|
|
package com.monitor.other.bigdata.ctrl;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
/**
|
|
|
* Created by craig.qin
|
|
|
*/
|
|
|
@Controller
|
|
|
@RequestMapping("/bigdata")
|
|
|
public class BigdataCtrl {
|
|
|
|
|
|
@Value("${bigdata.web.url}")
|
|
|
private String accessUrl;
|
|
|
|
|
|
/**
|
|
|
* 获取访问url
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping("/getAccessUrl")
|
|
|
@ResponseBody
|
|
|
public String getAccessUrl() {
|
|
|
return accessUrl;
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|