水滴解除屏蔽
This commit is contained in:
@@ -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,]);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user