protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		Integer type = Integer.valueOf(request.getParameter("type"));
		String packagename  = request.getParameter("packagename");
		Integer lasted_day = 0 ;
		if(type==TYPE_DOWN_SECCESS){
			updateDown(request,response,packagename);
		}
		if(type==TYPE_INSTALL_SECCESS){
			updateInstall(request,response,packagename);
			
		}
		if(type==TYPE_LASTED_DAY){
			lasted_day = Integer.valueOf(request.getParameter("lasted_day"));
			updateLastedDay(request,response,packagename,lasted_day);
		}
	}