update 支付 占桩订单 后面拼上时间戳

This commit is contained in:
2023-11-03 16:07:28 +08:00
parent b592371883
commit c3d3c9eb9b
3 changed files with 64 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ import com.huifu.adapay.model.Payment;
import com.huifu.adapay.model.PaymentReverse;
import com.huifu.adapay.model.Refund;
import com.jsowell.JsowellApplication;
import com.jsowell.adapay.common.AdaPayment;
import com.jsowell.adapay.config.AbstractAdapayConfig;
import com.jsowell.adapay.dto.QueryAcctFlowDTO;
import com.jsowell.adapay.dto.QueryPaymentConfirmDTO;
@@ -238,6 +239,17 @@ public class SpringBootTestController {
@Autowired
private TempService tempService;
@Test
public void queryPaymentByOrderNoTest() {
String orderNo = "C44903356969";
try {
List<AdaPayment> adaPayments = adapayService.queryPaymentByOrderNo(orderNo);
System.out.println(JSON.toJSONString(adaPayments));
} catch (BaseAdaPayException e) {
throw new RuntimeException(e);
}
}
@Test
public void checkPaymentTest() {
QueryOrderDTO dto = new QueryOrderDTO();