feat/task1-c-wallet
devil_gong 2018-09-12 13:48:43 +08:00
parent 20fc5f260a
commit 0dd65ab634
2 changed files with 3 additions and 2 deletions

View File

@ -86,10 +86,11 @@ class CommonController extends Controller
{
$result['msg'] = L('common_operation_error');
}
ob_start();
//清除缓冲区中的内容
ob_clean();
header('Content-Type:application/json; charset=utf-8');
exit(json_encode($result));
}

View File

@ -10,7 +10,7 @@
// +----------------------------------------------------------------------
// 首页应用入口文件
ob_start();
// 引入公共入口文件
require './core.php';