HystrixCtrl.java
574 Bytes
package com.ui.ctrl;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
/**
* 查看hystrix数据页面
*
* Created by yoho on 2016/7/21.
*/
@Controller
@RequestMapping("hystrix")
public class HystrixCtrl {
@RequestMapping("/aws")
public ModelAndView toAWS() {
return new ModelAndView("hystrix/aws");
}
@RequestMapping("/qcloud")
public ModelAndView toQCloud() {
return new ModelAndView("hystrix/qcloud");
}
}