| | |
| | | import com.doumee.dao.business.model.*; |
| | | import com.doumee.dao.business.web.request.BackElecBikeRequest; |
| | | import com.doumee.dao.business.web.request.RepairRequest; |
| | | import com.doumee.dao.business.web.response.HomeResponse; |
| | | import com.doumee.dao.business.web.response.MemberRidesDetailResponse; |
| | | import com.doumee.dao.business.web.response.RidesDetailResponse; |
| | | import com.doumee.dao.system.model.SystemDictData; |
| | |
| | | @Autowired |
| | | private SystemDictDataBiz systemDictDataBiz; |
| | | |
| | | @Autowired |
| | | private DiscountService discountService; |
| | | |
| | | @PreventRepeat |
| | | @LoginRequired |
| | | @ApiOperation(value = "押金支付", notes = "小程序端") |
| | |
| | | public ApiResponse<Object> createGoodsOrderPay() { |
| | | return ApiResponse.success("操作成功",goodsorderService.createGoodsOrderPay(getMemberId())); |
| | | } |
| | | |
| | | @PreventRepeat |
| | | @LoginRequired |
| | | @ApiOperation(value = "套餐购买", notes = "小程序端") |
| | | @GetMapping("/createDiscountOrderPay") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true), |
| | | @ApiImplicitParam(paramType = "query", dataType = "String", name = "discountId", value = "套餐主键", required = true) |
| | | }) |
| | | public ApiResponse<Object> createDiscountOrderPay(@RequestParam String discountId) { |
| | | return ApiResponse.success("操作成功",goodsorderService.createDiscountOrderPay(discountId,getMemberId())); |
| | | } |
| | | |
| | | |
| | | |
| | | @LoginRequired |
| | | @ApiOperation(value = "骑行明细", notes = "小程序端") |
| | |
| | | return ApiResponse.success(transactionsService.findPageForMini(pageWrap,getMemberId())); |
| | | } |
| | | |
| | | |
| | | |
| | | @LoginRequired |
| | | @ApiOperation(value = "热销套餐", notes = "热销套餐") |
| | | @GetMapping("/discountPage") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true) |
| | | }) |
| | | public ApiResponse<PageData<Discount>> discountPage (@RequestBody PageWrap<Discount> pageWrap) { |
| | | Discount discount = new Discount(); |
| | | discount.setStatus(Constants.ZERO); |
| | | pageWrap.setModel(discount); |
| | | return ApiResponse.success(discountService.findPage(pageWrap)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @LoginRequired |
| | | @ApiOperation("基础配置数据") |
| | | @GetMapping("/baseParamList") |