|
|
@ -380,17 +380,8 @@ class PromoteService {
|
|
|
|
return ['status' => false, 'msg' => '系统异常,修改用户推广员失败'];
|
|
|
|
return ['status' => false, 'msg' => '系统异常,修改用户推广员失败'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$status = M('user_play', 'tab_')->where($otherMap)->save($updateData);
|
|
|
|
M('user_play', 'tab_')->where($otherMap)->save($updateData);
|
|
|
|
if (!$status) {
|
|
|
|
M('user_play_info', 'tab_')->where($otherMap)->save($updateData);
|
|
|
|
$model->rollback();
|
|
|
|
|
|
|
|
return ['status' => false, 'msg' => '系统异常,修改玩家推广员失败'];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$status = M('user_play_info', 'tab_')->where($otherMap)->save($updateData);
|
|
|
|
|
|
|
|
if (!$status) {
|
|
|
|
|
|
|
|
$model->rollback();
|
|
|
|
|
|
|
|
return ['status' => false, 'msg' => '系统异常,修改角色推广员失败'];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
M('spend', 'tab_')->where($otherMap)->where(['is_check' => ['in','1,2']])->save($updateData); // 只改未对账的数据
|
|
|
|
M('spend', 'tab_')->where($otherMap)->where(['is_check' => ['in','1,2']])->save($updateData); // 只改未对账的数据
|
|
|
|
M('deposit', 'tab_')->where($otherMap)->save($updateData);
|
|
|
|
M('deposit', 'tab_')->where($otherMap)->save($updateData);
|
|
|
|