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;

/**
 * The Class HomeCtrl.
 */
@Controller
public class HomeCtrl {

    /** The Constant MSG_INDEX. */
    private static final String MSG_INDEX = "welcome tuia-youtui-web";

    /**
     * index:(这里用一句话描述这个方法的作用). <br/>
     *
     * @return the string
     */
    @RequestMapping(value = "/")
    @ResponseBody
    public String index() {
        return MSG_INDEX;
    }

}