cb3f0b6ac81eec114784ab2b0db8f8416a1ffb04.svn-base 1.46 KB
/**
 * Copyright © 2015-2018 ODM All rights reserved.
 */
package com.thinkgem.jeesite.modules.test.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.thinkgem.jeesite.common.web.BaseController;
import com.thinkgem.jeesite.modules.test.entity.Test;

/**
* @ClassName: TestLodopController 
* @Description: WEB 套打Lodop测试控制类 
* @author xuyg
* @date 2015-10-1 上午10:41:05 
*
 */
@Controller
@RequestMapping(value = "${adminPath}/test/lodoptest")
public class TestLodopController extends BaseController {
 
	
	
	@RequiresPermissions("test:lodoptest:view")
	@RequestMapping(value = {"list", ""})
	public String print(Test test, HttpServletRequest request, HttpServletResponse response, Model model) {
		return "modules/test/Lodop6/lodopindex";
	}
	
	@RequiresPermissions("test:lodoptest:view")
	@RequestMapping(value = {"pageprint"})
	public String pageprint(Test test, HttpServletRequest request, HttpServletResponse response, Model model) {
		return "modules/test/Lodop6/pagelodop";
	}
	
	@RequiresPermissions("test:lodoptest:view")
	@RequestMapping(value = "form")
	public String printform(Test test, Model model) {
		model.addAttribute("test", test);
		return "modules/test/Lodop6/lodopindex";
	}
	
}