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