From a91ff9568fcfaeba7613bc7a0983d37d153a5eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sun, 7 Apr 2024 09:58:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=B4=E6=BB=B4=E8=A7=A3=E9=99=A4=E5=B1=8F?= =?UTF-8?q?=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/jinyou/controller/Jinyoujt.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/jinyou/controller/Jinyoujt.php b/app/jinyou/controller/Jinyoujt.php index b104d93..127b406 100644 --- a/app/jinyou/controller/Jinyoujt.php +++ b/app/jinyou/controller/Jinyoujt.php @@ -372,4 +372,21 @@ class Jinyoujt extends Controller } + //解除屏蔽 + public function openTxLimit(){ + $data = json_decode(file_get_contents("php://input"),true); + if(!$data){ + die; + } + $package = explode("-",$data['PackageName']); + $type = 1; + + if ($package[0] == '静态') { + $type = 0; + } + $jinyou = new Jinyoujingtai(); + $status = $jinyou::setFirewallStatus($data['account'],$type,121); + echo json_encode(['Code'=>30000,]); + } + } \ No newline at end of file