| | |
| | | import com.stylefeng.guns.modular.shunfeng.model.OrderRide; |
| | | import com.stylefeng.guns.modular.shunfeng.model.vo.ApiJson; |
| | | import com.stylefeng.guns.modular.shunfeng.service.IOrderRideService; |
| | | import com.stylefeng.guns.modular.shunfeng.service.IParamService; |
| | | import com.stylefeng.guns.modular.shunfeng.service.ITimeTaskService; |
| | | import com.stylefeng.guns.modular.system.model.UserInfo; |
| | | import com.stylefeng.guns.modular.system.service.ISystemNoticeService; |
| | |
| | | public class PayInfoController { |
| | | |
| | | @Autowired |
| | | private IParamService paramService; |
| | | @Autowired |
| | | private IOrderRideService orderRideService; |
| | | @Autowired |
| | | private ITimeTaskService timeTaskService; |
| | |
| | | * @param couponId |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/payBalanceRide") |
| | | @ApiOperation(value = "余额支付", httpMethod = "POST") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "orderId", value = "订单id", dataType = "int"), |
| | | @ApiImplicitParam(name = "couponId", value = "优惠券id", dataType = "int"), |
| | | }) |
| | | public Object payBalanceRide(Integer orderId,Integer couponId){ |
| | | try { |
| | | OrderRide orderRide=orderRideService.selectById(orderId); |