mapgis启动和暂停服务

mapgis的启动调用服务可以在其他项目中调用吗?

@PreAuthorize("hasAuthority('igs_service:startStop')")
/*     */   @PostMapping({"/start"})
/*     */   public Result startService(@RequestParam("id") long id, @RequestParam("serviceName") String serviceName) {
/* 509 */     Result<ServicePubItem> result = null;
/*     */     try {
/* 511 */       result = this.serviceHubComponent.startService(id);
/* 512 */       return result;
/* 513 */     } catch (Exception e) {
/* 514 */       return Result.builder().msg("启动服务失败:" + e.getMessage()).build();
/*     */     } finally {
/* 516 */       this.operationLogService.addOperationLog(OperationLogType.SERVICE.getValue(), OperationLogOperType.START.getValue(), serviceName, (result != null) ? result.getCode() : 0);
/*     */     } 
/*     */   }

img

已反编译成功找到调用启动,暂停服务的代码。
在其他web中调用启动和暂停服务的按钮功能。

可以