using LJProxy.LJLib.Net.SPI.Server; using LJProxy.Models; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LJProxy.Excutor { public class GetProxyDomainListExcutor : ExcutorBase { protected override IActionResult ExcuteInternal(GetProxyDomainListRequest request, object state) { GetProxyDomainListResponse rslt = new GetProxyDomainListResponse(); rslt.ErrMsg = ""; //TODO:get domain list from config file? rslt.DomainList = new List() { "192.168.0.94","192.168.0" }; return new JsonResult(rslt); } } }