Browse Source

非debug模式下隐藏Login接口

develop
胡超1 2 years ago
parent
commit
c8086277e9
  1. 10
      24Hour/Controllers/LoginController.cs

10
24Hour/Controllers/LoginController.cs

@ -23,11 +23,15 @@ using System.Security.Claims;
using System.Text;
namespace _24Hour.Controllers
{
{
/// <summary>
/// 怬
/// </summary>
// [HiddenApi]
#if DEBUG
#else
[HiddenApi]
#endif
[ApiController]
[Route("api/APP")]
public class LoginController : ControllerBase
@ -447,7 +451,7 @@ namespace _24Hour.Controllers
cardIdphoto = date.cardIdphoto,
departmentName = date.departmentName,
identitycardId = date.identitycardId,
departmentSCC= date.departmentUnifiedSocialCreditCode
departmentSCC = date.departmentUnifiedSocialCreditCode
};
#endregion
ret.IsSucceed = true;

Loading…
Cancel
Save