<?php

namespace App\Constants;

class HttpStatus
{
    const UNKNOWN_ERROR = -1;


    const OK = 0;

    const USER_DOES_NOT_EXIST = 101001;//用户不存在
    const PASSWORDS_ERROR = 101002;//密码错误
    const VERIFICATION_CODE_ERROR = 101003;//验证码错误
    const VERIFICATION_CODE_EXPIRED = 101004;//验证码过期
    const PASSWORD_INCONSISTENCY = 101005;//密码不一致
    const USERNAME_ALREADY_EXISTS = 101006;//用户名已存在
    const EMAIL_ALREADY_EXISTS = 101007;//邮箱已存在
    const USERNAME_ERROR = 101008;//用户名错误
    const VALIDATION_FAILED = 101009;//参数验证失败
    const SYSTEM_ERROR = 101010;//系统错误
    const AUTHORIZATION_HEADER_NOT_FOUND = 101011;//请登录
    const NO_COLLECT_YOURSELF = 101012;//禁止收藏自己
    const NO_BASIC_INFO = 101013;//没有基本信息
    const NOT_FOUND = 101014;//路由不存在
    const AVATAR_MUST_SQUARE = 101015;//头像必须是正方形的
    const PAIRING_FAILURE = 101016;//配对失败
    const COLLECT_COUNT_REACH_MAX = 101017;
    const SEND_CODE_ERROR = 101018;
    const PHONE_ERROR = 101019;
    const POST_DOES_NOT_EXIST = 101020;
    const FILE_UPLOAD_ERROR = 101021;
    const INVITATION_CODE_ERROR = 101022;//邀请码错误
    const USER_ANOTHER_DEVICE = 101023;//用户已在其他设备登录
    const INSUFFICIENT = 101024;//剩余抽奖次数不足
    const MAXIMUM_NUMBER_OF_ADDRESSES = 101025;//地址数量达到上限
    const HTTP_POST_ERROR = 101026;//post请求错误
    const IM_ERROR = 101027;//IM 错误
    const PHONE_ALREADY_EXISTS = 101028;//手机号已存在
    const GOOGLE_ERROR = 101029;//谷歌登录错误
    const INSUFFICIENT_CHAT_BALANCE = 101030;//聊天余额不足
    const INSUFFICIENT_WALLET = 101031;//钱包余额不足
    const FACEBOOK_ERROR = 101032;//Facebook 错误
    const VERIFY_ERROR = 101033;//验证资料错误，请检查验证状态是否为待验证
    const PAY_VERIFY_ERROR = 101034;//支付验证错误
    const IM_SYSTEM_ERROR =101035;//im系统错误
    const CUSTOM_ERROR = -3;
    const NOT_BIND_PHONE = 101036;


}
