增加字段

main
limu 1 year ago
parent 18ae4ee3af
commit fdfae0e339
  1. 5
      app/controller/api/user/User.php

@ -345,6 +345,11 @@ class User extends BaseController
$b = $a->phone;
}
$data['spread_phone'] = $b ?? '';
if(!empty($data['spread_uid2'])){
$c = userModel::getDB()->where('uid',$data['spread_uid'])->find();
$d = $c->phone;
}
$data['spread_phone2'] = $d ?? '';
return app('json')->success($data);
}

Loading…
Cancel
Save