|
@@ -2335,14 +2335,10 @@ class StoreOrder extends BaseModel
|
|
$uids = TreeRecommend::where('get', 0)
|
|
$uids = TreeRecommend::where('get', 0)
|
|
->whereTime('add_time', 'last month')
|
|
->whereTime('add_time', 'last month')
|
|
->column('uid');
|
|
->column('uid');
|
|
- $month_award_ratio = sys_config('month_award_ratio', 0);
|
|
+ $month_award_ratio = sys_config('month_award_ratio', 0, true);
|
|
$orders = self::where('status', '>=', 2)
|
|
$orders = self::where('status', '>=', 2)
|
|
->where('paid', 1)
|
|
->where('paid', 1)
|
|
->where('is_del', 0)
|
|
->where('is_del', 0)
|
|
- ->where('combination_id', 0)
|
|
|
|
- ->where('seckill_id', 0)
|
|
|
|
- ->where('bargain_id', 0)
|
|
|
|
- ->where('shipping_type', 1)
|
|
|
|
->where('is_system_del', 0)
|
|
->where('is_system_del', 0)
|
|
->whereTime('pay_time', 'last month')
|
|
->whereTime('pay_time', 'last month')
|
|
->where('refund_status', 0)
|
|
->where('refund_status', 0)
|