fix:bug修复
This commit is contained in:
parent
54d1e95474
commit
0e4d702b96
|
@ -7,7 +7,7 @@ import org.springframework.stereotype.Component;
|
|||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@Component
|
||||
@FeignClient("jeecg-system")
|
||||
@FeignClient("jeecg-spectrum")
|
||||
public interface SystemClient {
|
||||
|
||||
/* 获取当前用户信息 */
|
||||
|
|
|
@ -7,6 +7,7 @@ import org.jeecg.modules.entity.data.PointVo;
|
|||
import org.jeecg.modules.entity.data.StationOperation;
|
||||
import org.jeecg.modules.service.IStationOperationService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -16,6 +17,9 @@ import java.util.List;
|
|||
@Api(value = "台站运行管理", tags = "台站运行管理")
|
||||
public class StationOperationController {
|
||||
|
||||
@Value("${map.Url}")
|
||||
private String mapUrl;
|
||||
|
||||
@Autowired
|
||||
private IStationOperationService stationOperationService;
|
||||
|
||||
|
@ -66,4 +70,11 @@ public class StationOperationController {
|
|||
return stationOperationService.getDataProvisionEfficiency();
|
||||
}
|
||||
|
||||
@GetMapping("getMapUrl")
|
||||
@ApiOperation(value = "获取地图地址", notes = "获取地图地址")
|
||||
public Result<?> getMapUrl(){
|
||||
Result<String> result = Result.OK();
|
||||
result.setResult(mapUrl);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,8 +74,8 @@ public class JeecgAutoProcessApplication extends SpringBootServletInitializer im
|
|||
}
|
||||
//校验临时存储目录是否存在
|
||||
checkTemporaryStorageDirectory();
|
||||
// autoProcessManager.start(systemStartupTime,ftpOpierationLock);
|
||||
// undealHandleManager.start(ftpOpierationLock);
|
||||
// autoProcessManager.start(systemStartupTime,ftpOpierationLock);
|
||||
// undealHandleManager.start(ftpOpierationLock);
|
||||
fileSourceHandleManager.start(ftpOpierationLock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user