Commit 4defd106 authored by hujun's avatar hujun

修改key

parent 1c587793
......@@ -33,9 +33,9 @@ class UploadImg extends Basic
{
header('Access-Control-Allow-Origin:*');
set_time_limit(0);
$file = $_FILES;
$file = $_FILES['image'];
$type = request()->param('type');
Log::record("upload img info :" . json_encode($file) );
// Log::record("upload img info :" . json_encode($file) );
$uploadResult = $this->uFService->upload($file, $type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment