using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEAWCS_Core.BaseController;
|
using WIDESEAWCS_Core.Helper;
|
using WIDESEAWCS_ISystemServices;
|
using WIDESEAWCS_Model.Models.ERP;
|
|
namespace WIDESEAWCS_Server.Controllers.ERP
|
{
|
[Route("CHANJET_CHECK.txt")]
|
[ApiController]
|
public class AppTicketController : ApiBaseController<IDt_ERPService, Dt_ERP>
|
{
|
public AppTicketController(IDt_ERPService service) : base(service)
|
{
|
}
|
|
//ERP验证可信域名
|
[HttpPost, HttpGet, AllowAnonymous]
|
public string Reputation()
|
{
|
try
|
{
|
string ERP = AppSettings.Get("ERPAppTicket");
|
return ERP;
|
}
|
catch (Exception ex)
|
{
|
return null;
|
}
|
}
|
}
|
}
|