cmbYouku_Api/app/config/ResponseCode.php

31 lines
462 B
PHP
Raw Permalink Normal View History

2024-07-01 15:57:07 +08:00
<?php
declare (strict_types=1);
namespace app\config;
class ResponseCode
{
#业务处理成功
const SUCCESS = 200;
#业务处理失败
const FAIL = -1;
#请求发生错误
const ERROR = 1002;
#参数验证失败
const PARAM_INVALID = 1003;
#数据不存在
const DATA_NOT_FOUND = 1004;
// 未知异常
const UNKNOWN_ERROR = 9999;
const CMB_AUTH_EXPIRE = 2001;
const CMB_PAY_NOTIFY_FAIL = 401;
}