diff --git a/GDZZ.Application/GDZZ.Application.xml b/GDZZ.Application/GDZZ.Application.xml index 2a7cdc7..eaac283 100644 --- a/GDZZ.Application/GDZZ.Application.xml +++ b/GDZZ.Application/GDZZ.Application.xml @@ -1853,7 +1853,7 @@ - 获取公司属性 + 获取公司详情 diff --git a/GDZZ.Application/Service/Company/CompanyService.cs b/GDZZ.Application/Service/Company/CompanyService.cs index 382e2b3..3ab1d51 100644 --- a/GDZZ.Application/Service/Company/CompanyService.cs +++ b/GDZZ.Application/Service/Company/CompanyService.cs @@ -81,7 +81,6 @@ namespace GDZZ.Application [HttpGet("/Mini/Company/Detail")] public async Task Get() { - return await _rep.FirstOrDefaultAsync(u => u.CreatedUserId == UserManager.UserId); }