This commit is contained in:
2026-03-01 21:05:19 +08:00
parent 0a45a8fbb9
commit 92948fa856
39 changed files with 594 additions and 269 deletions
+2 -2
View File
@@ -107,7 +107,7 @@ class Auth implements MiddlewareInterface
// $data = str_replace('%3D','=',$data);
// $data = str_replace(' ','+',$data);
// //var_dump($data);
// $data = aesdecode($data);
// $data = \support\Encrypt::aesdecode($data);
// $data = json_decode($data,true);
// //var_dump($data);
// $request->withBody($data);
@@ -135,7 +135,7 @@ class Auth implements MiddlewareInterface
request()->path()
],$response->rawBody());
// if($request->app=="api" && $request->client!='web'){
// $body = aesencode($body);
// $body = \support\Encrypt::aesencode($body);
// }
$response->withHeaders($headers)->withBody($body)->getStatusCode();
$time = microtime() - $request->start_time;