@@ -8,6 +8,7 @@ using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Yh.Platform.Abstractions;
|
||||
using Yh.SchClass.OpenApi;
|
||||
using Yh.SchClass.OpenApi.Model;
|
||||
using YhCore.Common;
|
||||
using YhCore.Common.Config;
|
||||
using YhCore.Common.UserContext;
|
||||
@@ -38,12 +39,11 @@ namespace YhCore.WebApi.Controllers.Api.Common
|
||||
}
|
||||
|
||||
|
||||
/// <summary>获取指定字典数据(Type 1~10)。</summary>
|
||||
//[HttpGet("GetSchoolAll")]
|
||||
//public async Task<List<DicOption>> GetSchoolAll([FromQuery] int type = 0)
|
||||
//{
|
||||
// return await _sch.S.GetSchTeaInfoAsync(SchSerID(), null);
|
||||
//}
|
||||
[HttpGet("GetSchoolAll")]
|
||||
public async Task<List<TeaTreeVo>> GetSchoolAll([FromQuery] int type = 0)
|
||||
{
|
||||
return await _sch.SchTree.GetTeaTreeAsync(SchSerID(), null);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -118,9 +118,9 @@ namespace YhCore.WebApi.Controllers.Api.DocPrint
|
||||
|
||||
#region 审核角色流程
|
||||
|
||||
/// <summary>审核流程列表(旧 ListFlow)。</summary>
|
||||
/// <summary>审核流程列表(旧 ListFlow;data 与旧 Data 一致为纯数组,字段大小写原样)。</summary>
|
||||
[HttpGet("ListFlow")]
|
||||
public async Task<PageVO<SHRoleFlowListItem>> ListFlow(
|
||||
public async Task<List<SHRoleFlowListItem>> ListFlow(
|
||||
[FromQuery] string name = null,
|
||||
[FromQuery] int pageSize = 10,
|
||||
[FromQuery] int pageIndex = 0,
|
||||
|
||||
@@ -36,11 +36,11 @@
|
||||
|
||||
<ItemGroup>
|
||||
<!-- 平台基础(Abstractions/AppAuth/Auth/OpenApi + 教务 SDK):从 Nexus nuget-group 引用(原为本地源项目引用) -->
|
||||
<PackageReference Include="Yh.Platform.Abstractions" Version="1.0.0-preview.1" />
|
||||
<PackageReference Include="Yh.Platform.AppAuth" Version="1.0.0-preview.1" />
|
||||
<PackageReference Include="Yh.Platform.Auth" Version="1.0.0-preview.1" />
|
||||
<PackageReference Include="Yh.Platform.OpenApi" Version="1.0.0-preview.1" />
|
||||
<PackageReference Include="Yh.SchClass.OpenApi" Version="1.0.0-preview.1" />
|
||||
<PackageReference Include="Yh.Platform.Abstractions" Version="1.0.0-preview.2" />
|
||||
<PackageReference Include="Yh.Platform.AppAuth" Version="1.0.0-preview.2" />
|
||||
<PackageReference Include="Yh.Platform.Auth" Version="1.0.0-preview.2" />
|
||||
<PackageReference Include="Yh.Platform.OpenApi" Version="1.0.0-preview.2" />
|
||||
<PackageReference Include="Yh.SchClass.OpenApi" Version="1.0.0-preview.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user