|
@@ -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;
|