feat : pay
This commit is contained in:
@@ -12,7 +12,7 @@ class SystemUtil
|
||||
* prod 1=生产环境 0=开发环境
|
||||
* @return bool
|
||||
*/
|
||||
static function checkProEnv()
|
||||
static function checkProEnv(): bool
|
||||
{
|
||||
return Env('APP_ENV') == 'prod';
|
||||
}
|
||||
@@ -21,7 +21,7 @@ class SystemUtil
|
||||
* 获取客户端 ip
|
||||
* @return mixed|string
|
||||
*/
|
||||
static function getClientIp()
|
||||
static function getClientIp(): mixed
|
||||
{
|
||||
$request = Context::get(ServerRequestInterface::class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user