示例#1
0
function success($version, $necessary)
{
    setResultCode(200);
    setResultInt('version', (int) $version);
    setResultInt('necessary', (int) $necessary);
    setResultStr('정상리턴.');
    flushOut();
}
示例#2
0
function success($id, $agreement)
{
    setResultCode(200);
    setResultInt('id', (int) $id);
    setResultValues('agreement', $agreement);
    setResultStr('정상리턴.');
    flushOut();
}
示例#3
0
文件: notice.php 项目: EvilStorm/eval
function success($id, $notice)
{
    if ($id == null) {
        setResultCode(201);
        setResultStr('정상리턴.');
        flushOut();
        return;
    }
    setResultCode(200);
    setResultInt('id', (int) $id);
    setResultValues('notice', $notice);
    setResultStr('정상리턴.');
    flushOut();
}