<?php declare (strict_types=1); namespace app\config; class BusinessCode { #业务处理成功 const SUCCESS = 200; #业务处理失败 const FAIL = 502; const PARAMETER_ERROR = 405; # 未登录 const LOGIN_INVALID = 401; }