From 41f63dc5969029b875785b317c6e065ef9caece9 Mon Sep 17 00:00:00 2001 From: limu <610543851@qq.com> Date: Tue, 23 Jan 2024 17:39:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/jobs/OrderPartnerJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/jobs/OrderPartnerJob.php b/crmeb/jobs/OrderPartnerJob.php index a6185bb..f0519cb 100644 --- a/crmeb/jobs/OrderPartnerJob.php +++ b/crmeb/jobs/OrderPartnerJob.php @@ -152,7 +152,7 @@ class OrderPartnerJob implements JobInterface //读取消费等级增加生命值 $user_hb = 0; - $order_level = StoreOrderLevel::getDB()->order('level asc')->select(); + $order_level = StoreOrderLevel::getDB()->order('level desc')->select(); if (!empty($order_level)) { foreach ($order_level as $k => $v) { if ($total_price >= $v->min_price) {