| | |
| | | return ApiResponse.success("密码修改成功,请重新登录"); |
| | | } |
| | | |
| | | @LoginShopRequired |
| | | @ApiOperation("门店打印订单标签") |
| | | @GetMapping("/printOrderLabel/{orderId}") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "门店token值", required = true), |
| | | @ApiImplicitParam(paramType = "path", dataType = "Integer", name = "orderId", value = "订单主键", required = true) |
| | | }) |
| | | public ApiResponse printOrderLabel(@PathVariable Integer orderId) { |
| | | ordersService.printOrderLabel(orderId, this.getShopId()); |
| | | return ApiResponse.success("打印成功"); |
| | | } |
| | | |
| | | } |