This commit is contained in:
wanghu
2026-09-02 10:52:13 +08:00
parent 9938260704
commit 117b58359b
5 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
<ItemGroup>
<Reference Include="Yh.Platform.Abstractions">
<HintPath>..\..\..\Library\Yh.Platform.Abstractions.dll</HintPath>
<HintPath>..\..\..\yunhai.netcore.tool\BasePlatformDotnet\src\Yh.Platform.Abstractions\bin\Debug\net5.0\Yh.Platform.Abstractions.dll</HintPath>
</Reference>
</ItemGroup>
+2 -2
View File
@@ -23,11 +23,11 @@
<ItemGroup>
<!-- 业务异常 DException / ErrorCode / IErrorCode -->
<Reference Include="Yh.Platform.Abstractions">
<HintPath>..\..\..\Library\Yh.Platform.Abstractions.dll</HintPath>
<HintPath>..\..\..\yunhai.netcore.tool\BasePlatformDotnet\src\Yh.Platform.Abstractions\bin\Debug\net5.0\Yh.Platform.Abstractions.dll</HintPath>
</Reference>
<!-- 教务(SchClass)开放接口 SDK:教师/学校查询(C1 reviewprocess 教师类接口) -->
<Reference Include="Yh.SchClass.OpenApi">
<HintPath>..\..\..\Library\Yh.SchClass.OpenApi.dll</HintPath>
<HintPath>..\..\..\yunhai.netcore.tool\BasePlatformDotnet\src\Yh.SchClass.OpenApi\bin\Debug\net5.0\Yh.SchClass.OpenApi.dll</HintPath>
</Reference>
</ItemGroup>
-1
View File
@@ -210,7 +210,6 @@ namespace YhCore.WebApi
await context.Response.WriteAsync("未登录(SSO 未开启或 Cookie 失效)");
return;
}
var name = user.Identity?.Name ?? "-";
var id = user.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier)?.Value ?? "-";
var school = user.FindFirst("schoolname")?.Value ?? "-";
+5 -5
View File
@@ -33,19 +33,19 @@
<ItemGroup>
<Reference Include="Yh.Platform.Abstractions">
<HintPath>..\..\..\Library\Yh.Platform.Abstractions.dll</HintPath>
<HintPath>..\..\..\yunhai.netcore.tool\BasePlatformDotnet\src\Yh.Platform.Abstractions\bin\Debug\net5.0\Yh.Platform.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Yh.Platform.AppAuth">
<HintPath>..\..\..\Library\Yh.Platform.AppAuth.dll</HintPath>
<HintPath>..\..\..\yunhai.netcore.tool\BasePlatformDotnet\src\Yh.Platform.AppAuth\bin\Debug\net5.0\Yh.Platform.AppAuth.dll</HintPath>
</Reference>
<Reference Include="Yh.Platform.Auth">
<HintPath>..\..\..\Library\Yh.Platform.Auth.dll</HintPath>
<HintPath>..\..\..\yunhai.netcore.tool\BasePlatformDotnet\src\Yh.Platform.Auth\bin\Debug\net5.0\Yh.Platform.Auth.dll</HintPath>
</Reference>
<Reference Include="Yh.Platform.OpenApi">
<HintPath>..\..\..\Library\Yh.Platform.OpenApi.dll</HintPath>
<HintPath>..\..\..\yunhai.netcore.tool\BasePlatformDotnet\src\Yh.Platform.OpenApi\bin\Debug\net5.0\Yh.Platform.OpenApi.dll</HintPath>
</Reference>
<Reference Include="Yh.SchClass.OpenApi">
<HintPath>..\..\..\Library\Yh.SchClass.OpenApi.dll</HintPath>
<HintPath>..\..\..\yunhai.netcore.tool\BasePlatformDotnet\src\Yh.SchClass.OpenApi\bin\Debug\net5.0\Yh.SchClass.OpenApi.dll</HintPath>
</Reference>
</ItemGroup>
Binary file not shown.