From 5ef1aa6e2273fbcbefea3783985ab252575afd75 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 27 Jul 2020 16:19:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=98=B2=E6=AD=A2=E5=B9=B6?= =?UTF-8?q?=E5=8F=91=E8=AF=B7=E6=B1=82=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/CompanyStatementSetController.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index b83d26c3e..e96474a28 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -211,6 +211,8 @@ class CompanyStatementSetController extends Controller { ]; $dataurl .= $this->cpapihost."&".http_build_query($arr); $html = file_get_contents($dataurl); + //防止并发压力 + sleep(5); $rsp = json_decode($html,true); if($rsp['code'] != 1){ echo $rsp['error'].PHP_EOL;die;