This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<?php
namespace App\Constants;
/**
* HTTP 响应状态码枚举
*
* Class ResponseCode
* @package App\Constants
*/
class ResponseCode
{
const SUCCESS = 200; // 接口处理成功
const FAIL = 305; // 接口处理失败
* Server Error!
const SERVER_ERROR = 500;
* 请求数据验证失败!
const VALIDATION_ERROR = 301;
}