From 59194241a90cfd349ef3c9ddf0d6928aeb54851b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sun, 16 May 2021 11:55:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=AD=90=E8=BF=85=E8=81=94=E8=B8=A2?= =?UTF-8?q?=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/product/controller/KillOut.php | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app/product/controller/KillOut.php diff --git a/app/product/controller/KillOut.php b/app/product/controller/KillOut.php new file mode 100644 index 0000000..27c8a39 --- /dev/null +++ b/app/product/controller/KillOut.php @@ -0,0 +1,34 @@ +getOne(['Id'=>1]); + $xunlian = $product_model->getOne(['Id'=>2]); + + $header[] = $qiangzi['Token']; + $url = 'http://47.92.116.14:2222/agent/clientOnlineList'; + $content = ''; + $result = []; + $content = linkcurl($url,'GET',false,$header); + + preg_match_all("//is", $content, $result); + echo $result[0][0]; + + $header2[] = $xunlian['Token']; + $url2 = 'http://47.92.65.184:2223/agent/clientOnlineList'; + $content2 = ''; + $result2 = []; + $content2 = linkcurl($url2,'GET',false,$header2); + + preg_match_all("//is", $content2, $result2); + echo $result2[0][0]; + } +}