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;