Merge pull request 'fixed 根据项目ID查询所属组织标识' (#873) from xxq250/microservices:master into master

This commit is contained in:
xxq250 2025-05-20 10:09:21 +08:00
commit 43946c05f1
1 changed files with 3 additions and 3 deletions

View File

@ -162,10 +162,10 @@ public class PmsEnterpriseController extends BaseController
}
/**
* 通过组织标识获取工作台访问地址未开通返回null
* 根据项目ID查询所属组织标识
*/
@GetMapping("/getEnterpriseIdentifierByProjectId")
@ApiOperation(value = "通过组织标识获取工作台访问地址未开通返回null")
@GetMapping("/getEnterpriseIdentifierByProjectId/{projectId}")
@ApiOperation(value = "根据项目ID查询所属组织标识")
public GenericsAjaxResult<String> getEnterpriseIdentifierByProjectId(
@ApiParam(name = "projectId", value = "项目Id") @PathVariable Long projectId) {
return genericsSuccess(pmsEnterpriseService.getEnterpriseByProjectId(projectId).getEnterpriseIdentifier());