feat,wip: 경매장 API 작성

This commit is contained in:
Hide_D committed 2022-06-09 01:21:21 +09:00
1 parent f607350442
commit 4b436b1499
13 files changed
+372 -53

No files matched your search

+2 -2
View File
@@ -90,8 +90,8 @@ function pushAuctionLog($log) {
pushRawFileLog(__DIR__."/logs/".UniqueConst::$serverID."/_auctionlog.txt", $log);
}
function getAuctionLogRecent(int $count) {
return join('<br>', array_reverse(getFormattedFileLogRecent(__DIR__."/logs/".UniqueConst::$serverID."/_auctionlog.txt", $count, 300)));
function getAuctionLogRecent(int $count): array {
return array_reverse(getRawFileLogRecent(__DIR__."/logs/".UniqueConst::$serverID."/_auctionlog.txt", $count, 300));
}
//DB-based