|
@@ -70,8 +70,7 @@ class PublicController extends BaseController
|
|
|
->where('is_system_del', 0)
|
|
->where('is_system_del', 0)
|
|
|
->where('refund_status', 0)
|
|
->where('refund_status', 0)
|
|
|
->whereIn('status', [2, 3])
|
|
->whereIn('status', [2, 3])
|
|
|
- ->field('(total_price-cost) as award_price')
|
|
|
|
|
- ->sum('award_price');
|
|
|
|
|
|
|
+ ->sum('(total_price-cost)');
|
|
|
var_dump($order_price);
|
|
var_dump($order_price);
|
|
|
}
|
|
}
|
|
|
|
|
|