diff --git a/app/friendship/controller/FriendController.php b/app/friendship/controller/FriendController.php index d899a2a..115124b 100644 --- a/app/friendship/controller/FriendController.php +++ b/app/friendship/controller/FriendController.php @@ -23,7 +23,8 @@ class FriendController extends HomeBaseController ->where(['f.uid' => session('user.id')]) ->select()->toArray(); return $this->fetch(':friend_give_log', [ - 'list' => $data + 'list' => $data, + 'balance' => Db::name('user')->where(['id' => session('user.id')])->value('balance') ]); }