You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					23 lines
				
				764 B
			
		
		
			
		
	
	
					23 lines
				
				764 B
			| 
								 
											3 years ago
										 
									 | 
							
								package com.ynxbd.wx.ext.bi;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import com.ynxbd.wx.ext.bean.ExtServerEnum;
							 | 
						||
| 
								 | 
							
								import com.ynxbd.common.helper.common.ProxyHelper;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import javax.servlet.ServletException;
							 | 
						||
| 
								 | 
							
								import javax.servlet.annotation.WebServlet;
							 | 
						||
| 
								 | 
							
								import javax.servlet.http.HttpServlet;
							 | 
						||
| 
								 | 
							
								import javax.servlet.http.HttpServletRequest;
							 | 
						||
| 
								 | 
							
								import javax.servlet.http.HttpServletResponse;
							 | 
						||
| 
								 | 
							
								import java.io.IOException;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								@WebServlet("/api/config/getConfig")
							 | 
						||
| 
								 | 
							
								public class GetConfig extends HttpServlet {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    @Override
							 | 
						||
| 
								 | 
							
								    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
							 | 
						||
| 
								 | 
							
								        ProxyHelper.get("http://127.0.0.1:8000/config/getConfig",
							 | 
						||
| 
								 | 
							
								                ExtServerEnum.BI_SERVER.IP, ExtServerEnum.BI_SERVER.PORT, req, resp);
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								}
							 |