diff --git a/DataVAPI/Controllers/OrderController.cs b/DataVAPI/Controllers/OrderController.cs index faec277..1d2f0a5 100644 --- a/DataVAPI/Controllers/OrderController.cs +++ b/DataVAPI/Controllers/OrderController.cs @@ -48,6 +48,26 @@ namespace DataVAPI.Controllers } } + /// + /// 折线图 + /// + [HttpGet] + public JsonMsg OrderLine(int Count) + { + st = System.Reflection.MethodBase.GetCurrentMethod().Name; + try + { + FullScreenBasic fullScreen=new FullScreenBasic(); + fullScreen.Count = Count; + object retdata = orderProvider.OrderLine(fullScreen); + return JsonMsg.OK(retdata, st); + } + catch (System.Exception ex) + { + return JsonMsg.Error(null, st, ex.Message); + } + } + /// /// 区域销售 ///