Authored by qinchao

去掉不用import

@@ -6,7 +6,6 @@ import com.ui.User.UserAuthLocal; @@ -6,7 +6,6 @@ import com.ui.User.UserAuthLocal;
6 import com.ui.contants.HttpUriContants; 6 import com.ui.contants.HttpUriContants;
7 import com.ui.http.HttpRestClient; 7 import com.ui.http.HttpRestClient;
8 import com.ui.model.BaseResponse; 8 import com.ui.model.BaseResponse;
9 -import com.ui.model.Directional;  
10 import com.ui.model.req.AuthModule; 9 import com.ui.model.req.AuthModule;
11 import com.ui.model.req.User; 10 import com.ui.model.req.User;
12 import org.apache.commons.lang.RandomStringUtils; 11 import org.apache.commons.lang.RandomStringUtils;
@@ -19,12 +18,10 @@ import org.springframework.stereotype.Controller; @@ -19,12 +18,10 @@ import org.springframework.stereotype.Controller;
19 import org.springframework.ui.Model; 18 import org.springframework.ui.Model;
20 import org.springframework.web.bind.annotation.RequestMapping; 19 import org.springframework.web.bind.annotation.RequestMapping;
21 import org.springframework.web.bind.annotation.ResponseBody; 20 import org.springframework.web.bind.annotation.ResponseBody;
22 -import org.springframework.web.client.RestTemplate;  
23 import org.springframework.web.servlet.ModelAndView; 21 import org.springframework.web.servlet.ModelAndView;
24 22
25 import javax.servlet.http.HttpServletResponse; 23 import javax.servlet.http.HttpServletResponse;
26 import javax.servlet.http.HttpSession; 24 import javax.servlet.http.HttpSession;
27 -  
28 import java.io.IOException; 25 import java.io.IOException;
29 import java.util.HashMap; 26 import java.util.HashMap;
30 import java.util.List; 27 import java.util.List;
@@ -37,9 +34,6 @@ public class UserCtrl { @@ -37,9 +34,6 @@ public class UserCtrl {
37 Logger log = LoggerFactory.getLogger(UserCtrl.class); 34 Logger log = LoggerFactory.getLogger(UserCtrl.class);
38 35
39 @Autowired 36 @Autowired
40 - private RestTemplate restTemplate;  
41 -  
42 - @Autowired  
43 private HttpRestClient httpRestClient; 37 private HttpRestClient httpRestClient;
44 38
45 @Autowired 39 @Autowired