水滴解除屏蔽

This commit is contained in:
“wanyongkang”
2024-04-07 09:58:48 +08:00
parent f9f2f58bc7
commit a91ff9568f

View File

@@ -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,]);
}
}