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:
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user