通过基本的Party Meteor示例(http://meteor.com/examples/parties),
我想知道为什么你需要使用Collection.allow指定哪些插入,更新等...而不是仅仅使用Meteor.methods然后从客户端发出Meteor.call.
似乎"方法"方式总是更好,因为它更灵活(即自定义函数)
collections meteor
collections ×1
meteor ×1