<?php
/**
 *
 * @author：llbjj
 * @DateTime：2022/5/4 14:08
 * @Description：
 *
 */
namespace Application\Common;

class StatusCode{
    const SUCCESS = [
        'code' => 200,
        'msg' => ''
    ],
    NO_TOKEN = [
        'code' => 60001,
        'msg' => '非法访问'
    ],
    NO_BIND_USER = [
        'code' => 60002,
        'msg' => '请绑定用户信息'
    ],
    NO_USER = [
       'code' => 60003,
        'msg' => '用户不存在'
    ],
    NO_LOGIN = [
        'code' => 401,
        'msg' => '请重新登录'
    ],
    E_FIELD_VALIDATOR = [
        'code' => 60011,
        'msg' => '表单字段验证失败'
    ],
    E_LOGIN_CODE_EXPIRE = [
        'code' => 60012,
        'msg' => '登录二维码过期'
    ],
    E_RUNTIME = [
        'code' => -1,
        'msg' => '服务器异常'
    ],
    E_ACCESS = [
        'code' => 60013,
        'msg' => '不合法访问'
    ],
    E_RAND_NUMBER = [
        'code' => 600110,
        'msg' => '随机号码有误'
    ];




    /**------------------ 短信模块 ----------------- */
    const E_SMS_RATE_LIMIT = [
        'code' => 61000,
        'msg' => '短信发送过于频繁',
    ];
}

