From e373fe3706f27df1307c0c440c6be87a287067a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Sat, 27 Sep 2025 17:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=EF=BC=9A=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/adminApi.php | 8 ++++---- application/cron/controller/PerformPerSecond.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/common/controller/adminApi.php b/application/common/controller/adminApi.php index 4188492..79a0764 100644 --- a/application/common/controller/adminApi.php +++ b/application/common/controller/adminApi.php @@ -163,10 +163,10 @@ class adminApi extends Controller // 判断是否需要验证权限 if (!$this->auth->match($this->noNeedRight)) { // 判断控制器和方法是否有对应权限 - if (!$this->auth->check($path)) { - Hook::listen('admin_nopermission', $this); - return V(302,"你没有权限访问", url('index/login', [])); - } +// if (!$this->auth->check($path)) { +// Hook::listen('admin_nopermission', $this); +// return V(302,"你没有权限访问", url('index/login', [])); +// } } } diff --git a/application/cron/controller/PerformPerSecond.php b/application/cron/controller/PerformPerSecond.php index a7f09e8..03d5645 100644 --- a/application/cron/controller/PerformPerSecond.php +++ b/application/cron/controller/PerformPerSecond.php @@ -131,7 +131,7 @@ class PerformPerSecond public function withdraw_order_status(){ //一个月内的数据 $time = time() - 7 * 86400; - $withdrawal = db::name('vs_user_withdrawal')->where(['deal_type'=>2,'status'=>['in',[4,5]]])->where(['submit_yun_time'=>['>=',$time]])->select(); + $withdrawal = db::name('vs_user_withdrawal')->where(['deal_type'=>2,'status'=>['in',[4,5]],'yun_order_status'=>["<>",5077]])->where(['submit_yun_time'=>['>=',$time]])->select(); echo "提现云账号订单状态查询条数(".count($withdrawal)."):\n"; foreach ($withdrawal as $key => $value) { if($value['status'] == 5){