예제 #1
0
        public HttpResponseMessage GetDictionarysByType(string groupKey)
        {
            var list = _dataDictionaryService.GetDictionarysByKey(groupKey).Select(s => new { label = s.SingleOptionValue.ToString(), value = s.SingleOptionLabel.ToString() }).OrderBy(s => s.value);

            return(toJson(list, OperatingState.Success, "获取成功"));
        }