|
...
|
...
|
@@ -5,7 +5,23 @@ namespace App\Enums\Common; |
|
|
|
use BenSampo\Enum\Contracts\LocalizedEnum;
|
|
|
|
use BenSampo\Enum\Enum;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 状态码类
|
|
|
|
* @method static static SUCCESS()
|
|
|
|
* @method static static USER_ERROR()
|
|
|
|
* @method static static USER_REGISTER_ERROE()
|
|
|
|
* @method static static USER_LOGIN_ERROE()
|
|
|
|
* @method static static USER_PERMISSION_ERROE()
|
|
|
|
* @method static static USER_PARAMS_ERROE()
|
|
|
|
* @method static static USER_UPLOAD_ERROE()
|
|
|
|
* @method static static USER_VERSION_ERROE()
|
|
|
|
* @method static static SYSTEM_ERROR()
|
|
|
|
* @method static static SYSTEM_TIMEOUT_ERROR()
|
|
|
|
* @method static static SERVER_ERROR()
|
|
|
|
* @method static static SERVER_MYSQL_ERROR()
|
|
|
|
* @method static static SERVER_REDIS_ERROR()
|
|
|
|
* @method static static USER_MODEL_NOTFOUND_ERROE()
|
|
|
|
*/
|
|
|
|
final class Code extends Enum implements LocalizedEnum
|
|
|
|
{
|
|
|
|
public $statusTexts = [
|
...
|
...
|
|