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