From a1cfd470d9dc6a9f23ff3283f81896222bca43c3 Mon Sep 17 00:00:00 2001 From: net909 Date: Tue, 28 Apr 2026 21:18:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=B9=E9=87=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=85=B3=E8=81=94=E8=AF=81=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Cert.php | 2 +- app/lib/dns/huawei.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/Cert.php b/app/controller/Cert.php index 451d70d..de42a67 100644 --- a/app/controller/Cert.php +++ b/app/controller/Cert.php @@ -751,7 +751,7 @@ class Cert extends BaseController $ids = input('post.ids'); $success = 0; $certid = 0; - if (input('post.action') == 'cert') { + if (input('post.act') == 'cert') { $certid = input('post.certid/d'); $cert = Db::name('cert_order')->where('id', $certid)->find(); if (!$cert) return json(['code' => -1, 'msg' => '证书订单不存在']); diff --git a/app/lib/dns/huawei.php b/app/lib/dns/huawei.php index 812b68b..2e8fadd 100644 --- a/app/lib/dns/huawei.php +++ b/app/lib/dns/huawei.php @@ -63,7 +63,7 @@ class huawei implements DnsInterface public function getDomainRecords($PageNumber = 1, $PageSize = 20, $KeyWord = null, $SubDomain = null, $Value = null, $Type = null, $Line = null, $Status = null) { $offset = ($PageNumber - 1) * $PageSize; - $query = ['type' => $Type, 'line_id' => $Line, 'name' => $KeyWord, 'offset' => $offset, 'limit' => $PageSize]; + $query = ['type' => $Type, 'line_id' => $Line, 'name' => $KeyWord, 'offset' => $offset, 'limit' => $PageSize, 'records' => $Value]; if (!isNullOrEmpty($Status)) { $Status = $Status == '1' ? 'ACTIVE' : 'DISABLE'; $query['status'] = $Status;