提交 564f66a2 编写于 作者: D devil_gong

user

上级 a9011fca
......@@ -94,6 +94,12 @@ class CommonController extends Controller
{
$result['msg'] = L('common_operation_error');
}
//清除缓冲区中的内容
ob_clean();
// 输出json
header('Content-Type:application/json; charset=utf-8');
exit(json_encode($result));
}
......
......@@ -88,7 +88,7 @@ class CommonController extends Controller
}
//清除缓冲区中的内容
//ob_clean();
ob_clean();
// 输出json
header('Content-Type:application/json; charset=utf-8');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册