public ActionResult GetModel(string id) { var result = new ResultAdaptDto(); var data = _dicApp.GetDicById(id.ToInt64()); result.data.Add("model", data); return(Json(result)); }
/// <summary> /// 获取单个数据 /// </summary> /// <param name="id"></param> /// <returns></returns> public ActionResult GetDicById(string id) { var result = new ResultAdaptDto(); var data = _dicApp.GetDicById(id.ToInt64()); result.data.Add("model", data); //result.Data = _dicApp.GetDicById(id); ////result.statusCodeCode=JuiJsonEnum.Ok; return(Content(result.ToJson())); }