优化重算

master
chenzhi 4 years ago
parent 372958f45d
commit 88a129f06c

@ -777,12 +777,12 @@ class CompanyStatementPoolController extends ThinkController
$this->ajaxReturn(array('status' => 0,"info"=>"重算失败")); $this->ajaxReturn(array('status' => 0,"info"=>"重算失败"));
} }
} }
M()->commit();
//重新计算 //重新计算
$stime = $info['statement_end_time']-0+1; $stime = $info['statement_end_time']-0+1;
$type = $info['withdraw_type']; $type = $info['withdraw_type'];
A("CompanyStatementSet")->promoteUserPool($type,$stime,true,$info['is_payment']); A("CompanyStatementSet")->promoteUserPool($type,$stime,true,$info['is_payment']);
M()->commit();
$this->ajaxReturn(array( $this->ajaxReturn(array(
'status' => 1, 'status' => 1,
'info' => "重算成功" 'info' => "重算成功"

Loading…
Cancel
Save