Exemplo n.º 1
0
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            EnumPayStatus smsBuyState = (EnumPayStatus)value;

            return(smsBuyState.ToEnumDesc());
        }
Exemplo n.º 2
0
 /// <summary>
 /// 搜索
 /// </summary>
 /// <returns></returns>
 public ActionResult SearchPays(EnumPayStatus? payStatus, DateTime? startTime, DateTime? endTime, string searchKeyword)
 {
     var pl = _payService.SearchPays(null, payStatus, startTime, endTime, base.SearchKeyword, base.OrderName, base.OrderType, base.PageIndex, base.PageSize);
     return JsonResult(pl);
 }