38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
|
|
namespace Test.Controllers
|
|
{
|
|
public class HomeController : Controller
|
|
{
|
|
public ActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public ActionResult About()
|
|
{
|
|
ViewBag.Message = "Your application description page.";
|
|
|
|
return View();
|
|
}
|
|
|
|
public ActionResult Contact()
|
|
{
|
|
ViewBag.Message = "Your contact page.";
|
|
|
|
return View();
|
|
}
|
|
public ActionResult Test()
|
|
{
|
|
//var rslt = new Test.App_Start.Service().GetData("葛阳涛", "331082199812199231", out string msg);
|
|
//var rslt = new Test.App_Start.Service().GetDataJson("91330203309008473L", out string msg);
|
|
var rslt = new Test.App_Start.Service().GetDataGetPdf("http://59.202.42.251/licensename/elclicencepdf/gsj/yyzz/ML000005f4db2368dc8ef955c0b779ac08431dec.pdf?Expires=1639982748%26OSSAccessKeyId=0WfSZ0dsyQzmfILF%26Signature=48%2FLBhT59UdGJkyvJSldSe3CuFE%3D", "", out string msg);
|
|
ViewBag.Data = rslt;
|
|
return View();
|
|
}
|
|
}
|
|
} |