去除 IS_CGI IS_MAC NOW_TIME 常量

This commit is contained in:
thinkphp
2016-06-02 12:21:36 +08:00
parent 8099a001e2
commit d65882e20c
7 changed files with 11 additions and 15 deletions

View File

@@ -207,7 +207,7 @@ class Response
$result = [
'code' => $code,
'msg' => $msg,
'time' => NOW_TIME,
'time' => $_SERVER['REQUEST_TIME'],
'data' => $data,
];
return $this->data($result);