upload 3
This commit is contained in:
parent
63751fb3f7
commit
12661b411b
@ -49,9 +49,10 @@ class CommonController extends Controller
|
||||
$config = config('UEditorUpload.upload');
|
||||
switch ($action) {
|
||||
case 'config':
|
||||
return Response()->json($config)
|
||||
->header('Access-Control-Allow-Headers', '*')
|
||||
->setCallback(request()->input('callback'));
|
||||
// return Response()->json($config)
|
||||
// ->header('Access-Control-Allow-Headers', '*')
|
||||
// ->setCallback(request()->input('callback'));
|
||||
return Response()->json($config);
|
||||
//->header("Content-Type", "text/html; charset=utf-8");
|
||||
case 'uploadimage':
|
||||
$upload_config = array(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user