Просмотр исходного кода

后台-用户推荐节点身份修改记录展示/用户上下级展示-end

xupuyuan месяцев назад: 11
Родитель
Сommit
da4f6306a2
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      app/common/repositories/user/UserRepository.php

+ 3 - 3
app/common/repositories/user/UserRepository.php

@@ -3129,11 +3129,11 @@ class UserRepository extends BaseRepository
3129
  //               }else{
3129
  //               }else{
3130
  //                   Db::name("user_identity_log")->insert(['uid'=>$spread['uid'],"identity"=>$identity["identity"],"create_time"=>date("Y-m-d H:i:s"),"link_id"=>$uid]);
3130
  //                   Db::name("user_identity_log")->insert(['uid'=>$spread['uid'],"identity"=>$identity["identity"],"create_time"=>date("Y-m-d H:i:s"),"link_id"=>$uid]);
3131
  //               }
3131
  //               }
3132
-                Db::name("rrx_user_spread_change_records")->insert([
3132
+                Db::name("user_spread_change_records")->insert([
3133
                     'operation_id' => 1,
3133
                     'operation_id' => 1,
3134
-                    'uid' => 1919180,
3134
+                    'uid' => $uid,
3135
                     'old_spread_id' => $olld_id,
3135
                     'old_spread_id' => $olld_id,
3136
-                    'new_spread_id' => 114514,
3136
+                    'new_spread_id' => $spread['uid'],
3137
                     'mark' => $mark
3137
                     'mark' => $mark
3138
                 ]);
3138
                 ]);
3139
                 Db::name("user")->where('account',$spread_account)->inc("spread_count",1)->update();
3139
                 Db::name("user")->where('account',$spread_account)->inc("spread_count",1)->update();