| | |
| | | import com.ruoyi.system.service.TBillConfirmService; |
| | | import com.ruoyi.system.service.TBillService; |
| | | import com.ruoyi.system.service.TPayOrderService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.poi.ss.formula.functions.T; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | import java.util.Collections; |
| | | import java.util.List; |
| | | |
| | | @Api(value = "支付订单") |
| | | @RestController |
| | | @RequestMapping("/t-pay") |
| | | public class PayController { |
| | |
| | | return R.ok(resp); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "线下支付") |
| | | @PostMapping("offlinePay") |
| | | public R offlinePay(@Validated @RequestBody OfflinePayDto dto){ |
| | | List<TBill> tBills = tBillService.listByIds(dto.getBillIds()); |