如何使用离子调用服务器节点?

时间:2017-01-04 07:27:25

标签: ionic-framework

var express = require('express'); var app = express(); app.get('/',function(req, res) {  res.send('Hello World!');}); app.listen(3000, function () {  console.log('Example app listening on port 3000!'); });  

如何使用ionic调用服务器节点?

1 个答案:

答案 0 :(得分:0)

这是您在离子组件中进行notification = NotificationBuilder(service) notification.setPriority(Notification.PRIORITY_MAX) notification.setDefaults(Notification.DEFAULT_ALL) 调用的方式。

http

检查this以获得更多理解。