默认curl使用get请求,可以使用-d方式指定使用post方式传递数据 https://www.cnblogs.com/gbyukg/p/3326825.html 转载于:https://www.cnblogs.com/z-x-y/p/9646562.html