public ActionResult Index() { CurrentUrl = Request.Url.ToString(); string url = ViewBag.S_url = CurrentUrl; string second = ViewBag.S_Second = getSeconds().ToString(); string ticket = ViewBag.JsApiTicket = Js_Engin.JsApiTicket; string noncestr = ViewBag.S_noncestr = JSBaseEngin.getMD5Str(second); string signature = ViewBag.signature = get_jssdk_signature(ticket, noncestr, second, url).ToLower(); return(View()); }