DashboardCtrl.java
857 Bytes
package com.ui.ctrl;
import com.ui.User.MD5Util;
import com.ui.User.UserAuthLocal;
import com.ui.http.HttpRestClient;
import com.ui.model.req.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpSession;
@Controller
@RequestMapping("dashboard")
public class DashboardCtrl {
@RequestMapping("/toDashboard")
public ModelAndView toDashboard() {
return new ModelAndView("dashBoard/dashBoard");
}
@RequestMapping("/toOthers")
public ModelAndView toOthers() {
return new ModelAndView("dashBoard/others");
}
}