| | |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.dao.dto.WithdrawalDTO; |
| | | import com.doumee.dao.vo.RevenueStatisticsVO; |
| | | import com.doumee.dao.business.model.WithdrawalOrders; |
| | | import com.doumee.service.business.RevenueService; |
| | | import com.doumee.service.business.WithdrawalOrdersService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | return ApiResponse.success("查询成功", revenueService.getDriverRevenueStatistics(getMemberId())); |
| | | } |
| | | |
| | | @LoginRequired |
| | | @ApiOperation(value = "提现详情", notes = "根据提现主键查询详情(含审批人信息)") |
| | | @GetMapping("/detail/{id}") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true), |
| | | @ApiImplicitParam(paramType = "path", dataType = "Integer", name = "id", value = "提现记录主键", required = true) |
| | | }) |
| | | public ApiResponse<WithdrawalOrders> detail(@PathVariable Integer id) { |
| | | return ApiResponse.success("查询成功", withdrawalOrdersService.findById(id)); |
| | | } |
| | | |
| | | } |