MESApplication/Controllers/PLM/PLMController.cs
@@ -122,4 +122,25 @@ }); } } //RetrieveDrawings 调取图纸 [HttpGet("OpenDrawingsGet")] public IActionResult OpenDrawingsGet(string fileId, string fName) { try { var resultInfos = wdd.SendRequest("Download", fileId); return File(resultInfos, "application/octet-stream", fName); } catch (Exception ex) { return StatusCode(500, new ResponseResult { status = 1, message = ex.Message, data = null }); } } }