|
|
@ -241,7 +241,7 @@ class WithdrawModel extends Model{
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$promote['account'].'/'.$data['begin_time'].'/'.$data['end_time'].'/'.$balance,'op_name'=>'推广结算提现','url'=>U('Query/settlement'),'menu'=>'推广员-结算管理-推广结算-推广结算提现']);
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$promote['account'].'/'.date('YmdHis',$data['begin_time']).'/'.date('YmdHis',$data['end_time']).'/'.$balance,'op_name'=>'推广结算提现','url'=>U('Query/settlement'),'menu'=>'推广员-结算管理-推广结算-推广结算提现']);
|
|
|
|
|
|
|
|
|
|
|
|
M()->commit();//事物提交
|
|
|
|
M()->commit();//事物提交
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
@ -385,7 +385,7 @@ class WithdrawModel extends Model{
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$promote['account'].'/'.$data['begin_time'].'/'.$data['end_time'].'/'.$balance,'op_name'=>'推广结算提现','url'=>U('Query/settlement'),'menu'=>'推广员-结算管理-推广结算-推广结算提现']);
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$promote['account'].'/'.date('YmdHis',$data['begin_time']).'/'.date('YmdHis',$data['end_time']).'/'.$balance,'op_name'=>'推广结算提现','url'=>U('Query/settlement'),'menu'=>'推广员-结算管理-推广结算-推广结算提现']);
|
|
|
|
|
|
|
|
|
|
|
|
M()->commit();//事物提交
|
|
|
|
M()->commit();//事物提交
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
@ -498,7 +498,7 @@ class WithdrawModel extends Model{
|
|
|
|
if (!$withdrawId) {
|
|
|
|
if (!$withdrawId) {
|
|
|
|
return 0;//补点失败
|
|
|
|
return 0;//补点失败
|
|
|
|
}
|
|
|
|
}
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$promote['account'].'/'.$data['begin_time'].'/'.$data['end_time'].'/'.$balance,'op_name'=>'推广结算提现','url'=>U('Query/settlement'),'menu'=>'推广员-结算管理-推广结算-推广结算提现']);
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$promote['account'].'/'.date('YmdHis',$data['begin_time']).'/'.date('YmdHis',$data['end_time']).'/'.$balance,'op_name'=>'推广结算提现','url'=>U('Query/settlement'),'menu'=>'推广员-结算管理-推广结算-推广结算提现']);
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|