mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-05 19:41:43 +08:00
🐛传参类型问题
This commit is contained in:
parent
d58f45086e
commit
1fbc042e19
@ -19,11 +19,11 @@ class ApiLog {
|
|||||||
unset($requestInfo['API_CONF_DETAIL']);
|
unset($requestInfo['API_CONF_DETAIL']);
|
||||||
unset($requestInfo['APP_CONF_DETAIL']);
|
unset($requestInfo['APP_CONF_DETAIL']);
|
||||||
|
|
||||||
ApiLogTool::setApiInfo($request->API_CONF_DETAIL);
|
ApiLogTool::setApiInfo((array)$request->API_CONF_DETAIL);
|
||||||
ApiLogTool::setAppInfo($request->APP_CONF_DETAIL);
|
ApiLogTool::setAppInfo((array)$request->APP_CONF_DETAIL);
|
||||||
ApiLogTool::setRequest($requestInfo);
|
ApiLogTool::setRequest($requestInfo);
|
||||||
ApiLogTool::setResponse($response->getData(), isset($response->getData()['code']) ? strval($response->getData()['code']) : 'null');
|
ApiLogTool::setResponse($response->getData(), isset($response->getData()['code']) ? strval($response->getData()['code']) : 'null');
|
||||||
ApiLogTool::setHeader($request->header());
|
ApiLogTool::setHeader((array)$request->header());
|
||||||
ApiLogTool::save();
|
ApiLogTool::save();
|
||||||
|
|
||||||
return $response;
|
return $response;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user