Commit cf1b4d37 by wangli

url重命名

1 parent f6c75fdf
......@@ -64,12 +64,12 @@ public class BusinessBlockController {
* @param id 服务区块ID
* @return
*/
@PostMapping("/business/service/block/delete")
public Result<?> businessServiceBlockDelete(@RequestParam String id) {
@PostMapping("/business/service/block/remove")
public Result<?> businessServiceBlockRemove(@RequestParam String id) {
// 删除服务范围
Result<?> res = null;
try{
res = businessBlockService.businessServiceBlockDelete(id);
res = businessBlockService.businessServiceBlockRemove(id);
} catch (BusinessException e){
return Result.failed(e.getMessage());
}
......
......@@ -8,7 +8,7 @@ public interface BusinessBlockService {
Result<?> businessServiceBlockAdd(String layerId, String teamId);
Result<?> businessServiceBlockDelete(String blockId);
Result<?> businessServiceBlockRemove(String blockId);
Result<?> saasBaseDataLayerUrl(String blockId);
}
......@@ -114,7 +114,7 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
}
@Override
public Result<?> businessServiceBlockDelete(String blockId) throws BusinessException{
public Result<?> businessServiceBlockRemove(String blockId) throws BusinessException{
MapBlockInfo block = mapBlockInfoMPDao.getByBlockId(blockId);
if(block == null) {
throw new BusinessException("区块不存在");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!