Ejemplo n.º 1
0
        public async Task <ActionResult> GetLikes(string number)
        {
            try
            {
                var res = await _appointmentContract.GetLikes(number);

                return(Json(res, JsonRequestBehavior.AllowGet));
            }
            catch (Exception)
            {
                return(Json(OperationResult.Error("系统错误"), JsonRequestBehavior.AllowGet));
            }
        }