| | |
| | | return new JsonResult(returnMsg); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 保存 |
| | | /// </summary> |
| | | /// <param name="data">岗位实体类对象</param> |
| | | /// <returns></returns> |
| | | /// |
| | | public IActionResult Delete(string OrderId) |
| | | { |
| | | //var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | //ViewData["curentuser"] = curentuser; |
| | | ReturnMsg<OrderBanciOrderDTO> returnMsg = new ReturnMsg<OrderBanciOrderDTO>(); |
| | | returnMsg.code = 2; |
| | | try |
| | | { |
| | | |
| | | ResultEntity resultEntity = _orderBanciOrderService.DeleteStatus(OrderId); |
| | | if (resultEntity.Result) |
| | | { |
| | | returnMsg.code = 1; |
| | | returnMsg.count = 1; |
| | | returnMsg.returnObj = null; |
| | | } |
| | | else |
| | | { |
| | | returnMsg.error = resultEntity.Message; |
| | | } |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | returnMsg.code = 2; |
| | | returnMsg.error = "没有获取到token"; |
| | | returnMsg.count = 0; |
| | | |
| | | } |
| | | |
| | | return new JsonResult(returnMsg); |
| | | } |
| | | |
| | | } |
| | | } |