为什么会返回错误呢file = Request::instance()->file('file'); // 给定一个目录 $info = $file->move('upload'); if($info && $info->getPathname()) { return show(1, 'success','/'.$info->getPathname()); } return show(0,'upload error');
{"status":1,"message":"success","data":"\/upload\\20170523\\b04bfab39a5c098c8b033370e2703b16.jpg"}
为什么他不去找public下的 upload