标签:
public String findByAdvertisementSpaceList(@RequestBody AdvertisementDtoIn advertisementDtoIn,HttpServletRequest request){
String contextPath = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+
request.getServerPort()+contextPath+"/";
logger.debug(basePath);// http://localhost:8081
}
标签:
原文地址:http://www.cnblogs.com/liduanwen/p/5527758.html