외교부 틀 작성중. 재야의 외교 메시지는 항상 보이도록

This commit is contained in:
2019-01-26 03:31:04 +09:00
parent 9aff52eaad
commit e6b2107fa9
7 changed files with 150 additions and 23 deletions
+7 -1
View File
@@ -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: 외교 서신에 대한 메시지를 양국에 발송해야함
}