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