Authored by qinchao

去掉不用import

1 package com.ui.ctrl; 1 package com.ui.ctrl;
2 2
3 import com.alibaba.fastjson.JSON; 3 import com.alibaba.fastjson.JSON;
4 -import com.alibaba.fastjson.JSONObject;  
5 import com.ui.contants.HttpUriContants; 4 import com.ui.contants.HttpUriContants;
6 import com.ui.http.HttpRestClient; 5 import com.ui.http.HttpRestClient;
7 import com.ui.model.BaseResponse; 6 import com.ui.model.BaseResponse;
8 import com.ui.model.req.JavaApiHisReq; 7 import com.ui.model.req.JavaApiHisReq;
9 import com.ui.model.req.JavaApiInfoReq; 8 import com.ui.model.req.JavaApiInfoReq;
10 -import com.ui.model.req.JavaApiStatusListReq;  
11 import com.ui.model.req.JavaApiStatusReq; 9 import com.ui.model.req.JavaApiStatusReq;
12 import org.apache.commons.lang.StringUtils; 10 import org.apache.commons.lang.StringUtils;
13 import org.slf4j.Logger; 11 import org.slf4j.Logger;
@@ -15,13 +13,11 @@ import org.slf4j.LoggerFactory; @@ -15,13 +13,11 @@ import org.slf4j.LoggerFactory;
15 import org.springframework.beans.factory.annotation.Autowired; 13 import org.springframework.beans.factory.annotation.Autowired;
16 import org.springframework.stereotype.Controller; 14 import org.springframework.stereotype.Controller;
17 import org.springframework.ui.Model; 15 import org.springframework.ui.Model;
18 -import org.springframework.web.bind.annotation.RequestBody;  
19 import org.springframework.web.bind.annotation.RequestMapping; 16 import org.springframework.web.bind.annotation.RequestMapping;
20 import org.springframework.web.bind.annotation.RequestParam; 17 import org.springframework.web.bind.annotation.RequestParam;
21 import org.springframework.web.bind.annotation.ResponseBody; 18 import org.springframework.web.bind.annotation.ResponseBody;
22 import org.springframework.web.servlet.ModelAndView; 19 import org.springframework.web.servlet.ModelAndView;
23 20
24 -import java.util.ArrayList;  
25 import java.util.HashMap; 21 import java.util.HashMap;
26 import java.util.List; 22 import java.util.List;
27 import java.util.Map; 23 import java.util.Map;
@@ -492,7 +492,6 @@ @@ -492,7 +492,6 @@
492 var div = $("<div>"); 492 var div = $("<div>");
493 var hisBtn = $("<button>").addClass("btn btn-xs btn-success").html("历史").appendTo(div); 493 var hisBtn = $("<button>").addClass("btn btn-xs btn-success").html("历史").appendTo(div);
494 hisBtn.click(function () { 494 hisBtn.click(function () {
495 -// window.open(contextPath + "jsp/javaapi/javaApihis.jsp?api_id=" + rowData.serviceId);  
496 window.open(contextPath + "jsp/javaapi/javaApihis.jsp?api_id=" + rowData.serviceId, '历史信息', 'height=800, width=1400, top=200, left=200, toolbar=no, menubar=no,location=no, status=no') 495 window.open(contextPath + "jsp/javaapi/javaApihis.jsp?api_id=" + rowData.serviceId, '历史信息', 'height=800, width=1400, top=200, left=200, toolbar=no, menubar=no,location=no, status=no')
497 }); 496 });
498 div.append("&nbsp;"); 497 div.append("&nbsp;");