fix 配置错误
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
using Dlhis.Basic.Organization.Response;
|
using Dlhis.Basic.Organization.Response;
|
||||||
using Dlhis.Basic.Organization.Services;
|
using Dlhis.Basic.Organization.Services;
|
||||||
using Kurisu.AspNetCore.MVC;
|
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
@@ -10,7 +9,6 @@ namespace Dlhis.Basic.Organization.Controllers;
|
|||||||
/// sap部门
|
/// sap部门
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Authorize]
|
[Authorize]
|
||||||
[ApiDefinition("SAP", Description = "晶科sap组织架构信息")]
|
|
||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
public class DepartmentsController : ControllerBase
|
public class DepartmentsController : ControllerBase
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
using Dlhis.Basic.Organization.Response;
|
using Dlhis.Basic.Organization.Response;
|
||||||
using Dlhis.Basic.Organization.Services;
|
using Dlhis.Basic.Organization.Services;
|
||||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
||||||
using Kurisu.AspNetCore.MVC;
|
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
@@ -12,7 +11,6 @@ namespace Dlhis.Basic.Organization.Controllers;
|
|||||||
/// 档案分组
|
/// 档案分组
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Authorize]
|
[Authorize]
|
||||||
[ApiDefinition("SAP", Description = "晶科sap组织架构信息")]
|
|
||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
public class GainfoGroupsController : ControllerBase
|
public class GainfoGroupsController : ControllerBase
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
using Dlhis.Basic.Organization.Request;
|
using Dlhis.Basic.Organization.Request;
|
||||||
using Dlhis.Basic.Organization.Response;
|
using Dlhis.Basic.Organization.Response;
|
||||||
using Dlhis.Basic.Organization.Services;
|
using Dlhis.Basic.Organization.Services;
|
||||||
using Kurisu.AspNetCore.MVC;
|
|
||||||
using Kurisu.Core.DataAccess.Dto;
|
using Kurisu.Core.DataAccess.Dto;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
@@ -13,7 +12,6 @@ namespace Dlhis.Basic.MealUser.Controllers;
|
|||||||
/// sap档案表
|
/// sap档案表
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Authorize]
|
[Authorize]
|
||||||
[ApiDefinition("SAP", Description = "晶科sap组织架构信息")]
|
|
||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
public class GainfosController : ControllerBase
|
public class GainfosController : ControllerBase
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
using Dlhis.Basic.Organization.Services;
|
using Dlhis.Basic.Organization.Services;
|
||||||
using Dlhis.Sys.Api.Response;
|
using Dlhis.Sys.Api.Response;
|
||||||
using Kurisu.AspNetCore.MVC;
|
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
@@ -10,7 +9,6 @@ namespace Dlhis.Basic.Organization.Controllers;
|
|||||||
/// sap人事范围 tenant
|
/// sap人事范围 tenant
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Authorize]
|
[Authorize]
|
||||||
[ApiDefinition("SAP", Description = "晶科sap组织架构信息")]
|
|
||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
public class WerksController : ControllerBase
|
public class WerksController : ControllerBase
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"Routes": [
|
"Routes": [
|
||||||
{
|
{
|
||||||
"ServiceName": "basic",
|
|
||||||
"UpstreamPathTemplate": "/api/basic/{url}",
|
"UpstreamPathTemplate": "/api/basic/{url}",
|
||||||
"UpstreamHttpMethod": [ "Get", "Post" ],
|
"UpstreamHttpMethod": [ "Get", "Post" ],
|
||||||
"DownstreamPathTemplate": "/api/{url}",
|
"DownstreamPathTemplate": "/api/{url}",
|
||||||
@@ -15,6 +14,5 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"GlobalConfiguration": {
|
"GlobalConfiguration": {
|
||||||
//"BaseUrl": "http://localhost:5000"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user