/// <summary> /// 链接 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void LinkButton1_Click(object sender, EventArgs e) { try { Response.Redirect(UrlStr.WXLoginUrl()); } catch (Exception) { throw; } }
// GET: Home public ActionResult Index() { try { ViewBag.WXLoginUrl = UrlStr.WXLoginUrl(); return(View()); } catch (Exception) { throw; } }