正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -45,7 +45,7 @@ class Response implements ResponseInterface | @@ -45,7 +45,7 @@ class Response implements ResponseInterface | ||
| 45 | 45 | ||
| 46 | $body = $this->toArray(); | 46 | $body = $this->toArray(); |
| 47 | 47 | ||
| 48 | - return (int)Arr::get($body, 'status', 0) == ResponseCode::STATUS_SUCCESS; | 48 | + return (int)Arr::get($body, 'status', 0) === ResponseCode::STATUS_SUCCESS; |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | /** | 51 | /** |
-
请 注册 或 登录 后发表评论