Commit bbff672d authored by 吴春's avatar 吴春

提交代码

parent a41fb90b
...@@ -1696,6 +1696,22 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -1696,6 +1696,22 @@ namespace Mall.WebApi.Controllers.MallBase
bool flag = guideCarModule.SetGoodsCommentInfo_V2(list); bool flag = guideCarModule.SetGoodsCommentInfo_V2(list);
if (flag) { return ApiResult.Success(); } else { return ApiResult.Failed(); } if (flag) { return ApiResult.Success(); } else { return ApiResult.Failed(); }
} }
/// <summary>
/// 获取司导订单状态枚举
/// </summary>
/// <returns></returns>
[HttpPost]
public ApiResult GuidCarOrderStatusEnumList()
{
var list = EnumHelper.GetEnumList(typeof(GuidCarOrderStatusEnum));
return ApiResult.Success("", list.OrderBy(x => Convert.ToInt32(x.Value)).Select(x => new
{
Name = x.Key,
Id = Convert.ToInt32(x.Value)
}));
}
#endregion #endregion
} }
} }
\ No newline at end of file
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