From 28f410f07e1181d1b5f3a1f39b5273c2e085520d Mon Sep 17 00:00:00 2001 From: yuanjiajia <1139393632@qq.com> Date: Sat, 20 May 2023 17:14:56 +0800 Subject: [PATCH] yuanjiajia test --- composer.json | 4 +++- examples/renderTest.php | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 examples/renderTest.php diff --git a/composer.json b/composer.json index 5da1a01..b1831cc 100644 --- a/composer.json +++ b/composer.json @@ -15,5 +15,7 @@ } ], "minimum-stability": "dev", - "require": {} + "require": { + "guzzlehttp/guzzle": "~6.0" + } } diff --git a/examples/renderTest.php b/examples/renderTest.php new file mode 100644 index 0000000..9efac77 --- /dev/null +++ b/examples/renderTest.php @@ -0,0 +1,25 @@ +get("deep3d.backend-api.dev.com/test/render-task"); + + +// echo $response->getBody()->getContents(); + +$resStr = $response->getBody()->getContents(); + +$resContents = json_decode($resStr); + +print_r($resContents->data->scene->model->childsParams[0]); +?>