feat : pay

This commit is contained in:
2025-02-17 16:46:41 +08:00
parent 1fb7bf4ea7
commit 8e6c6f9cb1
13 changed files with 353 additions and 13 deletions

View File

@@ -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);