|
|
|
@ -6,6 +6,7 @@ use Think\Controller;
|
|
|
|
|
/**
|
|
|
|
|
* 聚合渠道结算接口对接
|
|
|
|
|
* @author cz
|
|
|
|
|
* TODO: 罚款的游戏没有流水不统计,补点为0 无法重算
|
|
|
|
|
*/
|
|
|
|
|
class CompanyStatementSetController extends Controller {
|
|
|
|
|
public $cpapihost;
|
|
|
|
@ -1046,7 +1047,9 @@ class CompanyStatementSetController extends Controller {
|
|
|
|
|
* 保存信息汇总信息
|
|
|
|
|
*/
|
|
|
|
|
public function savePromotateUserPool($data){
|
|
|
|
|
if(empty($data['create_lack_ids']) && empty($data['del_lack_ids']) && empty($data['info_ids'])){ return;}
|
|
|
|
|
if($data['withdraw_type'] == 2 && empty($data['create_lack_ids']) && empty($data['del_lack_ids']) && empty($data['info_ids'])){ //补点为空不重算
|
|
|
|
|
return ;
|
|
|
|
|
}
|
|
|
|
|
if($data['statement_money'] == 0){
|
|
|
|
|
$data['verify_status'] = 5;
|
|
|
|
|
$data['verify_log'] = json_encode(["create_user"=>"system","create_time"=>date("Y-m-d H:i:s"),"verify_user"=>"system","verify_time"=>date("Y-m-d H:i:s"),"payment_user"=>"system","payment_time"=>date("Y-m-d H:i:s")]);
|
|
|
|
|