수락, 거절 전송을 위한 dummy 생성
This commit is contained in:
@@ -18,7 +18,8 @@ function relayJson($filepath, $noCache = true, $die = true){
|
|||||||
header('Pragma: no-cache');
|
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){
|
if($die){
|
||||||
die();
|
die();
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
require('../twe/lib.php');
|
||||||
|
use utilphp\util as util;
|
||||||
|
|
||||||
|
return json_encode([
|
||||||
|
'result'=>true,
|
||||||
|
'reason'=>'success'
|
||||||
|
], JSON_UNESCAPED_UNICODE);
|
||||||
Reference in New Issue
Block a user