Commit c8824e0c by henry

获取总体业务架构资产数据展示

1 parent e3c9c60f
package org.arch.analysis.controller; package org.arch.analysis.controller;
import lombok.RequiredArgsConstructor;
import org.arch.analysis.serivce.IArchMapService;
import org.arch.base.Result; import org.arch.base.Result;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -9,8 +11,11 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -9,8 +11,11 @@ import org.springframework.web.bind.annotation.RestController;
*/ */
@RestController @RestController
@RequestMapping("/analysis") @RequestMapping("/analysis")
@RequiredArgsConstructor
public class ArchMapController { public class ArchMapController {
private final IArchMapService archMapService;
/** /**
* 总体业务架构资产展示 * 总体业务架构资产展示
* *
......
package org.arch.analysis.serivce; package org.arch.analysis.serivce;
public interface ArchMapService { import org.arch.base.Result;
public interface IArchMapService {
Result getOverAllBusAsset();
} }
package org.arch.analysis.serivce.impl; package org.arch.analysis.serivce.impl;
import org.arch.analysis.serivce.ArchMapService; import org.arch.analysis.serivce.IArchMapService;
import org.arch.base.Result;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@Service @Service
public class ArchMapServiceImpl implements ArchMapService { public class ArchMapServiceImpl implements IArchMapService {
@Override
public Result getOverAllBusAsset() {
return null;
}
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!