Merge pull request 'fixed 根据项目ID查询所属组织标识' (#873) from xxq250/microservices:master into master
This commit is contained in:
commit
43946c05f1
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue