From e6ca4a95488e106d948fbc170993e006a4e5d55d Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期四, 05 十二月 2024 08:30:25 +0800 Subject: [PATCH] 消息中心的后台优化 --- 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..44dbfc6 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