Commit db99d999 authored by liudong1993's avatar liudong1993

订单导出

parent c31c74a1
......@@ -182,7 +182,7 @@ namespace Mall.WebApi.Controllers.MallBase
public ApiResult GetOrderListExportEnumList()
{
var list = EnumHelper.GetEnumList(typeof(OrderListExportEnum));
return ApiResult.Success("", list.OrderBy(x => x.Value).Select(x => new
return ApiResult.Success("", list.Select(x => new
{
Name = x.Key,
Id = Convert.ToInt32(x.Value)
......@@ -481,7 +481,7 @@ namespace Mall.WebApi.Controllers.MallBase
public ApiResult GetOrderListExportForSDEnumList()
{
var list = EnumHelper.GetEnumList(typeof(OrderListExportForSDEnum));
return ApiResult.Success("", list.OrderBy(x => Convert.ToInt32(x.Value)).Select(x => new
return ApiResult.Success("", list.Select(x => new
{
Name = x.Key,
Id = Convert.ToInt32(x.Value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment