using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Winsoft.GOV.XF.WebApi.WXCore.Filters; using Senparc.Weixin.MP.CoreMvcExtension; // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace Winsoft.GOV.XF.WebApi.WXCore.Controllers { public class HomeController : Controller { // GET: // [WeixinInternalRequest("访问被拒绝,请通过微信客户端访问!", "nofilter")] [WXOAuth(appId: null, oauthCallbackUrl: "/api/Auth")] public IActionResult Index() { return Redirect("/dist/web12345/index.html"); //return View(); } } }