KVStorage로 game 테이블 대체 준비

This commit is contained in:
2018-05-12 22:05:44 +09:00
parent 5e74a34d3e
commit 52f4b79fdf
65 changed files with 243 additions and 20 deletions
+1
View File
@@ -54,6 +54,7 @@ function getWorldMap($req){
$userID = $session->userID;
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game');
$game = $db->queryFirstRow('select `startyear`, `year`, `month` from `game` where `no` = 1');
$startYear = Util::toInt($game['startyear']);