This commit is contained in:
徐唯轩
2023-11-14 16:32:59 +08:00
parent 441dad9ef6
commit 751ed76e37
298 changed files with 10073 additions and 3527 deletions

View File

@ -0,0 +1,21 @@
import co.yixiang.yshop.module.order.controller.app.order.param.AppPayParam;
import co.yixiang.yshop.module.order.service.storeorder.AppStoreOrderService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import javax.annotation.Resource;
@SpringBootTest
public class OrderTest {
@Resource
private AppStoreOrderService appStoreOrderService;
@Test
public void Test() throws Exception {
AppPayParam param = new AppPayParam();
param.setFrom("h5");
param.setUni("1718884545014530048");
param.setPaytype("weixin_h5");
appStoreOrderService.pay(Long.parseLong("9"), param);
}
}