|
@@ -15,6 +15,10 @@ class StatController extends BaseController
|
|
|
|
|
|
|
|
public function actionProfit()
|
|
public function actionProfit()
|
|
|
{
|
|
{
|
|
|
|
|
+
|
|
|
|
|
+ ini_set('memory_limit', '2045M');
|
|
|
|
|
+ set_time_limit(0);
|
|
|
|
|
+
|
|
|
$mainId = $this->mainId;
|
|
$mainId = $this->mainId;
|
|
|
$respond = StatSaleClass::profile($mainId);
|
|
$respond = StatSaleClass::profile($mainId);
|
|
|
$income = $respond['income'] ?? 0;
|
|
$income = $respond['income'] ?? 0;
|