|
|
@ -104,6 +104,7 @@ public class FileServiceImpl implements FileService {
|
|
|
|
public BaseResponse fileDownload(HttpServletRequest request,Map<String,Object> params) {
|
|
|
|
public BaseResponse fileDownload(HttpServletRequest request,Map<String,Object> params) {
|
|
|
|
Map<String, Object> map = dbDao.get("select * from sync_data_set limit 1");
|
|
|
|
Map<String, Object> map = dbDao.get("select * from sync_data_set limit 1");
|
|
|
|
if(map!=null&&map.get("syncIp")!=null) {
|
|
|
|
if(map!=null&&map.get("syncIp")!=null) {
|
|
|
|
|
|
|
|
|
|
|
|
String result = IDCUtils.post(map.get("syncIp").toString()+"/spssync/file/downloadFile", params);
|
|
|
|
String result = IDCUtils.post(map.get("syncIp").toString()+"/spssync/file/downloadFile", params);
|
|
|
|
JSONObject object = JSON.parseObject(result);
|
|
|
|
JSONObject object = JSON.parseObject(result);
|
|
|
|
boolean success = false;
|
|
|
|
boolean success = false;
|
|
|
|