问题修复

main
limu 10 months ago
parent 41f63dc596
commit ae18ea16c1
  1. 2
      app/controller/api/user/User.php

@ -346,7 +346,7 @@ class User extends BaseController
} }
$data['spread_phone'] = $b ?? ''; $data['spread_phone'] = $b ?? '';
if(!empty($data['spread_uid2'])){ if(!empty($data['spread_uid2'])){
$c = userModel::getDB()->where('uid',$data['spread_uid'])->find(); $c = userModel::getDB()->where('uid',$data['spread_uid2'])->find();
$d = $c->phone; $d = $c->phone;
} }
$data['spread_phone2'] = $d ?? ''; $data['spread_phone2'] = $d ?? '';

Loading…
Cancel
Save