正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -319,8 +319,6 @@ class LoginController extends BaseController | @@ -319,8 +319,6 @@ class LoginController extends BaseController | ||
| 319 | $file_path = getImageUrl($path.'/'.$fileName); | 319 | $file_path = getImageUrl($path.'/'.$fileName); |
| 320 | $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php'; | 320 | $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php'; |
| 321 | $code = shell_exec($cmd); | 321 | $code = shell_exec($cmd); |
| 322 | - echo $code; | ||
| 323 | - return; | ||
| 324 | if(200 != (int)$code){ | 322 | if(200 != (int)$code){ |
| 325 | $errorFileModel = new ErrorFile(); | 323 | $errorFileModel = new ErrorFile(); |
| 326 | $errorFileModel->add(['path'=>$path.'/'.$fileName]); | 324 | $errorFileModel->add(['path'=>$path.'/'.$fileName]); |
-
请 注册 或 登录 后发表评论