正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -57,7 +57,7 @@ class Demo extends Command | @@ -57,7 +57,7 @@ class Demo extends Command | ||
| 57 | 'is_sitemap' => 1 | 57 | 'is_sitemap' => 1 |
| 58 | ]; | 58 | ]; |
| 59 | $shell = 'curl -X POST ' . escapeshellarg('www.baidu.com') . ' -H "Content-Type: application/json"' . | 59 | $shell = 'curl -X POST ' . escapeshellarg('www.baidu.com') . ' -H "Content-Type: application/json"' . |
| 60 | - ' -d "' . escapeshellarg(json_encode($param)) . '" > /dev/null 2>&1 &'; | 60 | + ' -d ' . escapeshellarg(json_encode($param)) . ' > /dev/null 2>&1 &'; |
| 61 | // shell_exec($shell); | 61 | // shell_exec($shell); |
| 62 | echo $shell; | 62 | echo $shell; |
| 63 | die(); | 63 | die(); |
-
请 注册 或 登录 后发表评论