| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | //IqcQaSubmit |
| | | [HttpPost("GetFileUrlByU9List")] |
| | | public async Task<ResponseResult> GetFileUrlByU9List([FromBody] JObject data) |
| | | { |
| | | try |
| | | { |
| | | 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) |
| | | { |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = tbBillList |
| | | }; |
| | | } |
| | | else |
| | | { |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = "" |
| | | }; |
| | | } |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | } |