public ActionResult Rest() { var q = Request.QueryString.Count == 0 ? Request.Form.Count : Request.QueryString.Count; if (q < 5) return Content("缺少系统级别输入参数"); var init = new Yun.Server.YunRequest(); return Content(init.Execute()); }
public ActionResult Sing() { var init = new Yun.Server.YunRequest(); return Json(init.GetSign(), JsonRequestBehavior.AllowGet); }