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 5 additions and 1 deletions
Showing only changes of commit e404f3145c - Show all commits
+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
];
}
+1 -1
View File
@@ -199,7 +199,7 @@ const apiRealPath = {
SendMessage: POST as APICallT<{
mailbox: number;
text: string;
}, ValidResponse & {msgID: number}>
}, ValidResponse & {msgID: number, msgType: MsgType}>
},
Misc: {
UploadImage: POST as APICallT<