|
|
@ -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);
|
|
|
@ -923,7 +914,7 @@ class PromoteService {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$data = [
|
|
|
|
$data = [
|
|
|
|
'account' => $params['account'],
|
|
|
|
'account' => $params['account'],
|
|
|
|
'password' => $this->password($params['password']),
|
|
|
|
'password' => $this->password($params['password'], UC_AUTH_KEY),
|
|
|
|
'nickname' => $params['nickname'] ?? $params['account'],
|
|
|
|
'nickname' => $params['nickname'] ?? $params['account'],
|
|
|
|
'second_pwd' => $params['second_pwd'] ?? null,
|
|
|
|
'second_pwd' => $params['second_pwd'] ?? null,
|
|
|
|
'real_name' => $params['real_name'],
|
|
|
|
'real_name' => $params['real_name'],
|
|
|
|