示例#1
0
 public JsonResult GetAliLoginUrl()
 {
     try
     {
         return(Json(new { IsSuccess = true, Result = AliUtil.GetAuthUrl() }));
     }
     catch (Exception ee)
     {
         return(Json(new { IsSuccess = false, ErrorMsg = "出错了" }));
     }
 }
 public JsonResult GetAuthUrl()
 {
     return(Json(new { IsSuccess = true, Result = AliUtil.GetAuthUrl() }));
 }