feat: Vue3로 새롭게 작성한 메인 페이지 #229

Merged
Hide_D merged 61 commits from ng_main into devel 2023-03-09 02:25:31 +09:00
2 changed files with 3 additions and 6 deletions
Showing only changes of commit 53569e3f12 - Show all commits
+1 -4
View File
@@ -9,10 +9,9 @@ use sammo\KVStorage;
use sammo\Util;
use sammo\Validator;
use function sammo\increaseRefresh;
class GetRecentRecord extends \sammo\BaseAPI
{
static bool $allowExternalAPI = false;
const ROW_LIMIT = 15;
@@ -79,8 +78,6 @@ class GetRecentRecord extends \sammo\BaseAPI
$gameStor = KVStorage::getStorage($db, 'game_env');
$gameStor->cacheValues(['isunited', 'opentime', 'refresh']);
//TODO: 벌점에 소수점 적용 필요
increaseRefresh('API/Global/GetRecentRecord');
$lastHistoryID = $this->args['lastWorldHistoryID'];
$lastRecordID = $this->args['lastGeneralRecordID'];
+2 -2
View File
@@ -155,10 +155,10 @@ const apiRealPath = {
}, ExecuteResponse, InvalidResponse & {
reqRefresh?: boolean
}>,
GetRecentRecord: GET as APICallT<{
/*GetRecentRecord: GET as APICallT<{
lastGeneralRecordID: number;
lastWorldHistoryID: number;
} | undefined, GetRecentRecordResponse>,
} | undefined, GetRecentRecordResponse>,*/
GetGlobalMenu: GET as APICallT<undefined, GetMenuResponse>,
},
InheritAction: {