/// <summary>
 /// 根据代码获取字典树
 /// </summary>
 /// <param name="code"></param>
 /// <returns></returns>
 public async Task <JsonResult> GetDictionaryTreeByCode(string code)
 {
     return(JsonForZtree((await _dictionaryLogic.GetDictionaryTreeByCode(code)).ToList()));
 }
Exemple #2
0
 /// <summary>
 ///     根据代码获取字典树
 /// </summary>
 /// <param name="code"></param>
 /// <returns></returns>
 public async Task <JsonResult> GetDictionaryTreeByCode(string code)
 {
     return(Json(await _dictionaryLogic.GetDictionaryTreeByCode(code.Replace(" ", ""))));
 }