正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -320,6 +320,7 @@ class LoginController extends BaseController | @@ -320,6 +320,7 @@ class LoginController extends BaseController | ||
| 320 | 'file_path'=>$file_path, | 320 | 'file_path'=>$file_path, |
| 321 | 'save_path'=>'/www/wwwroot/cos'.$path | 321 | 'save_path'=>'/www/wwwroot/cos'.$path |
| 322 | ]; | 322 | ]; |
| 323 | + @file_put_contents(storage_path('logs/lyh_error.log'), 'ceshi' . PHP_EOL, FILE_APPEND); | ||
| 323 | $url = 'https://v6-file.globalso.com/upload.php'; | 324 | $url = 'https://v6-file.globalso.com/upload.php'; |
| 324 | return http_post($url,$param,['charset=utf-8'],false); | 325 | return http_post($url,$param,['charset=utf-8'],false); |
| 325 | // $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php'; | 326 | // $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php'; |
-
请 注册 或 登录 后发表评论