Example #1
0
 /// <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;
     }
 }
Example #2
0
 // GET: Home
 public ActionResult Index()
 {
     try
     {
         ViewBag.WXLoginUrl = UrlStr.WXLoginUrl();
         return(View());
     }
     catch (Exception)
     {
         throw;
     }
 }