Commit e9c1d92c authored by zhoumaotao's avatar zhoumaotao

gpjy

parent 19475690
package com.gavel.kwell.controller;
import com.gavel.common.SystemOperation;
import com.gavel.common.annotation.ResourcePermissions;
import com.gavel.common.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("kmes/gpjy")
public class GpjyController extends BaseController {
@ResourcePermissions()
@RequestMapping("/index")
public String index() {
return "kmes/gpjy/index";
}
@ResourcePermissions({SystemOperation.BottonResource.ADD})
@RequestMapping("/add")
public String add() {
return "kmes/gpjy/edit";
}
@ResourcePermissions({SystemOperation.BottonResource.EDIT})
@RequestMapping("/edit")
public String edit() {
return "kmes/gpjy/edit";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment