zhanghonglin
3 小时以前 1e6a3ce80c38124fe8750f59956528204e696d4e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
            }
        }
    }
}