model.exports的方法在当前文件调用写法 var self = module.exports={ url(){ console.log(11) return 'url' } } self.url()。 输出11 积累小的知识,才能成就大的智慧,希望网上少一些复制多一些原创有用的答案