외교부 틀 작성중. 재야의 외교 메시지는 항상 보이도록
This commit is contained in:
1 parent
9aff52eaad
commit
e6b2107fa9
7 files changed
+150
-23
No files matched your search
@@ -64,6 +64,12 @@ if($isAgree){
|
||||
'aux'=>Json::encode($aux)
|
||||
], 'no=%i', $letterNo);
|
||||
//TODO: 외교 서신에 대한 메시지를 양국에 발송해야함
|
||||
|
||||
if($letter['prev_no'] !== null){
|
||||
$db->update('ng_diplomacy', [
|
||||
'state'=>'replaced',
|
||||
], 'no=%i', $letter['prev_no']);
|
||||
}
|
||||
}
|
||||
else{
|
||||
$aux['reason'] = [
|
||||
@@ -74,7 +80,7 @@ else{
|
||||
$db->update('ng_diplomacy', [
|
||||
'state'=>'cancelled',
|
||||
'aux'=>Json::encode($aux)
|
||||
]);
|
||||
], 'no=%i', $letterNo);
|
||||
//TODO: 외교 서신에 대한 메시지를 양국에 발송해야함
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user