This commit is contained in:
gaofeng
2026-09-04 11:35:08 +08:00
parent ccfad8ed88
commit 4150f64d3b

View File

@@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
require dirname(__DIR__) . '/app/miniapi/service/Payment/MiniPayService.php';
use app\miniapi\service\Payment\MiniPayService;
if (MiniPayService::targetMarkForCheck('bjglobal', 'singapore') !== 'bjglobalsingapore') throw new RuntimeException('target payment mark failed');
if (MiniPayService::targetMarkForCheck('bjglobal', 'bad-table') !== '') throw new RuntimeException('unsafe target table accepted');
echo "PASS mini_payment_target_self_check\n";