src/controller/huanzheController.java

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody; 
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

import Pojo.Guanliyuan;
import Pojo.Huanzhe;
import Pojo.Yisheng;

import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import service.HuanzheService;
import cn.itcast.utils.Page;
@Controller

public class huanzheController {
	
	@Autowired
	private HuanzheService huanzheService;

	
	@RequestMapping("/tohuanzhezhuce")
	public String tohuanzhezhuce(Model model)
	{
		return "yonghu/huanzhezhuce";
	}
	
	@RequestMapping("/tohuanzhedenglu")
	public String tohuanzhedenglu(Model model)
	{
		return "yonghu/huanzhedenglu";
	}
	@RequestMapping("/toupdatehuanzhemima")
	public String toupdatehuanzhemima(Model model)
	{
		return "yonghu/updatehuanzhemima";
	}
	
	@RequestMapping("/tohuanzhexiugai")
	public String tohuanzhexiugai(Model model)
	{
		return "yonghu/huanzhexiugai";
	}
	
	@RequestMapping("/huanzhetuichu")
	public String huanzhetuichu(HttpSession httpSession,HttpServletRequest req)
	{
		req.getSession().setAttribute("huanzhe", null);
		return "redirect:toyonghuindex.action";
	}
后面还有 96 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。