示例#1
0
 public ActionResult MyLocation(string mylocation, string lnglat)
 {
     try
     {
         SystemLogic.AddMyLocation(GetAuthUserId(), mylocation, lnglat);
         return(Json(new ResultModel(ApiStatusCode.OK)));
     }
     catch (Exception ex)
     {
         LogHelper.Log(string.Format("MyLocation:message:{0},StackTrace:{1}", ex.Message, ex.StackTrace), LogHelperTag.ERROR);
         return(Json(new ResultModel(ApiStatusCode.SERVICEERROR)));
     }
 }