user
parent
a9011fca78
commit
564f66a2ba
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue