From 09cb764dadb3619def3ed5eadf6e8e4b9578f739 Mon Sep 17 00:00:00 2001 From: xl Date: Tue, 14 Nov 2023 10:24:18 +0800 Subject: [PATCH] eee --- common/AppConfig.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/common/AppConfig.php b/common/AppConfig.php index 9eade3f..6f3f52c 100644 --- a/common/AppConfig.php +++ b/common/AppConfig.php @@ -11,11 +11,10 @@ class AppConfig { - const TYPE_WCHAT_GAME_OR_APPLET = 0; - const TYPE_ALI_GAME_OR_APPLET = 4; - const TYPE_QQ_GAME_OR_APPLET = 2; - const TYPE_WCHAT_PUBLIC = 1; - const TYPE_APP_PROJECT = 3; + const TYPE_WCHAT_PROJECT = 0; + const TYPE_ALI_GAME_OR_APPLET = 3; + const TYPE_QQ_GAME_OR_APPLET = 1; + const TYPE_APP_PROJECT = 2; /** @@ -96,7 +95,7 @@ class AppConfig */ public function typeIsApp(): bool { - return $this->type === 3; + return $this->type === self::TYPE_APP_PROJECT; } /**