diff --git a/Application/Admin/Controller/MarketPercentageController.class.php b/Application/Admin/Controller/MarketPercentageController.class.php index 03cb3ed95..2546620b0 100644 --- a/Application/Admin/Controller/MarketPercentageController.class.php +++ b/Application/Admin/Controller/MarketPercentageController.class.php @@ -833,9 +833,9 @@ class MarketPercentageController extends ThinkController // $pay_time = date("Y-m",strtotime('-1 month')); } -// var_dump("php ".ROOTTT."admin.php timing/caculateMarketStream/time/{$pay_time} > /dev/null &");die(); +// var_dump("cd ".ROOTTT.";php admin.php timing/caculateMarketStream/time/{$pay_time} > /dev/null &");die(); - exec("php ".ROOTTT."admin.php timing/caculateMarketStream/time/{$pay_time} > /dev/null &"); + exec("cd ".ROOTTT.";php admin.php timing/caculateMarketStream/time/{$pay_time} > /dev/null &"); $this->success('操作成功,后台正在计算中,请稍后再打开......'); } diff --git a/Application/Admin/View/MarketPercentage/index.html b/Application/Admin/View/MarketPercentage/index.html index f493a4cbf..7ac00ff44 100644 --- a/Application/Admin/View/MarketPercentage/index.html +++ b/Application/Admin/View/MarketPercentage/index.html @@ -70,7 +70,7 @@