文件名从 MESApplication/Controllers/BasicData/ProductionOrderController.cs 修改 |
| | |
| | | 锘縰sing MES.Service.Dto.webApi; |
| | | using MES.Service.Dto.webApi.DeliveryNote; |
| | | using MES.Service.Dto.webApi.ProductionOrder; |
| | | using MES.Service.Modes; |
| | | using MES.Service.Modes.ProductionOrder; |
| | | using MES.Service.Modes.QcIssueResult; |
| | | using MES.Service.service; |
| | | using MES.Service.service.ProductionOrder; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json; |
| | |
| | | using System.Diagnostics; |
| | | using System.Dynamic; |
| | | |
| | | namespace MESApplication.Controllers.BasicData; |
| | | namespace MESApplication.Controllers.ProductionOrder; |
| | | |
| | | [ApiController] |
| | | [Route("api/ProductionOrder")] |
| | |
| | | } |
| | | |
| | | [HttpPost("GetFileUrl")] |
| | | public IActionResult StartGetUrl() { |
| | | public IActionResult StartGetUrl(string imageUrl) |
| | | { |
| | | |
| | | try |
| | | { |
| | | // 璋冪敤 QcIssueResultManager 涓殑 GetProcessNo 鏂规硶鏉ュ惎鍔ㄩ拤閽夊伐浣滄祦瀹炰緥 |
| | | string result = m.GetFileUrl(); |
| | | |
| | | //string result = m.GetSpaceId(); |
| | | //ResultDataAndSpaceId resultData = JsonConvert.DeserializeObject<ResultDataAndSpaceId>(result); |
| | | //string SpaceId = resultData.Result.SpaceId; |
| | | //string result = m.GetPermissions(); |
| | | |
| | | //string jsonPart = result.Substring(result.IndexOf("{")); |
| | | //Debug.WriteLine(jsonPart); |
| | |
| | | ////var save = m.SaveProcessNo(ReleaseNo, instanceId); |
| | | ////resultInfos.tbBillList = save; |
| | | |
| | | Debug.WriteLine(imageUrl); |
| | | string result = m.GetFileUrl(imageUrl); |
| | | Debug.WriteLine(result); |
| | | return Ok(result); |
| | | } |
| | | catch (Exception ex) |