mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
改进session函数支持判断是否赋值操作 修正response类success方法
This commit is contained in:
@@ -174,7 +174,7 @@ class Response
|
||||
'code' => $code,
|
||||
'msg' => $msg,
|
||||
'data' => $data,
|
||||
'url' => is_null($url) ? $_SERVER["HTTP_REFERER"] : $url,
|
||||
'url' => is_null($url) && isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : $url,
|
||||
'wait' => $wait,
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user