수락, 거절 전송을 위한 dummy 생성

This commit is contained in:
2018-02-13 00:08:19 +09:00
parent 6f8ac8dc6f
commit cd243ce950
2 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ function relayJson($filepath, $noCache = true, $die = true){
header('Pragma: no-cache');
}
echo file_get_contents($filepath);
$json = json_decode(file_get_contents($filepath));
echo json_encode($json,JSON_UNESCAPED_UNICODE);
if($die){
die();
+8
View File
@@ -0,0 +1,8 @@
<?php
require('../twe/lib.php');
use utilphp\util as util;
return json_encode([
'result'=>true,
'reason'=>'success'
], JSON_UNESCAPED_UNICODE);