BusinessCode.php 628 Bytes
<?php

namespace App\Support;


use Hikoon\LaravelApi\Support\ApiCode;

class BusinessCode extends ApiCode
{
    public const LOGIN_SUCCESS = 200100;

    public const AUTHORIZED_INVALID_ERROR = 401001;
    public const AUTHORIZED_EXPIRED_ERROR = 401002;
    public const AUTHORIZED_STATUS_ERROR  = 401003;

    public const ACCOUNT_OR_PASSWORD_ERROR = 422001;
    public const ACCOUNT_STATUS_ERROR      = 422002;
    public const ACCOUNT_NOT_EXISTS        = 422003;
    public const SMS_CODE_ERROR            = 422004;
    public const SMS_CODE_LIMIT            = 422005;
    public const PHONE_EXISTS              = 422006;
}