 fis-conf.js: fis.media('test').match('*', { deploy: fis.plugin('http-push', { receiver: 'http://192.168.1.22/rec.php', to: '/home/wwwroot/default/project/2015/sanban18_mobile_v2/' // 注意这个是指的是测试机器的路径,而非本地机器 }) }); rec.php就是用的示例receiver.php的代码
fis-conf.js:
fis.media('test').match('*', {
deploy: fis.plugin('http-push', {
receiver: 'http://192.168.1.22/rec.php',
to: '/home/wwwroot/default/project/2015/sanban18_mobile_v2/' // 注意这个是指的是测试机器的路径,而非本地机器
})
});
rec.php就是用的示例receiver.php的代码