Browse Source

会员升级

Kirin 6 months ago
parent
commit
151f457a18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/services/user/AwardIntegralServices.php

+ 1 - 1
app/services/user/AwardIntegralServices.php

@@ -156,7 +156,7 @@ class AwardIntegralServices extends BaseServices
                 break;
             }
         }
-        $last_order_send_day = $this->dao->search(['uid' => $uid])->order('id, desc')->value('send_day');
+        $last_order_send_day = $this->dao->search(['uid' => $uid])->order('id desc')->value('send_day');
         if (!$last_order_send_day) $send_day = $default_send_day;
         else {
             if ($link_id > 0) $send_day = $last_order_send_day + $reorder_inc;