|
|
@@ -3132,7 +3132,7 @@ class UserRepository extends BaseRepository
|
|
3132
|
3132
|
//被推荐人信息
|
|
3133
|
3133
|
$identity=Db::name("user")->where('uid',$uid)->field("identity,spread_uid")->find();
|
|
3134
|
3134
|
if (!$spread) {
|
|
3135
|
|
- return ['success' => false, 'msg' => '推荐人信息不存在'];
|
|
|
3135
|
+ return false;
|
|
3136
|
3136
|
}
|
|
3137
|
3137
|
// $user_identity_log=Db::name("user_identity_log")->where(["link_id"=>$uid])->find();
|
|
3138
|
3138
|
if($spread){
|
|
|
@@ -3168,7 +3168,7 @@ class UserRepository extends BaseRepository
|
|
3168
|
3168
|
public function update_level_uid($uid, $olld_id, $level_account, $mark,$adminId){
|
|
3169
|
3169
|
$level = Db::name("user")->where('account',$level_account)->field("uid,account")->find();
|
|
3170
|
3170
|
if (!$level) {
|
|
3171
|
|
- return ['success' => false, 'msg' => '节点人信息不存在'];
|
|
|
3171
|
+ return false;
|
|
3172
|
3172
|
}
|
|
3173
|
3173
|
if($level){
|
|
3174
|
3174
|
try{
|