使用函数: file_get_contents($url);
传入接口url及其参数:如
$url="http://192.168.1.1/test.jsp?id=1&type=2";
$ret=file_get_contents($url);
上一篇 thinkphp的c方法使用示例
下一篇 php中session退出登陆问题
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号