添加解除限制的标记

This commit is contained in:
“wanyongkang”
2025-05-28 10:24:43 +08:00
parent 1a4dbef678
commit 24a9b4a960
3 changed files with 33 additions and 0 deletions

View File

@@ -435,6 +435,17 @@ class Jinyoujt extends Controller
if ($package[0] == '静态') {
$type = 0;
}
$where = [
'ProductId' => $data['productId'],
'DeleteTag' => 0,
'Account' => $data['account']
];
$account_model = new AccountModel;
$account_model->updateOne($where, ['im' => '1']);
$jinyou = new Jinyoujingtai();
$status = $jinyou::setFirewallStatus($data['account'],$type,121);
echo json_encode(['Code'=>30000,]);