|
|
@ -69,11 +69,11 @@ class CompanyStatementSetController extends Controller {
|
|
|
|
echo $nowdate.":".PHP_EOL;
|
|
|
|
echo $nowdate.":".PHP_EOL;
|
|
|
|
echo "--周结begin".PHP_EOL;
|
|
|
|
echo "--周结begin".PHP_EOL;
|
|
|
|
|
|
|
|
|
|
|
|
// $this->cpStatement(0,$stime);
|
|
|
|
$this->cpStatement(0,$stime);
|
|
|
|
// echo "∟----CP周结统计ok".PHP_EOL;
|
|
|
|
echo "∟----CP周结统计ok".PHP_EOL;
|
|
|
|
|
|
|
|
|
|
|
|
// $this->promoteCompanyStatement(0,$stime);
|
|
|
|
$this->promoteCompanyStatement(0,$stime);
|
|
|
|
// echo "∟----推广公司周结统计ok".PHP_EOL;
|
|
|
|
echo "∟----推广公司周结统计ok".PHP_EOL;
|
|
|
|
|
|
|
|
|
|
|
|
$this->promoteUserPool(0,$stime);
|
|
|
|
$this->promoteUserPool(0,$stime);
|
|
|
|
echo "∟----推广个人周结ok".PHP_EOL;
|
|
|
|
echo "∟----推广个人周结ok".PHP_EOL;
|
|
|
@ -82,13 +82,13 @@ class CompanyStatementSetController extends Controller {
|
|
|
|
echo $nowdate.":".PHP_EOL;
|
|
|
|
echo $nowdate.":".PHP_EOL;
|
|
|
|
echo "--月结&补点begin".PHP_EOL;
|
|
|
|
echo "--月结&补点begin".PHP_EOL;
|
|
|
|
|
|
|
|
|
|
|
|
// $this->cpStatement(1,$stime);
|
|
|
|
$this->cpStatement(1,$stime);
|
|
|
|
// $this->cpStatement(2,$stime);
|
|
|
|
$this->cpStatement(2,$stime);
|
|
|
|
// echo "∟----CP月结&补点统计ok".PHP_EOL;
|
|
|
|
echo "∟----CP月结&补点统计ok".PHP_EOL;
|
|
|
|
|
|
|
|
|
|
|
|
// $this->promoteCompanyStatement(1,$stime);
|
|
|
|
$this->promoteCompanyStatement(1,$stime);
|
|
|
|
// $this->promoteCompanyStatement(2,$stime);
|
|
|
|
$this->promoteCompanyStatement(2,$stime);
|
|
|
|
// echo "∟----推广公司月结&补点统计ok".PHP_EOL;
|
|
|
|
echo "∟----推广公司月结&补点统计ok".PHP_EOL;
|
|
|
|
|
|
|
|
|
|
|
|
$this->promoteUserPool(1,$stime);
|
|
|
|
$this->promoteUserPool(1,$stime);
|
|
|
|
$this->promoteUserPool(2,$stime);
|
|
|
|
$this->promoteUserPool(2,$stime);
|
|
|
@ -774,8 +774,8 @@ class CompanyStatementSetController extends Controller {
|
|
|
|
$this->doPromoteUserPool($user,$users,1,$stime,$recount);
|
|
|
|
$this->doPromoteUserPool($user,$users,1,$stime,$recount);
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
$users['withdraw_type'] = 1;
|
|
|
|
$users['withdraw_type'] = 2;
|
|
|
|
$user['withdraw_type'] = 1;
|
|
|
|
$user['withdraw_type'] = 2;
|
|
|
|
$this->doPromoteUserPool($user,$users,2,$stime,$recount);
|
|
|
|
$this->doPromoteUserPool($user,$users,2,$stime,$recount);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|