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