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