public void generateSingleLicense() throws Exception { System.out.println(getRequest().getRequestURL()); System.out.println(getRequest().getServerPort()); }
輸出結果爲spa
http://10.10.3.6:8500/license/generateSingleLicense 8500