Example #1
0
        public JsonResult LoginSuccess(string uuid, string tip)
        {
            string url    = string.Empty;
            var    status = WxLoginCore.LoginSuccess(_repository, _wxFriendsRepository, HttpContext.Response, _authcore, uuid, tip, ref url);

            return(Json(new { status, url }));
        }
Example #2
0
 public JsonResult Initialization(string url)
 {
     WxLoginCore.LoginInitialization(_repository, _wxFriendsRepository, Response, _authcore, url);
     Commit();
     return(Json());
 }
Example #3
0
 public IActionResult QrCode()
 {
     return(View(WxLoginCore.GetWxLoginQrCode()));
 }