| | |
| | | package com.ruoyi.order; |
| | | |
| | | import com.ruoyi.order.service.order.OrderService; |
| | | import com.ruoyi.system.api.domain.dto.MgtBasePlatformDto; |
| | | import org.junit.Test; |
| | | import org.junit.runner.RunWith; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
| | |
| | | @Resource |
| | | private OrderService orderService; |
| | | |
| | | /*@Test |
| | | @Test |
| | | public void main() { |
| | | MgtBasePlatformDto mgtBasePlatformDto = new MgtBasePlatformDto(); |
| | | orderService.getPlTotalOrderTotal(mgtBasePlatformDto); |
| | | |
| | | AppPlaceOrderVo appPlaceOrderVo = new AppPlaceOrderVo(); |
| | | |
| | | orderService.createWxPayInfo( appPlaceOrderVo, 280L, 50L, |
| | | "测试支付商品", "SC202308160046", |
| | | "0fa36ad3edcc40bebc2795cc505b5272", new BigDecimal("0.1"), |
| | | "oL-gp5GG6-KRVSIAE_qYLMULPFjw", "127.0.0.1", Arrays.asList("测试支付商品")); |
| | | System.out.println(appPlaceOrderVo.toString()); |
| | | }*/ |
| | | } |
| | | |
| | | |
| | | } |