This commit is contained in:
gaofeng
2026-08-12 17:58:56 +08:00
parent fd35f78fa7
commit 21b32e11c1
4 changed files with 30 additions and 5 deletions

View File

@@ -19,6 +19,11 @@ customerCenterProxyAssertSame([
'user_id' => 42,
'page' => 2,
], $service->payload(42, ['page' => 2]), 'The proxy request must use the original unsigned parameter style');
$materialsJson = '[{"material_type":"passport","oss_url":"https://files.jzvisa.com/jnevus/contact/42/passport.jpg"}]';
customerCenterProxyAssertSame([
'user_id' => 42,
'materials_json' => $materialsJson,
], $service->payload(42, ['materials_json' => $materialsJson]), 'The proxy must preserve the compact material JSON payload');
customerCenterProxyAssertSame(
'https://uniuser.jzvisa.com/home/customer_center/applications',
$service->endpoint('https://uniuser.jzvisa.com/home/users/userLogin', 'applications'),