Commit 7642db0c authored by 鲁鑫's avatar 鲁鑫

11

parent a9ab27ad
package com.huigou.topsun.technology.controller;
import com.huigou.cache.DictUtil;
import com.huigou.cache.SystemCache;
import com.huigou.topsun.sap.common.HttpClient;
import com.huigou.topsun.technology.application.TechnologyApplication;
import com.huigou.topsun.technology.application.TechnologyProcessApplication;
import com.huigou.topsun.technology.domain.query.TechnologyQueryRequest;
......@@ -16,7 +14,6 @@ import org.springframework.stereotype.Controller;
import org.springframework.util.CollectionUtils;
import javax.annotation.Resource;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
......@@ -34,8 +31,6 @@ public class TechnologyController extends CommonController {
private TechnologyApplication technologyApplication;
@Resource
private TechnologyProcessApplication technologyProcessApplication;
@Resource
private HttpClient httpClient;
protected String getPagePath() {
return "/biz/topsun/technology/";
......@@ -141,9 +136,4 @@ public class TechnologyController extends CommonController {
return forward("technologyDetail",technologyVo);
}
public String testSap() throws IOException {
Map<String,Object> map = new HashMap<>();
String execute = httpClient.execute(map, SystemCache.getParameter("sap.service.material.url",String.class));
return success();
}
}
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