From 4026d3b8306b105de3eabace862acaf9656d3e1f Mon Sep 17 00:00:00 2001
From: wtp <1813748440@qq.com>
Date: Fri, 8 Dec 2023 23:50:05 +0800
Subject: [PATCH] 1
---
GDZZ.Application/Service/Company/CompanyService.cs | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/GDZZ.Application/Service/Company/CompanyService.cs b/GDZZ.Application/Service/Company/CompanyService.cs
index c93b24a..382e2b3 100644
--- a/GDZZ.Application/Service/Company/CompanyService.cs
+++ b/GDZZ.Application/Service/Company/CompanyService.cs
@@ -74,16 +74,15 @@ namespace GDZZ.Application
///
- /// 获取公司属性
+ /// 获取公司详情
///
///
///
[HttpGet("/Mini/Company/Detail")]
public async Task Get()
{
- //获取公司相关的招聘信息
- return await _rep.FirstOrDefaultAsync(u => u.Id == UserManager.UserId);
+ return await _rep.FirstOrDefaultAsync(u => u.CreatedUserId == UserManager.UserId);
}
///