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

- v_front.php
- API 추가
  - General/GetFrontInfo
  - Global/GetGlobalMenu
- DTO 추가
  - MenuItem, MenuMulti, MenuSplit
- 글로벌 메뉴 출력 방식 변경
  - d_setting/GlobalMenu.php

Reviewed-on: https://storage.hided.net/gitea/devsam/core/pulls/229
This commit was merged in pull request #229.
This commit is contained in:
2023-03-09 02:25:31 +09:00
parent 4ba9468fae
commit 6f5d7ff84b
35 changed files with 4260 additions and 127 deletions
+4
View File
@@ -185,6 +185,7 @@ class SendMessage extends \sammo\BaseAPI
if ($mailbox === Message::MAILBOX_PUBLIC) {
$msgID = $this->genPublicMessage($src, $text)->send();
return [
'msgType' => 'public',
'msgID' => $msgID
];
}
@@ -201,6 +202,7 @@ class SendMessage extends \sammo\BaseAPI
if ($destNationID === $nationID) {
$msgID = $this->genNationalMessage($src, $text)->send();
return [
'msgType' => 'national',
'msgID' => $msgID
];
}
@@ -211,6 +213,7 @@ class SendMessage extends \sammo\BaseAPI
}
$msgID = $msgObjOrError->send();
return [
'msgType' => 'diplomacy',
'msgID' => $msgID
];
}
@@ -231,6 +234,7 @@ class SendMessage extends \sammo\BaseAPI
$msgID = $msgObjOrError->send();
return [
'msgType' => 'private',
'msgID' => $msgID
];
}