url : 'rest/rent/reset',
method:'POST',
params:{
event : key,
status : value
},
success:function(response){
},
failure:function(){
}
});
@Path("/reset") @POST @Consumes(MediaType.APPLICATION_FORM_URLENCODED) /* 取消按钮,重置event */ public ExtJSResponse reset(final @FormParam("eventID") String eventID,final @FormParam("status") Integer status) throws Exception { return enService.resetEvent(eventID,status); }
原文链接:https://www.f2er.com/ajax/164357.html