|
|
@ -838,6 +838,7 @@ class TimingController extends AdminController {
|
|
|
|
|
|
|
|
|
|
|
|
//计算市场专员业绩公式 参数 time 2020-10
|
|
|
|
//计算市场专员业绩公式 参数 time 2020-10
|
|
|
|
public function caculateMarketStream () {
|
|
|
|
public function caculateMarketStream () {
|
|
|
|
|
|
|
|
|
|
|
|
if ($_REQUEST['time']) {
|
|
|
|
if ($_REQUEST['time']) {
|
|
|
|
$count_date = $_REQUEST['time'];
|
|
|
|
$count_date = $_REQUEST['time'];
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
@ -845,10 +846,10 @@ class TimingController extends AdminController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
A("MarketPerformanceSet")->setFreeMonth($count_date);
|
|
|
|
A("MarketPerformanceSet")->setFreeMonth($count_date);
|
|
|
|
$this->createMarketBonus($_REQUEST['time']);
|
|
|
|
$this->createMarketBonus($_REQUEST['time']);
|
|
|
|
|
|
|
|
A("MarketPerformanceSet")->setThisMonthFirstMondayScript();
|
|
|
|
die();
|
|
|
|
die();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function insertAllUserBonus($time) {
|
|
|
|
public function insertAllUserBonus($time) {
|
|
|
|
|
|
|
|
|
|
|
|
// $time = $_REQUEST['time'];
|
|
|
|
// $time = $_REQUEST['time'];
|
|
|
|