package com.ruoyi.order;
|
|
import com.ruoyi.order.service.order.OrderService;
|
import org.junit.runner.RunWith;
|
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|
import javax.annotation.Resource;
|
|
/**
|
* @ClassName orderTest
|
* @Description TODO
|
* @Author jqs
|
* @Date 2023/8/18 11:12
|
* @Version 1.0
|
*/
|
@RunWith(SpringJUnit4ClassRunner.class)
|
@SpringBootTest(classes = RuoYiOrderApplication.class)
|
public class orderTest {
|
|
|
@Resource
|
private OrderService orderService;
|
|
/*@Test
|
public void main() {
|
|
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());
|
}*/
|
|
|
}
|