uid(); // 未读消息 $unread = (new UserRds)->get($uid, UserRds::FIELD_UNREAD) ?? 0; return app('json')->successful([ 'unread'=> intval($unread), ]); } }