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