| | |
| | | } |
| | | @Resource |
| | | private SysUserClient sysUserClient; |
| | | @PostMapping("/getShoppingOrderInfoById") |
| | | @GetMapping("/getShoppingOrderInfoById") |
| | | @ApiOperation(value = "根据订单id查看订单详情", tags = {"管理后台-兑换订单"}) |
| | | public AjaxResult<TExchangeOrder> getShoppingOrderList(String id) { |
| | | TExchangeOrder byId = exchangeOrderService.getById(id); |
| | |
| | | } |
| | | @GetMapping("/consignerShoppingOrder") |
| | | @ApiOperation(value = "发货", tags = {"管理后台-兑换订单"}) |
| | | public AjaxResult consignerShoppingOrder(String id) { |
| | | public AjaxResult consignerShoppingOrder(String id,String companyName,String code) { |
| | | TExchangeOrder byId = exchangeOrderService.getById(id); |
| | | byId.setExpressCompany(companyName); |
| | | byId.setExpressNumber(code); |
| | | Long userid = tokenService.getLoginUser().getUserid(); |
| | | byId.setConsignerId(userid); |
| | | byId.setConsignerTime(LocalDateTime.now()); |