| | |
| | | if(StrUtil.isEmpty(expressNo)){ |
| | | return JsonResult.failMessage("快递单号不能为空!"); |
| | | } |
| | | orderService.deliverGoods(model); |
| | | OperationAppLog build = OperationAppLog.builder().appPrograme(CommonEnum.后台.getValue()).opreateName(getAdminName(request)) |
| | | .methodName(Constants.SCORESHOP_MODUL_NAME).operateAction("订单管理-发货-" + id).build(); |
| | | mqUtil.sendApp(build); |
| | | return JsonResult.success("操作成功!"); |
| | | Long expressId = orderService.deliverGoods(model); |
| | | if(expressId > 0){ |
| | | OperationAppLog build = OperationAppLog.builder().appPrograme(CommonEnum.后台.getValue()).opreateName(getAdminName(request)) |
| | | .methodName(Constants.SCORESHOP_MODUL_NAME).operateAction("订单管理-发货-" + id).build(); |
| | | mqUtil.sendApp(build); |
| | | return JsonResult.success("操作成功!"); |
| | | }else{ |
| | | return JsonResult.success("操作失败!"); |
| | | } |
| | | } |
| | | |
| | | |