| | |
| | | case 2: |
| | | return orderTaxiService.payTaxiOrder1(payType, orderId, objectId, objectType, type, path, ip); |
| | | case 3: |
| | | ResultUtil resultUtil = orderCrossCityService.payCrossCityOrder1(payType, orderId, objectId, objectType, type); |
| | | ResultUtil resultUtil = orderCrossCityService.payCrossCityOrder1(payType, orderId, objectId, objectType, type, path, ip); |
| | | |
| | | orderCrossCityService.promotion(orderId); |
| | | |
| | |
| | | orderTaxiService.payOrderTaxiCallback(Integer.valueOf(orderNo), payId, 1, 0); |
| | | orderTaxiService.promotion(Integer.valueOf(orderNo)); |
| | | } |
| | | //跨城出行 |
| | | if (orderNo.contains("CC")) { |
| | | orderNo = orderNo.substring(2); |
| | | orderCrossCityService.payOrderCrossCityCallback(Integer.valueOf(orderNo), payId, 1, null); |
| | | } |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | return "error"; |
| | |
| | | @ApiImplicitParam(value = "行程单信息", name = "tripSheet", required = false, dataType = "com.stylefeng.guns.modular.system.model.vo.TripSheetVo"), |
| | | @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....") |
| | | }) |
| | | public ResultUtil sendTripSheetEmail(@RequestBody TripSheetVo tripSheet, |
| | | HttpServletRequest request) { |
| | | public ResultUtil sendTripSheetEmail(@RequestBody TripSheetVo tripSheet, HttpServletRequest request) { |
| | | try { |
| | | // 从Redis中获取当前用户ID |
| | | Integer uid = userInfoService.getUserIdFormRedis(request); |