This commit is contained in:
xl
2023-11-14 10:24:18 +08:00
parent 2f67a0145e
commit 09cb764dad
+5 -6
View File
@@ -11,11 +11,10 @@ class AppConfig
{ {
const TYPE_WCHAT_GAME_OR_APPLET = 0; const TYPE_WCHAT_PROJECT = 0;
const TYPE_ALI_GAME_OR_APPLET = 4; const TYPE_ALI_GAME_OR_APPLET = 3;
const TYPE_QQ_GAME_OR_APPLET = 2; const TYPE_QQ_GAME_OR_APPLET = 1;
const TYPE_WCHAT_PUBLIC = 1; const TYPE_APP_PROJECT = 2;
const TYPE_APP_PROJECT = 3;
/** /**
@@ -96,7 +95,7 @@ class AppConfig
*/ */
public function typeIsApp(): bool public function typeIsApp(): bool
{ {
return $this->type === 3; return $this->type === self::TYPE_APP_PROJECT;
} }
/** /**