12345678910111213141516171819202122232425 |
- 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<GetProxyDomainListRequest>
- {
- 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<string>() {
- "192.168.0.94","192.168.0"
- };
- return new JsonResult(rslt);
- }
-
- }
- }
|