|
@@ -5,7 +5,6 @@ import com.persagy.common.web.MapResponse;
|
|
|
import com.persagy.common.web.ServletUtils;
|
|
|
import com.persagy.dmp.common.http.HttpUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -56,7 +55,7 @@ public class DmpGatewayController {
|
|
|
ServletUtils.writeJson(response, result);
|
|
|
return;
|
|
|
}
|
|
|
- StringBuilder url = new StringBuilder(dmpServers[0]);
|
|
|
+ StringBuilder url = new StringBuilder("http://" + dmpServers[0]);
|
|
|
String uri = request.getRequestURI().replace("/admin/dmp", "");
|
|
|
url.append(uri);
|
|
|
String queryString = request.getQueryString();
|