Commit a3cfd0b7 by feixiang

反馈来源枚举

parent c9166136
...@@ -9,7 +9,7 @@ namespace Hdll\Services\Auth\Enum; ...@@ -9,7 +9,7 @@ namespace Hdll\Services\Auth\Enum;
class AuthError class AuthError
{ {
const GET_TOKEN_ERROR = ["msg" => "获取token失败", "code" => 500, "errorCode" => 25103]; const GET_TOKEN_ERROR = ["msg" => "获取token失败", "code" => 401, "errorCode" => 25103];
const NOT_FOUND_USER = ["msg" => "获取用户信息失败", "code" => 404, "errorCode" => 25104]; const NOT_FOUND_USER = ["msg" => "获取用户信息失败", "code" => 404, "errorCode" => 25104];
......
...@@ -32,4 +32,6 @@ class NoticeEnum ...@@ -32,4 +32,6 @@ class NoticeEnum
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment