Commit a2fa9b4a authored by Quxl's avatar Quxl

x

parent e14a5a6c
...@@ -22,7 +22,7 @@ public class TestController { ...@@ -22,7 +22,7 @@ public class TestController {
ZMISD009SOCREATIONTask task; ZMISD009SOCREATIONTask task;
private void verify() { private void verify() {
if(profiles.contains("dev")) { if(profiles.contains("pro")) {
throw new RuntimeException("spring.profiles.active=" + profiles + ", The test interface has been closed."); throw new RuntimeException("spring.profiles.active=" + profiles + ", The test interface has been closed.");
} }
} }
...@@ -30,8 +30,6 @@ public class TestController { ...@@ -30,8 +30,6 @@ public class TestController {
@RequestMapping(method = {RequestMethod.GET, RequestMethod.POST}) @RequestMapping(method = {RequestMethod.GET, RequestMethod.POST})
public String list(HttpServletRequest request) { public String list(HttpServletRequest request) {
this.verify(); this.verify();
StringBuffer url = request.getRequestURL();
System.out.println(url);
Map<String, String> map = new LinkedHashMap<String, String>(); Map<String, String> map = new LinkedHashMap<String, String>();
map.put("/", "接口列表"); map.put("/", "接口列表");
map.put("/009_SO_CREATION", "分销商采购(特价采购)订单,EDI平台调用SAP接口上传数据"); map.put("/009_SO_CREATION", "分销商采购(特价采购)订单,EDI平台调用SAP接口上传数据");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment