| | |
| | | package com.stylefeng.guns.modular.shunfeng.controller; |
| | | |
| | | import com.stylefeng.guns.core.common.constant.state.BalanceChangeType; |
| | | import com.stylefeng.guns.core.util.ToolUtil; |
| | | import com.stylefeng.guns.modular.shunfeng.model.OrderRide; |
| | | import com.stylefeng.guns.modular.shunfeng.model.vo.ApiJson; |
| | |
| | | systemNoticeService.addSystemNotice(1, "您成功支付从" + orderRide.getStartName() + "到" + orderRide.getEndName() + "的顺风车订单", |
| | | orderRide.getUserId(), 1); |
| | | /*修改用户余额*/ |
| | | userInfo.setBalanceChangeType(BalanceChangeType.CONSUME.getCode()); |
| | | userInfo.setBalance(userInfo.getBalance() - money); |
| | | userInfoService.updateById(userInfo); |
| | | } catch (Exception e) { |