/**
 * Project Name:tuia-youtui-web File Name:HeartBeatController.java Package Name:com.duiba.tuia.youtui.web.controller
 * Date:2017年3月15日下午2:10:13 Copyright (c) 2017, duiba.com.cn All Rights Reserved.
 */

package com.duiba.tuia.youtui.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * ClassName:HeartBeatController <br/>
 * Function: 心跳检测Controller. <br/>
 * Date: 2017年3月15日 下午2:10:13 <br/>
 * 
 * @author cdm
 * @version
 * @since JDK 1.7
 * @see
 */
@Controller
@RequestMapping("/test")
public class HeartBeatController {

    private static String HEART_BEAT_INFO = "success";

    /**
     * heartBeat:检测心跳. <br/>
     * 
     * @author cdm
     * @return
     * @since JDK 1.7
     */
    @ResponseBody
    @RequestMapping(value = "/heartBeat")
    public String heartBeat() {
        return HEART_BEAT_INFO;
    }
    
}
