zjh
2025-03-07 97a73035e8391fb60cdb26c00f7ff8b05296c68c
StandardPda/MESApplication/Controllers/QC/LljController.cs
@@ -273,27 +273,37 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    //IqcQaSubmit
    [HttpPost("GetFileUrlByU9List")]
    public ResponseResult GetFileUrlByU9List(LLJDto rkjDto)
    public async Task<ResponseResult> GetFileUrlByU9List([FromBody] JObject data)
    {
        try
        {
            //dynamic resultInfos = new ExpandoObject();
            //var tbBillList =
            //    new LljService().IqcQaSubmit(rkjDto);
            //resultInfos.tbBillList = tbBillList;
            string[] fileUrls =
 {
    "https://new-service.oss-cn-hangzhou.aliyuncs.com/sheet-attachment/1728624575152_ty5VSi9R.png",
    "https://new-service.oss-cn-hangzhou.aliyuncs.com/sheet-attachment/1728624610583_EwIN55BL.pdf"
};
            return new ResponseResult
            var type = data["type"]?.ToString();
            var itemID = data["u9No"]?.ToString();
            dynamic resultInfos = new ExpandoObject();
            var lljService = new LljService();
            var tbBillList = await lljService.GetFileUrlByU9List(type, itemID);
            if (tbBillList!=null)
            {
                status = 0,
                message = "OK",
                data = fileUrls
            };
                return new ResponseResult
                {
                    status = 0,
                    message = "OK",
                    data = tbBillList
                };
            }
            else
            {
                return new ResponseResult
                {
                    status = 0,
                    message = "OK",
                    data = ""
                };
            }
        }
        catch (Exception ex)
        {