<?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; }