From e2988c27cb7e250d8834e3097b4821c7dbff6b64 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期二, 31 十二月 2024 13:01:20 +0800 Subject: [PATCH] 1 --- Controllers/QC/LljController.cs | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/Controllers/QC/LljController.cs b/Controllers/QC/LljController.cs index 553b613..67510f1 100644 --- a/Controllers/QC/LljController.cs +++ b/Controllers/QC/LljController.cs @@ -35,6 +35,28 @@ } } + [HttpPost("getBadge")] + public ResponseResult getBadge() + { + try + { + dynamic resultInfos = new ExpandoObject(); + var item = new LljService().getBadge(); + var tbBillList = + resultInfos.tbBillList = item; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + [HttpPost("setJYItem")] public ResponseResult setJYItem([FromBody] JObject data) @@ -94,7 +116,7 @@ dynamic resultInfos = new ExpandoObject(); var tbBillList = new LljService().GetItems(releaseNo, - Convert.ToDecimal(id)); + id); resultInfos.tbBillList = tbBillList; return new ResponseResult { -- Gitblit v1.9.3