feat: GetConst에서 버전 정보 반환

This commit is contained in:
Hide_D committed 2023-03-22 22:54:47 +09:00
1 parent ca3e64f3b9
commit 9b4d5455e5
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -21,7 +21,7 @@ use function sammo\prepareDir;
class GetConst extends \sammo\BaseAPI
{
/** 반환하는 StaticValues 타입이 달라지면 +1 */
const CONST_API_VERSION = 2;
const CONST_API_VERSION = 3;
const CACHE_KEY = 'JSConst';
private ?string $cacheKey = null;
@@ -277,6 +277,7 @@ class GetConst extends \sammo\BaseAPI
],
'iActionInfo' => $iActionInfo,
'iActionKeyMap' => $iActionKeyMap,
'version' => VersionGit::getVersion(),
];
}