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) {